Actor BootsPickup : CustomInventory replaces RadSuit 19171
{
  Inventory.PickupMessage "$D3D_BOOTS"
  Inventory.Amount 1
  Inventory.MaxAmount 1
  +INVENTORY.IGNORESKILL
  +COUNTITEM
  Scale 0.68
  states
  {
  Spawn:
    BOPR A -1
    Stop
  Pickup:
	TNT1 A 0 A_JumpIfInventory("Protective Boots",100,3)
	TNT1 A 0 A_GiveInventory("BootsDuration", 100)
	TNT1 A 1 A_GiveInventory("Protective Boots", 100)
	Stop
	TNT1 A 1
	Fail
  }
}

ACTOR "Protective Boots" : CustomInventory
{
  Inventory.Amount 100
  Inventory.MaxAmount 100
  Inventory.Icon "BOOTS"
  +INVENTORY.INVBAR
  +INVENTORY.IGNORESKILL
  Inventory.InterHubAmount 100
  +INVENTORY.PERSISTENTPOWER
  Scale 0.68
  States
  {
  Spawn:
    BOPR A -1
    Stop
  Use:
    TNT1 A 1
    Fail
  }
}

ACTOR BootsDuration : Ammo
{
  +IGNORESKILL
  Inventory.Amount 1
  Inventory.MaxAmount 100
}

ACTOR BootsActive : PuzzleItem
{  
  Inventory.InterHubAmount 0
  Inventory.MaxAmount 40    
  -INVENTORY.INVBAR  
}

Actor ScubaPickup : CustomInventory 19172
{
  Inventory.PickupMessage "$D3D_SCUBA"
  Inventory.Amount 1
  Inventory.MaxAmount 1
  +INVENTORY.IGNORESKILL
  +COUNTITEM
  Scale 0.67
  states
  {
  Spawn:
    SCGE A -1
    Stop
  Pickup:
	TNT1 A 0 A_JumpIfInventory("Scuba Gear",100,3)
	TNT1 A 0 A_GiveInventory("ScubaDuration", 100)
	TNT1 A 1 A_GiveInventory("Scuba Gear", 100)
	Stop
	TNT1 A 1
	Fail
  }
}

ACTOR "Scuba Gear" : CustomInventory
{
  Inventory.Amount 100
  Inventory.MaxAmount 100
  Inventory.Icon "SCUBGEAR"
  +INVENTORY.INVBAR
  +INVENTORY.IGNORESKILL
  Inventory.InterHubAmount 100
  +INVENTORY.PERSISTENTPOWER
  Scale 0.67
  States
  {
  Spawn:
    SCGE A -1
    Stop
  Use:
    TNT1 A 1
    Fail
  }
}

ACTOR ScubaDuration : Ammo
{
  +IGNORESKILL
  Inventory.Amount 1
  Inventory.MaxAmount 100
}

ACTOR ScubaActive : PuzzleItem
{  
  Inventory.InterHubAmount 0
  Inventory.MaxAmount 40    
  -INVENTORY.INVBAR  
}

ACTOR OxygenBarActive : PuzzleItem
{  
  Inventory.InterHubAmount 0
  Inventory.MaxAmount 1    
  -INVENTORY.INVBAR  
}

ACTOR OxygenBar : Ammo
{
  +IGNORESKILL
  Inventory.Amount 1
  Inventory.MaxAmount 100
}