2016-10-14 18:08:41 +00:00
|
|
|
|
|
|
|
// Armor bonus --------------------------------------------------------------
|
|
|
|
|
|
|
|
class ArmorBonus : BasicArmorBonus
|
|
|
|
{
|
|
|
|
Default
|
|
|
|
{
|
|
|
|
Radius 20;
|
|
|
|
Height 16;
|
|
|
|
Inventory.Pickupmessage "$GOTARMBONUS";
|
2016-11-15 10:36:59 +00:00
|
|
|
Inventory.Icon "BON2A0";
|
2016-10-14 18:08:41 +00:00
|
|
|
Armor.Savepercent 33.335;
|
|
|
|
Armor.Saveamount 1;
|
|
|
|
Armor.Maxsaveamount 200;
|
|
|
|
+COUNTITEM
|
|
|
|
+INVENTORY.ALWAYSPICKUP
|
|
|
|
}
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
BON2 ABCDCB 6;
|
|
|
|
loop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Green armor --------------------------------------------------------------
|
|
|
|
|
|
|
|
class GreenArmor : BasicArmorPickup
|
|
|
|
{
|
|
|
|
Default
|
|
|
|
{
|
|
|
|
Radius 20;
|
|
|
|
Height 16;
|
|
|
|
Inventory.Pickupmessage "$GOTARMOR";
|
|
|
|
Inventory.Icon "ARM1A0";
|
|
|
|
Armor.SavePercent 33.335;
|
|
|
|
Armor.SaveAmount 100;
|
|
|
|
}
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
ARM1 A 6;
|
|
|
|
ARM1 B 7 bright;
|
|
|
|
loop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Blue armor ---------------------------------------------------------------
|
|
|
|
|
|
|
|
class BlueArmor : BasicArmorPickup
|
|
|
|
{
|
|
|
|
Default
|
|
|
|
{
|
|
|
|
Radius 20;
|
|
|
|
Height 16;
|
|
|
|
Inventory.Pickupmessage "$GOTMEGA";
|
|
|
|
Inventory.Icon "ARM2A0";
|
|
|
|
Armor.Savepercent 50;
|
|
|
|
Armor.Saveamount 200;
|
|
|
|
}
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
ARM2 A 6;
|
|
|
|
ARM2 B 6 bright;
|
|
|
|
loop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|