mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 21:51:09 +00:00
50 lines
718 B
Text
50 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;
|
||
|
}
|
||
|
}
|
||
|
|