stinger_m/zscript/peacemaker.zsc
Marisa Kirisame b12c4a4112 Flashlight/Searchlight implemented.
Proper handling of charge redistribution on multi-copy items (fixes infinitely replenishable charge exploit).
More preparation code for other items.
2019-09-05 16:31:05 +02:00

43 lines
581 B
Text

Class PeaceAmmo : Ammo
{
Default
{
Inventory.Icon "I_Peace";
Inventory.Amount 1;
Inventory.MaxAmount 8;
Ammo.BackpackAmount 0;
Ammo.BackpackMaxAmount 16;
}
}
Class PeaceRocket : Actor
{
}
Class PeaceProj : Actor
{
}
Class Peacemaker : UnrealWeapon
{
Default
{
Tag "$T_PEACE";
Inventory.PickupMessage "$I_PEACE";
Weapon.UpSound "peace/select";
Weapon.SlotNumber 8;
Weapon.SelectionOrder 1;
Weapon.AmmoType "PeaceAmmo";
Weapon.AmmoUse 1;
Weapon.AmmoGive 1;
UTWeapon.DropAmmo 1;
}
States
{
Spawn:
PEAP A -1;
Stop;
PEAP B -1;
Stop;
}
}