//$GZDB_SKIP


ACTOR SetAmmoFirstLevel : Inventory				{   Inventory.MaxAmount 1	}

//Additional inventory that modifies weapon behaviour or animations.
ACTOR Weapon_FireLeft : Inventory				{   Inventory.MaxAmount 1	}
ACTOR Weapon_Zoom : Inventory					{   Inventory.MaxAmount 1	}
ACTOR Altfire_Toggle : Inventory					{   Inventory.MaxAmount 1	}
//ACTOR Mighty_Sickles : Inventory				{   Inventory.MaxAmount 1	}

//It uses this inventory to remember which weapon was previously chosen.
//Useful quick switch to previously chosen weapon.
ACTOR SetWeaponMemory : Inventory				{   Inventory.MaxAmount 15	}
ACTOR SetWeaponActual : Inventory				{   Inventory.MaxAmount 15	}

//Modifies weapon beaviour if player is on deathmatch.
Actor DeathMatchToken : Inventory
{
	Inventory.Amount 1
	Inventory.MaxAmount 1
}

//Is this player a Bot? Determines to fire a semi-auto weapon
actor IsBot : Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}



//Custom altfire stuff
ACTOR Action_AltFire : CustomInventory
{
   Inventory.Amount 1
   Inventory.MaxAmount 1
   -INVBAR

   States
   {
       Use:
       TNT1 A 0 A_GiveInventory("altfire_Toggle",1)
       Fail
   }
}

ACTOR Action_AltFireCancel : CustomInventory
{
   Inventory.Amount 1
   Inventory.MaxAmount 1
   -INVBAR

   States
   {
       Use:
       TNT1 A 0 A_TakeInventory("altfire_Toggle",1)
       Fail
   }
}


