flak_m/zscript/healitems.zsc
Marisa Kirisame d3da87cefe All misc items implemented. Enhanced Shock Rifle implemented.
Going to focus on the HUD now while at the same time doing the remaining weapons.
2018-05-21 20:28:17 +02:00

79 lines
No EOL
1.3 KiB
Text

Class UTHealthPack : Health replaces Soulsphere
{
Default
{
Tag "Big Keg O' Health";
+COUNTITEM;
+INVENTORY.AUTOACTIVATE;
+INVENTORY.ALWAYSPICKUP;
+INVENTORY.FANCYPICKUPSOUND;
Inventory.Amount 100;
Inventory.MaxAmount 200;
Inventory.PickupMessage "You picked up the Big Keg O' Health.";
Inventory.PickupSound "misc/ut_keg";
Inventory.RespawnTics 3500;
}
States
{
Spawn:
HBOX A -1;
Stop;
}
}
Class UTHealthBox : Health replaces Medikit
{
Default
{
Tag "Health Box";
Inventory.Amount 50;
Inventory.PickupMessage "You picked up a Health Box.";
Health.LowMessage 25,"You picked up a Health Box that you REALLY need!";
Inventory.PickupSound "misc/ut_heal";
}
States
{
Spawn:
HBOX B -1;
Stop;
}
}
Class UTMedBox : Health replaces Stimpack
{
Default
{
Tag "Health Pack";
Inventory.Amount 20;
Inventory.PickupMessage "You picked up a Health Pack.";
Inventory.PickupSound "misc/ut_heal";
Inventory.RespawnTics 700;
}
States
{
Spawn:
HBOX C -1;
Stop;
}
}
Class UTHealthBonus : Health replaces HealthBonus
{
Default
{
Tag "Health Vial";
+COUNTITEM;
+INVENTORY.ALWAYSPICKUP;
Inventory.Amount 5;
Inventory.MaxAmount 200;
Inventory.PickupMessage "You picked up a Health Vial.";
Inventory.PickupSound "misc/ut_heal";
RenderStyle "Add";
}
States
{
Spawn:
VIAL A -1;
Stop;
}
}