


actor itemtoken : inventory
{inventory.maxamount 1}

actor blinktimer : inventory
{inventory.maxamount 15}


//==Flashing box alert for the mini HUD==
Actor MiniUnleasherFlash : powerup
{
	powerup.duration 10
}


//==Flashing box alert for the left sub box for the mini HUD==
Actor MiniLeftSubFlash : powerup
{
	powerup.duration 10
}

//==Flashing box alert for the right sub box for the mini HUD==
Actor MiniRightSubFlash : powerup
{
	powerup.duration 10
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

//Blaz ammo
//----------------------------------------------------------

//==Red mana (Blazter Energy)==
actor BlazterEnergy : ammo
{
	inventory.amount 10
	inventory.maxamount 100
	ammo.backpackamount 100
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Blue Mana (FP)==

actor arcaneforce : ammo
{
	inventory.amount 10
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	 }
}

//----------------------------------------------------------

//==White Mana (Spirit Force)==

actor spiritforce : ammo
{
	inventory.amount 10
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//==Blazter stun ammo for HUD==
Actor BlazterAmmoHUDCounter : inventory
{
	Inventory.Restrictedto "LordBlaz"
	inventory.maxamount 10
}


//==Subweapon ammo for Blaz==
actor SubweaponPower : ammo
{
	Inventory.Restrictedto "LordBlaz"
	inventory.amount 0
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//==Reloading subweapons from empty==
actor SubweaponReload : ammo
{
	Inventory.Restrictedto "LordBlaz"
	inventory.amount 0
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//==Subweapon ammo for HUD==
Actor SubweaponShotCount : inventory
{
	Inventory.Restrictedto "LordBlaz"
	inventory.maxamount 100
}

//==Flashing Subweapon alert for HUD==
Actor SubweaponHUDFlash : powerup
{
	Inventory.Restrictedto "LordBlaz"
	powerup.duration 10
}


//==Flashing Blazter alert for HUD==
Actor BlazterHUDFlash : powerup
{
	Inventory.Restrictedto "LordBlaz"
	powerup.duration 10
}

//==Flashing Power Sword energy alert for HUD==
Actor PowerSwordHUDFlash : powerup
{
	Inventory.Restrictedto "LordBlaz"
	powerup.duration 10
}




//==Flashing Fatal Draw alert for HUD==
Actor FatalDrawHUDFlash : powerup
{
	Inventory.Restrictedto "LordBlaz"
	powerup.duration 10
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


//Doomslayer ammo

//STUN CASTER STUFF
actor StunCasterCharge : ammo
{
	inventory.amount 80
	inventory.maxamount 80
	ammo.backpackamount 80
	ammo.BackpackMaxAmount 80
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "DoomSlayer"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------
//BOMB CASTER STUFF

//==Bomb charge==

actor BombCasterCharge : ammo
{
	inventory.amount 40
	inventory.maxamount 40
	ammo.backpackamount 40
	ammo.BackpackMaxAmount 40
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "DoomSlayer"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}


//==Bomb ammo==
actor BombCasterAmmo : ammo
{
	inventory.amount 1
	inventory.maxamount 9
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 9
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "DoomSlayer"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==White mana (BFG charge)==

actor SlayerBFGCharge : ammo
{
	inventory.amount 200
	inventory.maxamount 200
	ammo.backpackamount 200
	ammo.BackpackMaxAmount 200
	Inventory.Restrictedto "DoomSlayer"
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}



//----------------------------------------------------------

//==Red mana (Mettle)==

actor SlayerMettle : ammo
{
	inventory.amount 10
	inventory.maxamount 200
	ammo.backpackamount 30
	ammo.BackpackMaxAmount 200
	Inventory.Restrictedto "DoomSlayer"
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Blue mana (Grit)==

actor SlayerGrit : ammo
{
	inventory.amount 10
	inventory.maxamount 200
	ammo.backpackamount 30
	ammo.BackpackMaxAmount 200
	Inventory.Restrictedto "DoomSlayer"
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}


//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

//Kustam Ammo

//==Subweapon ammo==

actor KustamSubAmmo : ammo
{
	inventory.amount 1
	inventory.maxamount 10
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 10
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Equipment launcher cooldown==
actor KustamEquipmentCooldown : ammo
{
	Inventory.Restrictedto "Kustam"
	inventory.amount 0
	inventory.maxamount 80
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 80
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Kick attack cooldown==
actor KustamAuxLock : ammo
{
	Inventory.Restrictedto "Kustam"
	inventory.amount 0
	inventory.maxamount 200
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 200
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}


//----------------------------------------------------------

//==Red Mana (Laser Battery)==

actor KustamLaserBattery : ammo
{
	inventory.amount 1
	inventory.maxamount 200
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 200
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Blue Mana (Kinetic Battery)==

actor KustamKineticBattery : ammo
{
	inventory.amount 1
	inventory.maxamount 150
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 150
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Aux Battery==

actor KustamAuxBattery : ammo
{
	inventory.amount 1
	inventory.maxamount 3
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 3
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

actor KustamAuxCharge : ammo
{
	inventory.amount 1
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==Laser Combo==

actor KustamLaserCombo : ammo
{
	inventory.amount 1
	inventory.maxamount 90
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 90
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}


//----------------------------------------------------------

//==Spreadgun Combo==

actor KustamScatterCombo : ammo
{
	inventory.amount 1
	inventory.maxamount 90
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 90
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

//----------------------------------------------------------

//==White Mana (Sentinel Charge)==

actor Sentinelcharge : ammo
{
	inventory.amount 10
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}


actor OCLaserAmmo : ammo
{
	inventory.amount 1
	inventory.maxamount 200
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 200
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

actor OCKineticAmmo : ammo
{
	inventory.amount 1
	inventory.maxamount 200
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 200
	Inventory.Icon "PICNA0"
	Inventory.Restrictedto "Kustam"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}



Actor KustamScatterComboPause : Powerup
{
	Powerup.Duration -2
}

Actor KustamLaserComboPause : Powerup
{
	Powerup.Duration -2
}


actor KustamLaserReload : inventory
{inventory.maxamount 1}

actor KustamKineticReload : inventory
{inventory.maxamount 1}

Actor KustamAuxReload : inventory
{inventory.maxamount 1}

actor KustamOCLaserReload : inventory
{inventory.maxamount 1}

actor KustamOCKineticReload : inventory
{inventory.maxamount 1}


actor KustamLaserHUDFlash : Powerup
{
	Powerup.Duration -1
}

actor KustamKineticHUDFlash : Powerup
{
	Powerup.Duration -1
}

actor KustamAuxHUDFlash : Powerup
{
	Powerup.Duration -1
}


actor KustamBootHUDFlash : Powerup
{
	Inventory.Restrictedto "Kustam"
	powerup.duration 15
}

actor KustamEquipmentHUDFlash : Powerup
{
	Inventory.Restrictedto "Kustam"
	powerup.duration 15
}


actor OCLaserActive : Powerup
{
	Powerup.Duration 15
}

actor KustamOCLaserHUDFlash : Powerup
{
	Powerup.Duration -1
}

actor KustamOCKineticHUDFlash : Powerup
{
	Powerup.Duration -1
}

actor KustamOCArmsHUDFlash : Powerup
{
	Powerup.Duration 10
}



//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

//Samson Ammo
actor BowgunDarts : ammo
{
	inventory.amount 10
	inventory.maxamount 200
	ammo.backpackamount 75
	ammo.BackpackMaxAmount 400
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}

actor SamsonCatalyst : ammo
{
	inventory.amount 10
	inventory.maxamount 100
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 100
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}


actor SynthCharge : ammo
{
	inventory.amount 10
	inventory.maxamount 300
	ammo.backpackamount 0
	ammo.BackpackMaxAmount 300
	Inventory.Icon "PICNA0"
	states
	{
	spawn:
		PICN A -1
		stop
	}
}
