/// Banjo Kazooie-Tooie

ACTOR BKExtraLife: Health
{
	Inventory.Amount 100
	Inventory.MaxAmount 1000
	Scale 0.6
	Inventory.PickupSound "PerfectDark/Items/PickupBKExtraLife"
	Inventory.PickupMessage "EXTRA LIFE!"
	States
	{
	Spawn:
		TKB2 ABCDEFGHIJKLMNOP 3
		Loop
	}
}

ACTOR BKJiggy : Health
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	+BOSS
	+INVENTORY.FANCYPICKUPSOUND
	Scale 0.2
	Inventory.Amount 500
	Inventory.MaxAmount 5000
	Inventory.PickupMessage "YOU FOUND A JIGGY!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKJiggy"
	States
	{
	Spawn:
    TQA9 O 0 A_SpawnItem("BKJiggySound")
	TQA9 O 0 A_SpawnItem("BKJiggySound")
	TQA9 MNOPQRST 3 
    goto Spawn+2
	}
}

ACTOR BKJiggySound : CustomInventory
{
  +INVENTORY.INVBAR
    +BOSS
    SeeSound "PerfectDark/Items/FindBKJiggy"
  Scale 0.9
  States
  {
  Spawn:
    TNT1 A 0 bright A_PlaySound ("PerfectDark/Items/FindBKJiggy")
	DK64 A -1 A_PlaySound ("PerfectDark/Items/FindBKJiggy")
    stop
  }
}

ACTOR BKMumboToken : CustomInventory
{
	+INVENTORY.INVBAR
	Inventory.MaxAmount 0
	Scale 0.6
	Inventory.Icon "TKA3X0"
	Inventory.MaxAmount 9999
	Inventory.PickupSound "PerfectDark/Items/PickupBKMumboToken"
	Inventory.PickupMessage "You grabbed a Mumbo Token."
	States
	{
	Spawn:
		TQA4 TUVXYZ 3
		TQA5 ABCDEF 3
		Loop
	Use:
		TNT1 A 0 A_GiveInventory("PowerInfiniteAmmo")
		Stop
	}
}

ACTOR BKHoneycomb : Health
{
Scale 0.2
	Inventory.Amount 200
	Inventory.MaxAmount 500
	Inventory.PickupSound "PerfectDark/Items/PickupBKHoneycomb"
	Inventory.PickupMessage "Picked up a Honeycomb."
	States
	{
	Spawn:
		TQA9 EFGHIJKL 3
		Loop
	}
}

ACTOR BKEmptyHoneycomb : Health
{
Scale 0.2
	Inventory.Amount 100
	Inventory.MaxAmount 500
	Inventory.PickupSound "PerfectDark/Items/PickupBKEmptyHoneycomb"
	Inventory.PickupMessage "Picked up a Empty Honeycomb."
	States
	{
	Spawn:
		TQA9 ABCD 3
		Loop
	}
}

ACTOR BKStopNSwopEggBlue : CustomInventory
{
  +INVENTORY.INVBAR
  Scale 0.2
	Inventory.MaxAmount 9999
	Inventory.PickupMessage "Picked up a Blue Stop N Swop Egg!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKStopNSwop"
	States
	{
	Spawn:
		TQ10 ABCDEFGH 3
		Loop
  Use:
		TNT1 A 0 A_GiveInventory("PDPistolAmmo", 100)
		Stop
	}
}	

ACTOR BKStopNSwopEggCyan : CustomInventory
{
  +INVENTORY.INVBAR
  Scale 0.2
	Inventory.MaxAmount 9999
	Inventory.PickupMessage "Picked up a Cyan Stop N Swop Egg!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKStopNSwop"
	States
	{
	Spawn:
		TQ10 IJKLMNOP 3
		Loop
  Use:
		TNT1 A 0 A_GiveInventory("PDPistolAmmo", 100)
		Stop
	}
}	

ACTOR BKStopNSwopEggGreen : CustomInventory
{
  +INVENTORY.INVBAR
  Scale 0.2
	Inventory.MaxAmount 9999
	Inventory.PickupMessage "Picked up a Cyan Stop N Swop Egg!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKStopNSwop"
	States
	{
	Spawn:
		TQ10 QRSTUVXY 3
		Loop
  Use:
		TNT1 A 0 A_GiveInventory("PDPistolAmmo", 100)
		Stop
	}
}	

ACTOR BKStopNSwopEggPurple : CustomInventory
{
  +INVENTORY.INVBAR
  Scale 0.2
	Inventory.MaxAmount 9999
	Inventory.PickupMessage "Picked up a Purple Stop N Swop Egg!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKStopNSwop"
	States
	{
	Spawn:
		TQ10 Z 3
		TQ11 ABCDEFG 3
		Loop
  Use:
		TNT1 A 0 A_GiveInventory("PDPistolAmmo", 100)
		Stop
	}
}	

ACTOR BKStopNSwopEggRed : CustomInventory
{
  +INVENTORY.INVBAR
  Scale 0.2
	Inventory.MaxAmount 9999
	Inventory.PickupMessage "Picked up a Purple Stop N Swop Egg!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKStopNSwop"
	States
	{
	Spawn:
		TQ11 HIJKLMNO 3
		Loop
  Use:
		TNT1 A 0 A_GiveInventory("PDPistolAmmo", 100)
		Stop
	}
}	

ACTOR BKStopNSwopEggYellow : CustomInventory
{
  +INVENTORY.INVBAR
  Scale 0.2
	Inventory.MaxAmount 9999
	Inventory.PickupMessage "Picked up a Purple Stop N Swop Egg!"
  	Inventory.PickupSound "PerfectDark/Items/PickupBKStopNSwop"
	States
	{
	Spawn:
		TQ11 PQRSTUVX 3
		Loop
  Use:
		TNT1 A 0 A_GiveInventory("PDPistolAmmo", 100)
		Stop
	}
}	