//==============================================================================
//		SPECIAL ITEM DROPPER
//==============================================================================

ACTOR RLSpecialItemDropper : CustomInventory
{
    -COUNTITEM
    +INVENTORY.UNTOSSABLE
    +INVENTORY.UNDROPPABLE
	+INVENTORY.KEEPDEPLETED
    Tag "Special Item Dropper"
    Inventory.InterHubAmount 1
    Inventory.MaxAmount 1
    Inventory.Icon "TNT1A0"
    Inventory.Pickupmessage "stop doing things."
	Inventory.PickupSound ""
	Inventory.UseSound ""
	States
	{
	Spawn:
		TNT1 A -1
		Loop
	Use:
		TNT1 A 0
		TNT1 A 0 A_JumpIfInventory("RLCombatBackpackToken",1,"DropBackpack")
		TNT1 A 0 A_JumpIfInventory("RLSpecialistBackpackToken",1,"DropBackpack")
		TNT1 A 0 A_JumpIfInventory("RLScroungerBackpackToken",1,"DropBackpack")
		TNT1 A 0 A_JumpIfInventory("RLDedicatedBackpackToken",1,"DropBackpack")
		TNT1 A 0 A_JumpIfInventory("RLNuclearBackpackToken",1,"DropBackpack")
		TNT1 A 0 A_Print ("Nothing special to drop.", 1)
		Fail
	DropBackpack:
		TNT1 A 0 ACS_NamedExecuteAlways("RLBackpackToss", 0)
		TNT1 A 0 A_Print ("Dropped special backpack.", 1)
		Fail
	}
}

//==============================================================================
//		HUD Style Changer
//==============================================================================

ACTOR RLStatusBarHUDStyleChanger : CustomInventory
{
    -COUNTITEM
    +INVENTORY.UNTOSSABLE
    +INVENTORY.UNDROPPABLE
	+INVENTORY.KEEPDEPLETED
    Tag "Statusbar HUD Style Changer"
    Inventory.InterHubAmount 1
    Inventory.MaxAmount 1
    Inventory.Icon "TNT1A0"
    Inventory.Pickupmessage "pls no"
	Inventory.PickupSound ""
	Inventory.UseSound ""
	States
	{
	Spawn:
		TNT1 A -1
		Loop
	Use:
		TNT1 A 0
		TNT1 A 0 A_JumpIfInventory("RLStatusBarHUDType",1,"StatusBarAlternateHud")
		TNT1 A 0 A_JumpIfInventory("RLStatusBarAltHUDType",1,"StatusBarStandardHud")
	StatusBarStandardHud:
		TNT1 A 0 A_TakeInventory("RLStatusBarAltHUDType",0)
		TNT1 A 0 A_GiveInventory("RLStatusBarHUDType",1)
		TNT1 A 0 ACS_NamedExecuteAlways("DRLA_HUD_StatusBarStyleChanger", 0, 0)
		Fail
	StatusBarAlternateHud:
		TNT1 A 0 A_TakeInventory("RLStatusBarHUDType",0)
		TNT1 A 0 A_GiveInventory("RLStatusBarAltHUDType",1)
		TNT1 A 0 ACS_NamedExecuteAlways("DRLA_HUD_StatusBarStyleChanger", 0, 1)
		Fail
	}
}

//==============================================================================
//		Fullscreen HUD Style Changer
//==============================================================================

ACTOR RLFullscreenHUDStyleChanger : CustomInventory
{
    -COUNTITEM
    +INVENTORY.UNTOSSABLE
    +INVENTORY.UNDROPPABLE
	+INVENTORY.KEEPDEPLETED
    Tag "Fullscreen HUD Style Changer"
    Inventory.InterHubAmount 1
    Inventory.MaxAmount 1
    Inventory.Icon "TNT1A0"
    Inventory.Pickupmessage "wai u scooby dooby doo"
	Inventory.PickupSound ""
	Inventory.UseSound ""
	States
	{
	Spawn:
		TNT1 A -1
		Loop
	Use:
		TNT1 A 0
		TNT1 A 0 A_JumpIfInventory("RLFullscreenOriginalHUDType",1,"FullscreenShinyHud")
		TNT1 A 0 A_JumpIfInventory("RLFullscreenShinyHUDType",1,"FullscreenDookHud")
		TNT1 A 0 A_JumpIfInventory("RLFullscreenDookHUDType",1,"FullscreenOriginalHud")
	FullscreenOriginalHud:
		TNT1 A 0 A_TakeInventory("RLFullscreenShinyHUDType",0)
		TNT1 A 0 A_TakeInventory("RLFullscreenDookHUDType",0)
		TNT1 A 0 A_GiveInventory("RLFullscreenOriginalHUDType",1)
		TNT1 A 0 ACS_NamedExecuteAlways("DRLA_HUD_FullscreenStyleChanger", 0, 0)
		Fail
	FullscreenShinyHud:
		TNT1 A 0 A_TakeInventory("RLFullscreenOriginalHUDType",0)
		TNT1 A 0 A_TakeInventory("RLFullscreenDookHUDType",0)
		TNT1 A 0 A_GiveInventory("RLFullscreenShinyHUDType",1)
		TNT1 A 0 ACS_NamedExecuteAlways("DRLA_HUD_FullscreenStyleChanger", 0, 1)
		Fail
	FullscreenDookHud:
		TNT1 A 0 A_TakeInventory("RLFullscreenOriginalHUDType",0)
		TNT1 A 0 A_TakeInventory("RLFullscreenShinyHUDType",0)
		TNT1 A 0 A_GiveInventory("RLFullscreenDookHUDType",1)
		TNT1 A 0 ACS_NamedExecuteAlways("DRLA_HUD_FullscreenStyleChanger", 0, 2)
		Fail
	}
}

//==============================================================================
//		Assembly Info Wiper
//==============================================================================

ACTOR RLWipeAssemblies : CustomInventory
{
    -COUNTITEM
    +INVENTORY.UNTOSSABLE
    +INVENTORY.UNDROPPABLE
	+INVENTORY.KEEPDEPLETED
    Tag "Assembly Info Wiper"
    Inventory.InterHubAmount 1
    Inventory.MaxAmount 1
    Inventory.Icon "TNT1A0"
    Inventory.Pickupmessage "why"
	Inventory.PickupSound ""
	Inventory.UseSound ""
	States
	{
	Spawn:
		TNT1 A -1
		Loop
	Use:
		TNT1 A 0
		TNT1 A 0 A_GiveInventory("RLAllAssembliesStolen",1)
		TNT1 A 0 ACS_NamedExecuteAlways("DRLA_ClearAssemblyInfo", 0)
		Fail
	}
}

// EOF