ACTOR SodaCan1 : CustomInventory 32412
{
Scale 0.7
Inventory.Amount 1
Inventory.MaxAmount 10
Inventory.InterHubAmount 10
Inventory.PickupSound "pickups/iarmorbonus"
Inventory.UseSound "Soda/Drink"
Inventory.PickupMessage "Soda Can"
Inventory.Icon "PEPXA0"
Tag "Pepsi"
+INVENTORY.INVBAR
+INVENTORY.BIGPOWERUP
+FLOORCLIP
States
{
Spawn:
      PEPY A 6
      Loop
Use:
	  //TNT1 A 0 A_JumpIfInventory("BasicArmor",200,"Full")
      TNT1 A 0 A_GiveInventory("SodaHealthGiver",1)
      Stop
Full:
	  TNT1 A 0 
	  Fail
      } 
}

ACTOR SodaCan2 : CustomInventory 32413
{
Scale 0.7
Inventory.Amount 1
Inventory.MaxAmount 10
Inventory.InterHubAmount 10
Inventory.PickupSound "pickups/iarmorbonus"
Inventory.UseSound "Soda/Drink"
Inventory.PickupMessage "Soda Can"
Inventory.Icon "COLXA0"
Tag "Coca Cola"
+INVENTORY.INVBAR
+INVENTORY.BIGPOWERUP
+FLOORCLIP
States
{
Spawn:
      COLY A 6
      Loop
Use:
	  //TNT1 A 0 A_JumpIfInventory("BasicArmor",200,"Full")
      TNT1 A 0 A_GiveInventory("SodaHealthGiver",1)
      Stop
Full:
	  TNT1 A 0 
	  Fail
      } 
}

ACTOR SodaHealthGiver : health
{
+NOTIMEFREEZE
Inventory.Amount 100
Inventory.MaxAmount 2000
}

ACTOR SodaCan : RandomSpawner
{
DropItem "SodaCan1", 256, 1
DropItem "SodaCan2", 256, 1
}