Move some item datatypes into dedicated module
This commit is contained in:
@@ -86,13 +86,11 @@ defaultGun = Weapon
|
||||
, _itIdentity = Pistol
|
||||
, _itConsumption = defaultAmmo
|
||||
, _itUse = defaultrUse
|
||||
, _wpSpread = 0.02
|
||||
, _wpRange = 20
|
||||
, _itFloorPict = const $ noPic $ colorSH green (prismPoly
|
||||
(map (addZ 3) $ rectNESW 3 3 (-3) (-3))
|
||||
(map (addZ 0) $ rectNESW 5 3 (-5) (-7))
|
||||
)
|
||||
, _itZoom = ItZoom 20 0.2 1
|
||||
-- , _itZoom = ItZoom 20 0.2 1
|
||||
, _itEquipPict = pictureWeaponOnAim
|
||||
, _itScroll = \_ _ -> id
|
||||
, _itAttachment = NoItAttachment
|
||||
@@ -101,8 +99,11 @@ defaultGun = Weapon
|
||||
, _itInvDisplay = basicWeaponDisplay
|
||||
, _itInvColor = white
|
||||
, _itTargeting = Nothing
|
||||
, _itWorldTrigger = Nothing
|
||||
, _wpNumBarrels = 1
|
||||
, _itType = Weapon'
|
||||
{ _wpSpread = 0.02
|
||||
, _wpRange = 20
|
||||
, _wpNumBarrels = 1
|
||||
}
|
||||
, _itDimension = defaultItemDimension
|
||||
}
|
||||
defaultItemDimension :: ItemDimension
|
||||
|
||||
Reference in New Issue
Block a user