Add modules to items, upgrades the can persist through combinations

This commit is contained in:
2022-02-20 14:13:12 +00:00
parent 3f20398ed0
commit 7afc367abc
16 changed files with 108 additions and 32 deletions
+4
View File
@@ -100,6 +100,9 @@ defaultGun = Item
, _itTargeting = Nothing
, _itParams = NoParams
, _itTweaks = NoTweaks
, _itModules = ItemModules
{ _modHitEffect = DefaultModule
}
}
defaultCraftable :: Item
defaultCraftable = Item
@@ -122,6 +125,7 @@ defaultCraftable = Item
, _itParams = NoParams
, _itDimension = defItDimCol green
, _itTweaks = NoTweaks
, _itModules = ItemModules BlockedModule
}
defItDim :: ItemDimension
defItDim = ItemDimension
+1 -1
View File
@@ -87,7 +87,7 @@ defaultWorld = World
, _worldBounds = defaultBounds
, _maybeWorld = Nothing'
, _rewindWorlds = []
, _rewinding = NotRewinding
, _timeFlow = NormalTimeFlow
, _lSelHammerPosition = HammerUp
, _worldTerminal = Nothing'
}