swwmgz_m/zscript/dlc1/swwm_blastin.zsc
2021-09-16 16:31:44 +02:00

59 lines
1.2 KiB
Text

// Nuutek Plasma Blaster (from SWWM series)
// Slot 2, spawns shared with Explodium Gun
Class PlasmaBlast : SWWMWeapon
{
int clipcount, chargelevel;
Property ClipCount : clipcount;
Default
{
//$Title Plasma Blaster
//$Group Weapons
//$Sprite graphics/HUD/Icons/W_PlasmaBlast.png
//$Icon weapon
Tag "$T_PLASMABLAST";
Inventory.PickupMessage "$T_PLASMABLAST";
Obituary "$O_PLASMABLAST";
SWWMWeapon.Tooltip "$TT_PLASMABLAST";
Inventory.Icon "graphics/HUD/Icons/W_PlasmaBlast.png";
Weapon.SlotNumber 2;
Weapon.SlotPriority 3.;
Weapon.SelectionOrder 1100;
Inventory.MaxAmount 2;
Weapon.SisterWeapon "DualPlasmaBlast";
Stamina 7000;
PlasmaBlast.ClipCount 15;
+WEAPON.EXPLOSIVE;
}
States
{
Spawn:
XZW1 A -1;
Stop;
}
}
Class DualPlasmaBlast : SWWMWeapon
{
int clipcount;
Property ClipCount : clipcount;
Default
{
Tag "$T_PLASMABLAST2";
Obituary "$O_PLASMABLAST";
SWWMWeapon.Tooltip "$TT_PLASMABLAST2";
Inventory.Icon "graphics/HUD/Icons/W_PlasmaBlast2.png";
Weapon.SlotNumber 2;
Weapon.SlotPriority 4.;
Weapon.SelectionOrder 1050;
Weapon.SisterWeapon "PlasmaBlast";
DualPlasmaBlast.ClipCount 15;
+WEAPON.EXPLOSIVE;
+SWWMWEAPON.HIDEINMENU;
+SWWMWEAPON.NOSWAPWEAPON;
}
}