stinger_m/zscript/flamegun.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

33 lines
477 B
Text

Class UFireball : Actor
{
}
Class UFireball2 : UFireball
{
}
Class FlameGun : UnrealWeapon
{
Default
{
Tag "$T_FLAMEGUN";
Inventory.PickupMessage "$I_FLAMEGUN";
Weapon.UpSound "flamegun/select";
Weapon.SlotNumber 5;
Weapon.SelectionOrder 2;
Weapon.AmmoType "FlameAmmo";
Weapon.AmmoUse 10;
Weapon.AmmoType2 "FlameAmmo";
Weapon.AmmoUse2 20;
Weapon.AmmoGive 100;
UTWeapon.DropAmmo 25;
}
States
{
Spawn:
FGNP A -1;
Stop;
FGNP B -1;
Stop;
}
}