gzdoom/wadsrc/static/zscript/actors/hexen/hexenarmor.zs

78 lines
1.1 KiB
Text
Raw Normal View History

2016-10-17 22:49:13 +00:00
// Mesh Armor (1) -----------------------------------------------------------
class MeshArmor : HexenArmor
{
Default
{
+NOGRAVITY
Health 0; // Armor class
Inventory.Amount 0;
Inventory.PickupMessage "$TXT_ARMOR1";
}
States
{
Spawn:
AR_1 A -1;
Stop;
}
}
// Falcon Shield (2) --------------------------------------------------------
class FalconShield : HexenArmor
{
Default
{
+NOGRAVITY
Health 1; // Armor class
Inventory.Amount 0;
Inventory.PickupMessage "$TXT_ARMOR2";
}
States
{
Spawn:
AR_2 A -1;
Stop;
}
}
// Platinum Helm (3) --------------------------------------------------------
class PlatinumHelm : HexenArmor
{
Default
{
+NOGRAVITY
Health 2; // Armor class
Inventory.Amount 0;
Inventory.PickupMessage "$TXT_ARMOR3";
}
States
{
Spawn:
AR_3 A -1;
Stop;
}
}
// Amulet of Warding (4) ----------------------------------------------------
class AmuletOfWarding : HexenArmor
{
Default
{
+NOGRAVITY
Health 3; // Armor class
Inventory.Amount 0;
Inventory.PickupMessage "$TXT_ARMOR4";
}
States
{
Spawn:
AR_4 A -1;
Stop;
}
}