ACTOR Batteries : Ammo
{
 Inventory.Amount 240
 Inventory.MaxAmount 240
 Ammo.BackpackAmount 0
 Ammo.BackpackMaxAmount 240
 Inventory.PickupSound "items/ammopickup"
 Inventory.PickupMessage "$GOT_BATTERY"
 scale 0.5
 +ignoreskill
 States
 {
 Spawn:
  IBTY A 10
  IBTY A 1 bright
  loop
 }
}
ACTOR BatteryReload : Ammo
{
 Inventory.Amount 1
 Inventory.MaxAmount 20
 Ammo.BackpackAmount 0
 Ammo.BackpackMaxAmount 20
 Inventory.PickupSound "items/ammopickup"
 Inventory.PickupMessage "$GOT_BATTERY"
 scale 0.5
 +ignoreskill
 States
 {
 Spawn:
  IBTY A 10
  IBTY A 1 bright
  loop
 }
}
ACTOR BatteryReloadLarge : BatteryReload
{
 Inventory.Amount 5
 Inventory.PickupMessage "$GOT_BATTERY"
}
ACTOR lightlit : Ammo
{
 Inventory.MaxAmount 1
 Ammo.BackPackMaxAmount 1
 +IGNORESKILL
}
ACTOR lightcount : Ammo //maximum affects how long the lantern's battery lasts
{
 Inventory.MaxAmount 20
 Ammo.BackPackMaxAmount 20
 +IGNORESKILL
}
ACTOR LanternGlow : GenericDebris
{
	Speed 1
	+NOINTERACTION
	States
	{
	Spawn:
		TNT1 A 3
		Stop
	}
}