//Powerups
Actor FrustrationguardPower : PowerProtection
{
	powerup.duration -1
	DamageFactor "Normal", 0.2 //near FUCKING IMMUNITY
}
Actor Frustrationguard : PowerupGiver //Killing a monster with a melee grants you a speed boost 
{
	+INVENTORY.AUTOACTIVATE
    +INVENTORY.ALWAYSPICKUP
	Inventory.RestrictedTo "Stickguyclass"
	powerup.type "FrustrationguardPower"
}
Actor Stickguyfastfingers : PowerDoubleFiringSpeed 
{
	powerup.duration -3
}

Actor StickguyKBConfirm : Token{} //Given by stickguy if he did indeed hit somebody
Actor StickguySpeedboost : PowerupGiver //Killing a monster with a melee grants you a speed boost 
{
	+INVENTORY.AUTOACTIVATE
    +INVENTORY.ALWAYSPICKUP
	Inventory.RestrictedTo "Stickguyclass"
	powerup.type "Stickguyfastfingers"
}


Actor StickguyMeleeStack : Ammo //Killing a monster with a gun will grant you a buff to your melee.
{
	Inventory.RestrictedTo "Stickguyclass"
	+INVENTORY.UNDROPPABLE
	+INVENTORY.IGNORESKILL
	-COUNTITEM
	+INVENTORY.UNTOSSABLE
	+INVENTORY.PERSISTENTPOWER
	+INVENTORY.HUBPOWER
	Inventory.Amount 1
	Inventory.MaxAmount 100
	Ammo.BackpackAmount 0
	Ammo.BackpackMaxAmount 100
}

//ACS STUFF

Actor StickguyWeaps : CustomInventory  //Did Stickguy kill the enemy with melee?
{
	+INVENTORY.IGNORESKILL
	-COUNTITEM
	+INVENTORY.UNTOSSABLE
	+INVENTORY.PERSISTENTPOWER
	States
	{
	Pickup:
		TNT1 A 0 
		TNT1 A 0 ACS_NamedExecuteWithResult("StickguyGunrewards")
	Spawn: 
		TNT1 A 0
		TNT1 A 0
	End:
		TNT1 A 0
		TNT1 A 0
		Fail
	}
}
Actor SGKWAGToken : Custominventory //StickGuy Kills With A Gun 
{
	+INVENTORY.IGNORESKILL
	-COUNTITEM
	+INVENTORY.UNTOSSABLE
	+INVENTORY.PERSISTENTPOWER
	States
	{
	Pickup:
		TNT1 A 0 
		TNT1 A 0 A_RadiusGive("SGGetsangry",16384,RGF_PLAYERS|RGF_NOSIGHT,1)
	Spawn: 
		TNT1 A 0
		TNT1 A 0
	End:
		TNT1 A 0
		TNT1 A 0
		Fail
}
}

Actor SGGetsangry : CustomInventory  //Did Stickguy kill the enemy with melee?
{
	Inventory.RestrictedTo "Stickguyclass"
	+INVENTORY.IGNORESKILL
	-COUNTITEM
	+INVENTORY.UNTOSSABLE
	+INVENTORY.PERSISTENTPOWER
	States
	{
	Pickup:
		TNT1 A 0 
		TNT1 A 0 ACS_NamedExecuteWithResult("StickguyMeleestackhanding")
	Spawn: 
		TNT1 A 0
		TNT1 A 0
	End:
		TNT1 A 0
		TNT1 A 0
		Fail
	}
}
