actor MetalBladeWep : MegaBuster 10048
{
Weapon.AmmoUse 1
Weapon.AmmoGive 28
Weapon.SlotNumber 3
Obituary "%o was sliced by %k's Metal Blade."
Inventory.Pickupmessage "Power up! Metal Blade"
weapon.ammotype "MetalBladeAmmo"
inventory.pickupsound "weapon/weaponup"
+WEAPON.AMMO_OPTIONAL
inventory.icon "METLSI"
Scale 2.0
States
{
Spawn:
WEAP S 1
loop
Ready:
BUSH J 0 ACS_ExecuteAlways(998,0,17)
BUSH J 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
BUSH J 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
BUSH J 1 A_Raise
Loop
Fire:
BUSH J 0 A_JumpIfNoAmmo("NoAmmo")
BUSH J 0 A_PlaySoundEx("weapon/metalblade","Weapon")
BUSH J 0 A_FireCustomMissile("MetalBlade",0,1,8,0)
BUSH JKLMN 2
//BUSH QR 1 
BUSH QQR 1 A_Refire
Goto Ready+1
NoAmmo:
BUSH J 1 ACS_Execute(979,0)
Goto Ready+1
}
}

actor MetalBladeAmmo : Ammo
{
inventory.amount 1
inventory.maxamount 28
}

actor MetalBlade
{
PROJECTILE
scale 2.5
+RIPPER
+DONTBLAST
Speed 40
Radius 3
Height 4
Damage (14)
States
{
Spawn:
METL AB 3
loop
}
}

actor IGMetalBladeWep : MegaBuster
{
Weapon.AmmoUse 0
Weapon.AmmoGive 28
Weapon.SlotNumber 1
Obituary "%o sliced by %k's Metal Blade."
Inventory.Pickupmessage "Power up! Metal Blade"
weapon.ammotype "MetalBladeAmmo"
inventory.pickupsound "weapon/weaponup"
+WEAPON.AMMO_OPTIONAL
+WEAPON.CHEATNOTWEAPON
Scale 2.5
States
{
Spawn:
WEAP S 1
loop
Ready:
BUIN A 0 ACS_ExecuteAlways(991,0,67)
BUIN A 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
BUIN A 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
BUIN A 1 A_Raise
Loop
Hold:
Fire:
BUIN A 0 A_FireCustomMissile("IGMetalBlade",0,1,8,0)
BUIN A 0 A_PlayWeaponSound("weapon/metalblade")
BUIN BCDEF 2
BUIN GH 3
BUSH H 0 A_Refire
Goto Ready+1
}
}

actor IGMetalBlade : FastProjectile
{
PROJECTILE
scale 2.5
+RIPPER
+DONTBLAST
seesound "weapon/metalblade"
damagetype "Instagib"
Obituary "%o was obliterated by %k's Metal Blade."
Speed 100
Radius 3
Height 4
Damage (100)
States
{
Spawn:
METL AB 3
loop
}
}