{
	"name": {
		"text": "Petrosapien Selector"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 8519680,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/inv_u_diamondhead.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/inv_u_diamondhead_glow.png",
            "size": 0.0,
            "glow": true
		},
		{
		"type": "skin_overlay",
        "texture": "ben_ten:textures/models/transformations/dha.png",
            "size": 0.1
		},
		{
		"type": "skin_overlay",
        "texture": "ben_ten:textures/models/transformations/dha2.png",
            "size": 0.3
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/dhs.png",
            "size": 1.0,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_change",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadsword.png",
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.1
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.2
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.3
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.4
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.5
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.6
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.7
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.8
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 0.9
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 1.0
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 1.1
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 1.2
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 1.3
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 1.4
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/u_diamondheadspike.png",
            "size": 1.5
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 1.6
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 1.7
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 1.8
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 1.9
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.0
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.1
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.2
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.3
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.4
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.5
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds2.png",
            "size": 2.6
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds3.png",
            "size": 2.7
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds3.png",
            "size": 2.8
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/ds3.png",
            "size": 2.9
		}
	],
	
	"abilities": {
		"deselectdiamondhead": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Deselect"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png" },
            "bar_color": "red",				
			"commands": ["/superpower @s ben_ten:inv_af_diamondhead"]
		},
		"inv_methanosian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Methanosian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_methanosian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_methanosian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_sonorosian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Sonorosian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_sonorosian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_sonorosian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_vaxasaurian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Vaxasaurian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_vaxasaurian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_vaxasaurian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_aerophibian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Aerophibian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_aerophibian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_aerophibian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_cerebrocrustacean": {	
	        "ability": "lucraftcore:command",		
			"required_level": 2,
            "show_in_bar": true,	
            "title": {"text":"Cerebrocrustacean"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_cerebrocrustacean_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_cerebrocrustacean",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_necrofriggian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 4,
            "show_in_bar": true,	
            "title": {"text":"Necrofriggian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_necrofriggian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_necrofriggian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_polymorph": {	
	        "ability": "lucraftcore:command",		
			"required_level": 6,
            "show_in_bar": true,	
            "title": {"text":"Polymorph"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_polymorph_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_polymorph",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_nanochip": {	
	        "ability": "lucraftcore:command",		
			"required_level": 8,
            "show_in_bar": true,	
            "title": {"text":"Nanochip"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_ultimatrix_nanochip_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_nanochip",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_celestialsapien": {	
	        "ability": "lucraftcore:command",		
			"required_level": 10,
            "show_in_bar": true,	
            "title": {"text":"Celestialsapien"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_celestialsapean_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_celestialsapien",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152",
			"scoreboard players add @s Timer 200"]
		},
		"inv_timer_diamond":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"title": {"text":"Timer"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"},
			"commands": ["/scoreboard objectives add Omni:Sneak stat.sneakTime",
			"/scoreboard players tag @s[score_Omni:Sneak_min=1] add Sneaking",
			"/scoreboard players tag @s[score_Omni:Sneak=0] remove Sneaking",
			"/scoreboard players set @s[score_Omni:Sneak_min=1] Omni:Sneak 0",
			"sizechange @s 1.2 lucraftcore:default",
			"/scoreboard objectives add dhw dummy",
			"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_chroma_chest",
			"scoreboard players add @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] NoArmor 1",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.feet ben_ten:u_invis_suit_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.feet ben_ten:u_invis_suit_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.head air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.chest air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.legs air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.feet air",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /superpower @s ben_10_addon_af:recal_omnitrix_timedout", 
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152", 
			"execute @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /playsound ben_ten:recalibrated_detransform master @a ~ ~ ~",
			"superpower @s[score_DoD=1,score_DoD_min=1] ben_10_addon_af:recal_omnitrix",
			"scoreboard players set @s[score_DoD_min=1] DoD 0",
			"scoreboard players add @e[type=armor_stand,tag=dhw] dhw 1",
			"execute @e[type=armor_stand,tag=dhw,score_dhw=200,score_dhw_min=200] ~ ~ ~ fill ~3 ~3 ~3 ~-3 ~-1 ~-3 air 0 replace prismarine",
			"tp @e[type=armor_stand,tag=dhw,score_dhw=205,score_dhw_min=205] ~ ~-1 ~",
			"execute @e[type=armor_stand,tag=dhw,score_dhw=210,score_dhw_min=210] ~ ~ ~ fill ~3 ~3 ~3 ~-3 ~-1 ~-3 air 0 replace prismarine",
			"tp @e[type=armor_stand,tag=dhw,score_dhw=215,score_dhw_min=215] ~ ~-1 ~",
			"execute @e[type=armor_stand,tag=dhw,score_dhw=220,score_dhw_min=220] ~ ~ ~ fill ~3 ~3 ~3 ~-3 ~-1 ~-3 air 0 replace prismarine",
			"tp @e[type=armor_stand,tag=dhw,score_dhw=225,score_dhw_min=225] ~ ~-1 ~",
			"execute @e[type=armor_stand,tag=dhw,score_dhw=230,score_dhw_min=230] ~ ~ ~ fill ~3 ~3 ~3 ~-3 ~-2 ~-3 air 0 replace prismarine",
			"/kill @e[type=armor_stand,score_dhw_min=230]",
			"execute @e[type=lucraftcore:energy_blast,tag=diamondshard] ~ ~ ~ summon armor_stand ~ ~-0.9 ~ {CustomName:dhs,Invisible:1,Small:true,NoGravity:true,ArmorItems:[{id:air,Count:1},{id:air,Count:1},{id:air,Count:1},{id:diamond_block,Count:1}]}",
			"kill @e[type=armor_stand,name=dhs]", "/scoreboard players add @e[name=dhp,type=armor_stand,score_dhw=150,score_dhw_min=1] dhw 1",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=50,score_dhw_min=1] ~ ~ ~ fill ~ ~ ~1 ~ ~ ~-1 prismarine 1 keep",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=50,score_dhw_min=1] ~ ~ ~ fill ~1 ~ ~ ~-1 ~ ~ prismarine 1 keep",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=50,score_dhw_min=1] ~ ~ ~ fill ~ ~ ~1 ~ ~ ~-1 air 0 replace tallgrass",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=50,score_dhw_min=1] ~ ~ ~ fill ~1 ~ ~ ~-1 ~ ~ air 0 replace double_plant",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=50,score_dhw_min=1] ~ ~ ~ fill ~ ~ ~1 ~ ~ ~-1 air 0 replace double_plant",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=50,score_dhw_min=1] ~ ~ ~ fill ~1 ~ ~ ~-1 ~ ~ air 0 replace tallgrass",
			"tp @e[type=armor_stand,name=dhp,score_dhw=5,score_dhw_min=5] ~ ~1 ~",
			"execute @e[name=dhp,type=armor_stand,score_dhw=5,score_dhw_min=5] ~ ~ ~ tp @e[r=2,name=!dhp] ~ ~1.5 ~",
			"tp @e[type=armor_stand,name=dhp,score_dhw=10,score_dhw_min=10] ~ ~1 ~",
			"execute @e[name=dhp,type=armor_stand,score_dhw=10,score_dhw_min=10] ~ ~ ~ tp @e[r=2,name=!dhp] ~ ~1.5 ~",
			"tp @e[type=armor_stand,name=dhp,score_dhw=15,score_dhw_min=15] ~ ~1 ~",
			"execute @e[name=dhp,type=armor_stand,score_dhw=15,score_dhw_min=15] ~ ~ ~ tp @e[r=2,name=!dhp] ~ ~1.5 ~",
			"tp @e[type=armor_stand,name=dhp,score_dhw=20,score_dhw_min=20] ~ ~1 ~",
			"execute @e[name=dhp,type=armor_stand,score_dhw=20,score_dhw_min=20] ~ ~ ~ tp @e[r=2,name=!dhp] ~ ~2 ~",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=150,score_dhw_min=100] ~ ~ ~ fill ~ ~ ~1 ~ ~ ~-1 air 0 replace prismarine",
			"execute @e[type=armor_stand,name=dhp,type=armor_stand,score_dhw=150,score_dhw_min=100] ~ ~ ~ fill ~1 ~ ~ ~-1 ~ ~ air 0 replace prismarine",
			"tp @e[type=armor_stand,name=dhp,score_dhw=110,score_dhw_min=110] ~ ~-1 ~",
			"tp @e[type=armor_stand,name=dhp,score_dhw=120,score_dhw_min=120] ~ ~-1 ~", 
			"tp @e[type=armor_stand,name=dhp,score_dhw=130,score_dhw_min=130] ~ ~-1 ~",
			"tp @e[type=armor_stand,name=dhp,score_dhw=140,score_dhw_min=140] ~ ~-1 ~",
			"tp @e[type=armor_stand,name=dhp,score_dhw=150,score_dhw_min=150] ~ ~-1 ~",
			"kill @e[name=dhp,score_dhw_min=151]", "scoreboard players add @e[type=lucraftcore:energy_blast,tag=diamondshard] dhw 1",
			"kill @e[type=lucraftcore:energy_blast,tag=diamondshard,score_dhw_min=100]"], 
			"hidden": true
		},
		"rn": {
			"ability": "lucraftcore:healing",
			"frequency": 10
		},
		"tl": {
			"ability": "lucraftcore:tough_lungs",
			"title": {"text":"Space Survivability"}
		},
		"st": {	
			"ability": "lucraftcore:strength",	
            "title": {"text":"Enhanced Strength"},							
			"amount": 20
		},
		"he": {
			"ability": "lucraftcore:health",			
			"amount": 36
		},
		"r": {
			"ability": "lucraftcore:resistance",				
			"amount": 40
		},
		"fr": {
			"ability": "lucraftcore:fall_resistance",
			"amount": 200
		},
		"fir": {
			"ability": "lucraftcore:fire_resistance"
		}
	}
}