Allow for stacking of items and combining sensibly

This commit is contained in:
2021-12-03 17:18:06 +00:00
parent b2a9192fe4
commit b41e3e3637
24 changed files with 166 additions and 159 deletions
+3 -3
View File
@@ -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