Refactor, add bullet modules and weapon effect modifiers
This commit is contained in:
@@ -16,6 +16,7 @@ defaultGun = Weapon
|
||||
, _itUseRate = 8
|
||||
, _itUseTime = 0
|
||||
, _itUse = \_ _ -> id
|
||||
, _itUseModifiers = []
|
||||
, _itLeftClickUse = Nothing
|
||||
, _wpSpread = 0.02
|
||||
, _wpRange = 20
|
||||
@@ -37,6 +38,7 @@ defaultGun = Weapon
|
||||
, _itTargeting = Nothing
|
||||
, _itWorldTrigger = Nothing
|
||||
}
|
||||
|
||||
defaultAutoGun :: Item
|
||||
defaultAutoGun = defaultGun
|
||||
{ _itScrollUp = const id
|
||||
@@ -48,7 +50,7 @@ defaultShellAmmo :: Ammo
|
||||
defaultShellAmmo = ShellAmmo
|
||||
{ _amPayload = \_ -> id
|
||||
, _amString = "Shell"
|
||||
, _amPjMove = []
|
||||
, _amPjParams = []
|
||||
, _amPjDraw = \_ -> blank
|
||||
, _amParamSel = 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user