Actor "Legendary Destroyer BFG" : Weapon replaces "Tarmidhes Plasmatic Cannon"
{
Tag "Legendary Destroyer BFG"
Weapon.SelectionOrder 7985
Weapon.KickBack 100
Weapon.AmmoType "LegendaryFusionCell"
Weapon.AmmoGive 4
Weapon.AmmoUse 0
Weapon.AmmoType2 "LegendaryFusionCell"
Weapon.AmmoUse2 0
Weapon.Upsound "Tarmidhes/Up"
Weapon.PreferredSkin "LegendaryCannon-Marine"
Inventory.PickupMessage "You got the Legendary Destroyer BFG, who the hell is Tarmidhes anyways!"
Inventory.PickupSound "Tarmidhes/Up"
Obituary "%o should not have been killed by %k's Legendary Destroyer BFG."
Decal DoomImpScorch
//+INVENTORY.UNDROPPABLE
States
{
  Spawn:
    TRPC Z -1
    Loop
  Ready:
    TRPC A 1 A_WeaponReady
    Loop
  Deselect:
    TNT1 A 0 A_TakeInventory("HandGrenadeAction",1)
	TNT1 A 0 A_TakeInventory("MineAction",1)
	TNT1 A 0 A_TakeInventory("RailgunAction",1)
	TNT1 A 0 A_PlayWeaponSound("weapons/weapondown")
	TRPC A 0 A_Lower
    TRPC A 1 A_Lower
    Goto Deselect+4
  Select:
    TRPC A 0 A_Raise
    TRPC A 1 A_Raise
    Loop
  Fire:
    TNT1 A 0 A_JumpIfInventory("LegendaryFusionCell",1,1)
	Goto Ready
    TNT1 A 0 A_GunFlash
	TNT1 A 0 A_PlaySound("Tarmidhes/Fire")
	TNT1 A 0 Radius_Quake(2,2,0,1,0)
	//TNT1 A 0 A_PlayWeaponSound("star/fire")
	TNT1 A 0 A_TakeInventory("LegendaryFusionCell",1)
    TRPC C 2 Bright A_FireCustomMissile("PlayerTruePulverizerBall",0,1,0,0)
    TRPC DEF 2 Bright
	TRPC AB 3
  Goto Ready
  //AltFire:
	//TRPC A 35 Bright A_PlayWeaponSound("Tarmidhes/Charge")
    //TNT1 A 0 A_GunFlash
	//TNT1 A 0 Radius_Quake(2,2,0,1,0)	
	//TRPC C 0 A_PlayWeaponSound("star/fire")
    //TRPC C 2 Bright A_FireCustomMissile("CardinalSpecialGuruBall",0,1,0,0)
    //TRPC DEF 2 Bright
	//TNT1 A 0 A_PlaySound ("Tarmidhes/Steam")
	//TNT1 A 0 A_FireCustomMissile("LegendaryCannonSmoke",0,0,1,6)
	//TRPC ABABABABABABABABABABA 3 A_FireCustomMissile("LegendaryCannonSmoke",0,0,1,6)
	//TRPC A 3 A_Refire
    //Goto Ready		
  /*AltFire:
	LEGW A 15 Bright A_PlayWeaponSound("legendarycannon/charge")
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
	LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
	LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
	LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
    LEGW C 2 Bright A_FireCustomMissile("LegendaryCannonBall",0,1,0,0)
    LEGW DEF 2 Bright
	TNT1 A 0 A_PlaySound ("legendarycannon/steam")
	TNT1 A 0 A_FireCustomMissile("LegendaryCannonSmoke",0,0,1,6)
	LEGW ABABABABABABABABABABA 3 A_FireCustomMissile("LegendaryCannonSmoke",0,0,1,6)*/
	/*LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW AB 3 A_PlayWeaponSound("legendarycannon/nbarrel")
	LEGW A 3 A_PlayWeaponSound("legendarycannon/nbarrel")*/
    Goto Ready	
  Flash:
    TNT1 A 1 A_Light1
    TNT1 A 1 A_Light2
    TNT1 A 1 A_Light1
    TNT1 A 1 A_Light0
    Stop
  }
}