mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
170 lines
2.4 KiB
Text
170 lines
2.4 KiB
Text
|
// Clip --------------------------------------------------------------------
|
||
|
|
||
|
class Clip : Ammo
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTCLIP";
|
||
|
Inventory.Amount 10;
|
||
|
Inventory.MaxAmount 200;
|
||
|
Ammo.BackpackAmount 10;
|
||
|
Ammo.BackpackMaxAmount 400;
|
||
|
Inventory.Icon "CLIPA0";
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
CLIP A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Clip box ----------------------------------------------------------------
|
||
|
|
||
|
class ClipBox : Clip
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTCLIPBOX";
|
||
|
Inventory.Amount 50;
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
AMMO A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Rocket ------------------------------------------------------------------
|
||
|
|
||
|
class RocketAmmo : Ammo
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTROCKET";
|
||
|
Inventory.Amount 1;
|
||
|
Inventory.MaxAmount 50;
|
||
|
Ammo.BackpackAmount 1;
|
||
|
Ammo.BackpackMaxAmount 100;
|
||
|
Inventory.Icon "ROCKA0";
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
ROCK A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Rocket box --------------------------------------------------------------
|
||
|
|
||
|
class RocketBox : RocketAmmo
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTROCKBOX";
|
||
|
Inventory.Amount 5;
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
BROK A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Cell --------------------------------------------------------------------
|
||
|
|
||
|
class Cell : Ammo
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTCELL";
|
||
|
Inventory.Amount 20;
|
||
|
Inventory.MaxAmount 300;
|
||
|
Ammo.BackpackAmount 20;
|
||
|
Ammo.BackpackMaxAmount 600;
|
||
|
Inventory.Icon "CELLA0";
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
CELL A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Cell pack ---------------------------------------------------------------
|
||
|
|
||
|
class CellPack : Cell
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTCELLBOX";
|
||
|
Inventory.Amount 100;
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
CELP A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Shells ------------------------------------------------------------------
|
||
|
|
||
|
class Shell : Ammo
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTSHELLS";
|
||
|
Inventory.Amount 4;
|
||
|
Inventory.MaxAmount 50;
|
||
|
Ammo.BackpackAmount 4;
|
||
|
Ammo.BackpackMaxAmount 100;
|
||
|
Inventory.Icon "SHELA0";
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
SHEL A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Shell box ---------------------------------------------------------------
|
||
|
|
||
|
class ShellBox : Shell
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Inventory.PickupMessage "$GOTSHELLBOX";
|
||
|
Inventory.Amount 20;
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
SBOX A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Backpack ---------------------------------------------------------------
|
||
|
|
||
|
class Backpack : BackpackItem
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Height 26;
|
||
|
Inventory.PickupMessage "$GOTBACKPACK";
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
BPAK A -1;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|