Move weapon repetitions into trigger type

This commit is contained in:
2025-06-04 13:23:40 +01:00
parent e77721fe7d
commit 0cb7b54180
9 changed files with 146 additions and 143 deletions
+2 -8
View File
@@ -75,15 +75,9 @@ data AttachParams
data HeldParams
= DefaultHeldParams
| GasSprayParams
{ _weaponInvLock :: Int
, _weaponRepeat :: [Int]
}
| GasSprayParams { _weaponInvLock :: Int }
| BeamShooterParams
| BulletShooterParams
{ _weaponInvLock :: Int
, _weaponRepeat :: [Int]
}
| BulletShooterParams { _weaponInvLock :: Int }
deriving (Eq, Show, Read) --Generic, Flat)
data AmmoParams