mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 13:31:07 +00:00
49 lines
718 B
Text
49 lines
718 B
Text
|
|
class MetalArmor : BasicArmorPickup
|
|
{
|
|
Default
|
|
{
|
|
Radius 20;
|
|
Height 16;
|
|
+FLOORCLIP
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.INVBAR
|
|
Inventory.MaxAmount 3;
|
|
Inventory.Icon "I_ARM1";
|
|
Inventory.PickupMessage "$TXT_METALARMOR";
|
|
Armor.SaveAmount 200;
|
|
Armor.SavePercent 50;
|
|
Tag "$TAG_METALARMOR";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
ARM3 A -1;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
class LeatherArmor : BasicArmorPickup
|
|
{
|
|
Default
|
|
{
|
|
Radius 20;
|
|
Height 16;
|
|
+FLOORCLIP
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.INVBAR
|
|
Inventory.MaxAmount 5;
|
|
Inventory.Icon "I_ARM2";
|
|
Inventory.PickupMessage "$TXT_LEATHERARMOR";
|
|
Armor.SaveAmount 100;
|
|
Armor.SavePercent 33.335;
|
|
Tag "$TAG_LEATHER";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
ARM4 A -1;
|
|
Stop;
|
|
}
|
|
}
|
|
|