Fix poison gas

This commit is contained in:
2021-08-28 19:24:15 +01:00
parent ef73964d09
commit f977742f06
6 changed files with 42 additions and 16 deletions
+6 -3
View File
@@ -541,17 +541,20 @@ poisonSprayer = defaultAutoGun
, _itUseTime = 0
, _itUse = const aGasCloud
, _itUseModifiers =
[ useTimeCheckI
, withSoundI buzzSound
[ ammoCheckI
, useTimeCheckI
, withSoundForI foamSpray 5
, useAmmo 1
, spreadNumI
]
, _wpSpread = 0.3
, _wpRange = 8
, _itFloorPict = onLayer FlItLayer $ color yellow $ polygon $ rectNESW 4 4 (-4) (-4)
, _itAimingSpeed = 0.2
, _itAimingRange = 0
, _itZoom = defaultItZoom
, _itEquipPict = pictureWeaponOnAim $ color yellow $ polygon $ rectNESW 4 4 (-4) (-4)
, _wpSpread = 0.1
, _wpNumBarrels = 3
}
flamer :: Item
flamer = defaultAutoGun