Start restructuring Item datatype

This commit is contained in:
2021-11-27 12:48:23 +00:00
parent fe37f208da
commit bfdac2fad5
16 changed files with 56 additions and 55 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ defaultGun = Weapon
, _wpCurCoolDown = 0
, _itUseRate = 8
, _itUseTime = 0
, _itUse = Right $ \_ _ -> id
, _itUse = RightUse $ \_ _ -> id
, _itUseModifiers = []
, _wpSpread = 0.02
, _wpRange = 20
@@ -67,7 +67,7 @@ defaultAutoGun = defaultGun
{ _itInvDisplay = basicWeaponDisplay
, _itAimStance = TwoHandTwist
}
defaultShellAmmo :: Ammo
defaultShellAmmo :: AmmoType
defaultShellAmmo = ShellAmmo
{ _amPayload = const id
, _amString = "Shell"