/// Perfect Dark (N64)

ACTOR PDLightAmp : PowerupGiver 
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	Inventory.MaxAmount 0
	Scale 0.2
	Powerup.Type LightAmp
	Inventory.PickupSound "PerfectDark/Items/PowerupPickup"
	Inventory.PickupMessage "Picked up a Light Vision."
	States
	{
	Spawn:
		TKA2 Q -1
		Loop
	}
}

ACTOR PDRTracker : MapRevealer replaces Allmap
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	Scale 0.1
	Inventory.PickupSound "PerfectDark/Items/PowerupPickup"
	Inventory.PickupMessage "Picked up a R-Tracker."
	States
	{
	Spawn:
		TKA2 R -1
		Loop
	}
}	

ACTOR PDClockingDevice: PowerupGiver 
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	+INVENTORY.BIGPOWERUP
	Inventory.MaxAmount 0
	Powerup.Type Invisibility
	RenderStyle Translucent
	Scale 0.2
	Inventory.PickupSound "Turok2/Items/Health"
	Inventory.PickupMessage "Picked up a Clocking Device."
	States
	{
	Spawn:
		TKA2 S -1
		Loop
	}
}	

ACTOR PDCombatPills : PowerupGiver replaces Berserk 
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	Scale 0.050
	Inventory.PickupSound "PerfectDark/Items/PowerupPickup"
	Inventory.PickupMessage "Picked up the Combat Pills."
	States
	{
	Spawn:
		TKA2 T -1
		Loop
	Pickup:
		TNT1 A 0 A_GiveInventory("PowerStrength")
		TNT1 A 0 HealThing(100, 0)
		Stop
	}
}	

ACTOR PDSuperShield : BasicArmorPickup Replaces BlueArmor 
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	Scale 0.050
	Armor.Savepercent 200
	Armor.Saveamount 200
	Inventory.Icon "TKA3P0"
	Inventory.PickupSound "PerfectDark/Items/ShieldPickup"
	Inventory.PickupMessage "Picked up the Super Shield."
	States
	{
	Spawn:
		TKA2 U -1
		Loop
	}
}	

ACTOR PDGlasses : PowerupGiver 
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	Scale 0.1
	Inventory.PickupSound "PerfectDark/Items/PowerupPickup"
	Powerup.Type LightAmp
	Inventory.PickupMessage "Picked up the Blue Light Vision."
	States
	{
	Spawn:
		TKA2 V -1
		Loop
	}
}	

ACTOR PDShield : BasicArmorPickup replaces GreenArmor 
{
	+COUNTITEM
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	Scale 0.050
		Armor.Savepercent 100
	Armor.Saveamount 100
	Inventory.Icon "TKA3R0"
	Inventory.PickupSound "PerfectDark/Items/ShieldPickup"
	Inventory.PickupMessage "Picked up the Shield."
	States
	{
	Spawn:
		TKA2 X -1
		Loop
	}
}	

ACTOR PDSmallHealth : Health replaces Stimpack
{
	Inventory.Amount 25
	Inventory.MaxAmount 100
	Scale 0.4
  	Inventory.PickupSound "PerfectDark/Items/HealthPickup"
	Inventory.PickupMessage "Picked up a Small Health Box."
	States
	{
	Spawn:
		TKA1 I -1
		Stop
	}
}

ACTOR PDLargeHealth : Health replaces Medikit
{
	Inventory.Amount 50
	Inventory.MaxAmount 100
	Scale 0.4
  	Inventory.PickupSound "PerfectDark/Items/HealthPickup"
	Inventory.PickupMessage "Picked up a Large Health Box."
	States
	{
	Spawn:
		TKA1 H -1
		Stop
	}
}


/// Perfect Dark (GBC)

/// Custom

ACTOR PDHealthBonus : Health replaces HealthBonus
{
	Inventory.Amount 1
	Inventory.MaxAmount 200
	Inventory.PickupSound "PerfectDark/Items/BonusPickup"
	Inventory.PickupMessage "Picked up a Health Bonus."
	States
	{
	Spawn:
		TKA2 BCDCB 2
		Loop
	}
}

ACTOR PDArmorBonus : BasicArmorBonus replaces ArmorBonus
{
	Armor.Savepercent 33.335
	Armor.Saveamount 1
	Armor.Maxsaveamount 200
	Inventory.PickupSound "PerfectDark/Items/BonusPickup"
	Inventory.PickupMessage "Picked up a Armor Bonus."
		+INVENTORY.ALWAYSPICKUP

	States
	{
	Spawn:
		TKA2 EFGFE 2
		Loop
	}
}

/// Donkey Kong 64 (The only item is listed in this instead of the DK64 Item Spawner File is due to PD needing a Expansion Pak for the game to be playable in JP and to play the Missions in US/PAL)

ACTOR DK64ExpansionPak : Health 
{
	Inventory.Amount 1996
	+INVENTORY.ALWAYSPICKUP
	Inventory.MaxAmount 1996
	  Scale 0.6
	Inventory.PickupSound "PerfectDark/Items/PickupPak"
	Inventory.PickupMessage "Expansion Pak!"
	States
	{
	Spawn:
		TQA4 C -1
		Stop
	}
}