
ACTOR FreedomPistol : WEAPON
{
  Weapon.UpSound "doomguy/doomswitch"
  Weapon.SelectionOrder 700
   Weapon.AmmoUse 1
   Weapon.AmmoGive 20
   Weapon.AmmoType "Clip"
   Obituary "%o got pumped full of lead."
  Inventory.Pickupmessage "$PICKUP_PISTOL_DROPPED"
  Tag "Pistol"
  Inventory.RestrictedTo "FreedoomGuyClass"
  States
  {
  Ready:
    FDSP A 1 A_WeaponReady
    Loop
  Deselect:
		FDSP A 1 A_Lower
		TNT1 A 0 A_Lower 
		TNT1 A 0 A_Lower 
		Loop
	Select:
		FDSP A 1 A_Raise
		TNT1 A 0 A_Raise 
		TNT1 A 0 A_Raise 
		Loop
  Fire:
		TNT1 A 0 A_FireBullets (0, 0, 1, 16, "BulletPuff")
		TNT1 A 0 A_giveinventory("DrDoomguySlowdown",1)
		TNT1 A 0 A_PlaySound("Freedom/Autopistol", CHAN_WEAPON)
		TNT1 A 0 A_GunFlash("Modern")
		TNT1 A 0 A_Quake(2, 4, 0, 128, "NOSOUND")
		FDSP B 2 Bright 
		FDSP C 2
		FDSP DEDC 2
		TNT1 A 0 A_Refire
		FDSP BA 1 A_WeaponReady(WRF_NOBOB|WRF_NOSWITCH)
		Goto Ready
  Modern:
		FDSF A 2 Bright A_Light1 
		TNT1 A 5 A_Light1
		Goto LightDone
}
}
