actor AmmoRB : ItemRunBallSingleFrame
{
	Inventory.PickupSound "misc/ammo_pkup"
}

actor BackpackRB : ItemRunBallSingleFrame replaces Backpack
{
	Inventory.PickupMessage "$GOTBACKPACK"
	Inventory.PickupSound "misc/i_pkup"
	states
	{
		Spawn:
			BPAK A 0
			goto Initialize
		Transform:
			BPRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("Backpack")
			stop
	}
}

actor CellRB : AmmoRB replaces Cell
{
	Inventory.PickupMessage "$GOTCELL"
	states
	{
		Spawn:
			CELL A 0
			goto Initialize
		Transform:
			CLRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("Cell", 20)
			stop
	}
}

actor CellPackRB : AmmoRB replaces CellPack
{
	Inventory.PickupMessage "$GOTCELLBOX"
	states
	{
		Spawn:
			CELP A 0
			goto Initialize
		Transform:
			CPRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("CellPack", 100)
			stop
	}
}

actor ClipRB : AmmoRB replaces Clip
{
	Inventory.PickupMessage "$GOTCLIP"
	states
	{
		Spawn:
			CLIP A 0
			goto Initialize
		Transform:
			LIRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("Clip", 10)
			stop
	}
}

actor ClipBoxRB : AmmoRB replaces ClipBox
{
	Inventory.PickupMessage "$GOTCLIPBOX"
	states
	{
		Spawn:
			AMMO A 0
			goto Initialize
		Transform:
			AMRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("ClipBox", 50)
			stop
	}
}

actor RocketAmmoRB : AmmoRB replaces RocketAmmo
{
	Inventory.PickupMessage "$GOTROCKET"
	states
	{
		Spawn:
			ROCK A 0
			goto Initialize
		Transform:
			RORB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("RocketAmmo", 1)
			stop
	}
}

actor RocketBoxRB : AmmoRB replaces RocketBox
{
	Inventory.PickupMessage "$GOTROCKBOX"
	states
	{
		Spawn:
			BROK A 0
			goto Initialize
		Transform:
			BRRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("RocketBox", 5)
			stop
	}
}

actor ShellRB : AmmoRB replaces Shell
{
	Inventory.PickupMessage "$GOTSHELLS"
	states
	{
		Spawn:
			SHEL A 0
			goto Initialize
		Transform:
			SHRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("Shell", 4)
			stop
	}
}

actor ShellBoxRB : AmmoRB replaces ShellBox
{
	Inventory.PickupMessage "$GOTSHELLBOX"
	states
	{
		Spawn:
			SBOX A 0
			goto Initialize
		Transform:
			SBRB A 0
			goto super::Transform
		Pickup:
			TNT1 A 0 A_GiveInventory("ShellBox", 20)
			stop
	}
}