actor RiotGun : DoomWeapon { Weapon.AmmoUse 1 Weapon.AmmoGive 8 Weapon.AmmoType "Shell" Inventory.PickupMessage "You got the Riotgun!" Obituary "%o was blown away by %k's Riotgun." Weapon.SlotNumber 3 Decal "BulletChip" attacksound "AA12/Fire" scale 0.85 States { Ready: RIOT A 1 A_WeaponReady Loop Deselect: RIOT A 1 A_Lower Loop Select: RIOT A 1 A_Raise Loop Fire: RIOT E 2 bright A_FireBullets (6, 4, 5, 5, "BulletPuff", 1) RIOT F 2 bright Offset(8,40) A_GunFlash RIOT A 2 bright Offset(4,36) A_SetPitch (pitch-0.5) RIOT A 2 bright RIOT B 2 bright RIOT C 2 RIOT A 8 RIOT A 1 A_ReFire Goto Ready Flash: TNT1 A 4 Bright A_Light1 TNT1 A 3 Bright A_Light2 Goto LightDone Spawn: RIOT G -1 Stop } }