Improve rooms, make consumable use type
This commit is contained in:
+4
-1
@@ -128,7 +128,7 @@ data World = World
|
||||
, _rewindWorlds :: [World]
|
||||
, _timeFlow :: TimeFlowStatus
|
||||
, _worldClock :: Int
|
||||
, _lSelHammerPosition :: HammerPosition
|
||||
, _youHammerPosition :: HammerPosition
|
||||
, _worldTerminal :: Maybe' WorldTerminal
|
||||
}
|
||||
data WorldTerminal = WorldTerminal Int [(Int,String)]
|
||||
@@ -334,6 +334,9 @@ data ItemUse
|
||||
, _useDelay :: UseDelay
|
||||
, _useHammer :: HammerType
|
||||
}
|
||||
| ConsumeUse
|
||||
{ _cUse :: Item -> Creature -> World -> World
|
||||
}
|
||||
| EquipUse
|
||||
{ _eqUse :: Creature -> Int -> World -> World
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user