Skip to content

Commit

Permalink
Update Armor.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Acid-Citric authored May 16, 2024
1 parent 6dfdb2c commit b4efaec
Showing 1 changed file with 34 additions and 16 deletions.
50 changes: 34 additions & 16 deletions ZScript/Items/Armor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ Class ArmoredHelmet : BasicArmorPickup
+INVENTORY.AUTOACTIVATE

Inventory.Icon "HELMA0";
Armor.SavePercent 66.665;
Armor.SavePercent 55;
Armor.SaveAmount 25;
Armor.MaxFullAbsorb 5;

Armor.MaxFullAbsorb 10;
}
override bool Use(bool pickup)
{
Expand Down Expand Up @@ -44,9 +43,9 @@ Class ArmoredHelmet_BasicArmor : BasicArmorPickup
Default
{
Inventory.Icon "HELMA0";
Armor.SavePercent 66.665;
Armor.SavePercent 55;
Armor.SaveAmount 25;
Armor.MaxFullAbsorb 5;
Armor.MaxFullAbsorb 10;
}
}

Expand All @@ -55,10 +54,10 @@ Class ArmoredHelmet_ArmorBonus : BasicArmorBonus
Default
{
Inventory.Icon "HELMA0";
Armor.SavePercent 66.665;
Armor.SavePercent 55;
Armor.SaveAmount 25;
Armor.MaxSaveAmount 200;
Armor.MaxFullAbsorb 5;
Armor.MaxSaveAmount 100;
Armor.MaxFullAbsorb 10;
}
}

Expand Down Expand Up @@ -91,7 +90,7 @@ Class FlakJacket : CustomInventory
States
{
Spawn:
VEST A -1;
FLAK A -1;
Stop;
}
}
Expand All @@ -100,21 +99,40 @@ Class FlakJacket_BasicArmor : BasicArmorPickup
{
Default
{
Inventory.Icon "VESTA0";
Armor.SavePercent 66.665;
Inventory.Icon "FLAKA0";
Armor.SavePercent 85;
Armor.SaveAmount 75;
Armor.MaxFullAbsorb 25;
Armor.MaxFullAbsorb 60;
}
}

Class FlakJacket_ArmorBonus : BasicArmorBonus
{
Default
{
Inventory.Icon "VESTA0";
Armor.SavePercent 66.665;
Inventory.Icon "FLAKA0";
Armor.SavePercent 85;
Armor.SaveAmount 75;
Armor.MaxSaveAmount 200;
Armor.MaxFullAbsorb 25;
Armor.MaxSaveAmount 100;
Armor.MaxFullAbsorb 60;
}
}

Class DogTag_ArmorBonus : BasicArmorBonus
{
Default
{
Inventory.PickupMessage "Dog Tag";
Inventory.Icon "DTAGA0";
Armor.SavePercent 55;
Armor.SaveAmount 1;
Armor.MaxSaveAmount 100;
Armor.MaxFullAbsorb 10;
}
States
{
Spawn:
DTAG A -1;
Stop;
}
}

0 comments on commit b4efaec

Please sign in to comment.