{
	"name": {
		"text": "Murk Gourmand 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_upchuck.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/inv_u_upchuck_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/u_upchuck_belly.png",
            "size": 0.0,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "tummyglow",
					"use_key": true
				}
			]
		}
    ],
	
	"abilities": {
		"inv_deselectu_upchuck": {	
	        "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_u_upchuck"]
		},
		"inv_u_cannonbolt": {	
	        "ability": "lucraftcore:command",		
			"required_level": 12,
            "show_in_bar": true,	
            "title": {"text":"Arburian Pelarota"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_cannonbolt_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_u_cannonbolt",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_u_to'kustar": {	
	        "ability": "lucraftcore:command",		
			"required_level": 16,
            "show_in_bar": true,	
            "title": {"text":"To'kustar"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_ultimatrix_to'kustar_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_u_to'kustar",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_biosovortian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 18,
            "show_in_bar": true,	
            "title": {"text":"biosovortian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_biosovortian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_biosovortian",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_citrakayah": {	
	        "ability": "lucraftcore:command",		
			"required_level": 20,
            "show_in_bar": true,	
            "title": {"text":"Citrakayah"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_ultimatrix_citrakayah_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_citrakayah",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_appoplexian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 22,
            "show_in_bar": true,	
            "title": {"text":"Appoplexian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_appoplexian_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_appoplexian",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_nexo": {	
	        "ability": "lucraftcore:command",		
			"required_level": 24,
            "show_in_bar": true,	
            "title": {"text":"Cryptosapien"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_nexo_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_cryptosapien",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_u_upgrade": {	
	        "ability": "lucraftcore:command",		
			"required_level": 26,
            "show_in_bar": true,	
            "title": {"text":"Galvanic Mechamorph"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_ultimatrix_galvanic_mechamorph_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_u_upgrade",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_rocks": {	
	        "ability": "lucraftcore:command",		
			"required_level": 28,
            "show_in_bar": true,	
            "title": {"text":"Basalt"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_recalibrated_rocks_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s ben_ten:inv_basalt",
			"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",
			"scoreboard players set @s eat 0"]
		},
		"inv_u_ectonurite": {	
	        "ability": "lucraftcore:command",		
			"required_level": 30,
            "show_in_bar": true,	
            "title": {"text":"Ectonurite"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/inv_ultimatrix_ectonurite_selection.png" },
            "bar_color": "red",				
			"commands": ["superpower @s[tag=!NOECTDNA] ben_ten:inv_u_ectonurite",
			"tellraw @s[tag=NOECTDNA] [\"\",{\"text\":\"ERROR:\",\"bold\":true,\"color\":\"green\"},{\"text\":\" DNA SAMPLE NOT FOUND\",\"bold\":true,\"color\":\"red\"}]",
			"playsound ben_ten:recalibrated_transformation master @a[tag=!NOECTDNA] ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a[tag=!NOECTDNA] 0152",
			"scoreboard players add @s Timer 200",
			"scoreboard players set @s eat 0"]
		},
		"invtimer_upchuck_u":{
			"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": ["/sizechange @s 0.7 pymtech:pym_particles",
			"/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",
			"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_upchuck_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 objectives add eat dummy",
			"effect @s[score_eat=99,score_eat_min=0] unluck 1 1 true",
			"/execute @e[tag=largeblast] ~ ~ ~ particle totem ~ ~ ~ 0.6 0.6 0.6 0 100 force",
			"/execute @e[tag=smallblast] ~ ~ ~ particle totem ~ ~ ~ 0.1 0.1 0.1 0 100 force",
			"effect @s[score_eat_min=80] nausea 1 1 true",
			"scoreboard players set @s[score_eat_min=-100,score_eat=-1] eat 0",
			"effect @s[tag=MasterControl] minecraft:luck 1 0 true",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ scoreboard players set @s eat 0"], 
			"hidden": true
		},
		"space survivability": {
			"ability": "lucraftcore:tough_lungs",
			"show_in_bar": false,
			"title": {"text":"Space Survivability"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray"
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"show_in_bar": false,
			"title": {"text":"Fall Resistance"},
			"amount": 200,
			"operation": 0,
			"uuid": "645d2921-7a9a-4f5c-98b7-4d62933d9d53"	
		}
	}
}