#library "pists"
#include "zcommon.acs"

Script 306 ENTER
{
	if (GetCVar("cd_pistolstart") == 1)
	{
		ClearInventory();

		TakeInventory("RejuvenationKit", 100);
		TakeInventory("DemonRune", 1);
		TakeInventory("TerminatorArms", 1);
		
		TakeInventory("Chainsaw ", 1);
		TakeInventory("Hand Grenade", 1);
		TakeInventory("Land Mine", 1);
		TakeInventory("Combat Shotgun", 1);
		TakeInventory("Assault Shotgun", 1);
		TakeInventory("Double Barrel Shotgun", 1);
		TakeInventory("Quad Barrel Shotgun", 1);
		TakeInventory("Assault Rifle", 1);
		TakeInventory("Minigun ", 1);
		TakeInventory("Rocket Launcher", 1);
		TakeInventory("Grenade Launcher", 1);
		TakeInventory("Plasma Rifle", 1);
		TakeInventory("Railgun ", 1);
		TakeInventory("Demon Tech Rifle", 1);
		TakeInventory("BFG9500", 1);
		TakeInventory("BFG10K ", 1);
		TakeInventory("Demon Tech BFG10K", 1);
		TakeInventory("MP40", 1);

		GiveInventory("StartingArmor", 1);
		GiveInventory("Melee", 1);
		GiveInventory("Handgun", 1);
		GiveInventory("BulletMag", 60);
		GiveInventory("HandGrenadeAmmo", 2);
		GiveInventory("MineAmmo", 2);
		GiveInventory("PistolMagazine", 16);
		GiveInventory("ShotgunMagazine", 9);
		GiveInventory("ShotgunDrum", 9);
		GiveInventory("SSGShell", 2);
		GiveInventory("QuadShell", 4);
		GiveInventory("ARMagazine", 41);
		GiveInventory("ARGrenade", 1);
		GiveInventory("RocketDrum", 7);
		GiveInventory("GrenadeDrum", 7);
		GiveInventory("PlasmaCell", 50);
		GiveInventory("CellCharge", 5);
		GiveInventory("DemonMagazine", 50);
		GiveInventory("BFGCellCharge", 5);
		GiveInventory("DTBFGCellCharge", 1);
		GiveInventory("MP40Mag", 33);
		
		SetWeapon("Handgun");
		SetActorProperty(0, APROP_HEALTH, 100);
	}
}