Allow for stacking of items and combining sensibly
This commit is contained in:
@@ -17,7 +17,7 @@ defaultAmmo :: ItemConsumption
|
||||
defaultAmmo = LoadableAmmo
|
||||
{ _aoType = GenericAmmo
|
||||
, _ammoMax = 15
|
||||
, _ammoLoaded = 15
|
||||
, _ammoLoaded = 0
|
||||
, _reloadTime = 40
|
||||
, _reloadState = Nothing'
|
||||
, _reloadType = ActiveClear
|
||||
@@ -99,7 +99,7 @@ defaultGun = Item
|
||||
, _itAttachment = NoItAttachment
|
||||
, _itID = Nothing
|
||||
, _itEffect = NoItEffect
|
||||
, _itInvDisplay = basicWeaponDisplay
|
||||
, _itInvDisplay = basicItemDisplay
|
||||
, _itInvColor = white
|
||||
, _itInvSize = 1
|
||||
, _itTargeting = Nothing
|
||||
@@ -125,7 +125,7 @@ defaultCraftable = Item
|
||||
, _itAttachment = NoItAttachment
|
||||
, _itID = Nothing
|
||||
, _itEffect = NoItEffect
|
||||
, _itInvDisplay = \it -> take (_itInvSize it) (_itName it : repeat "*")
|
||||
, _itInvDisplay = basicItemDisplay
|
||||
, _itInvColor = green
|
||||
, _itInvSize = 1
|
||||
, _itTargeting = Nothing
|
||||
|
||||
Reference in New Issue
Block a user