Add burst fire, tentative inventory locking
This commit is contained in:
@@ -93,6 +93,7 @@ data World = World
|
||||
, _modifications :: IM.IntMap Modification
|
||||
, _yourID :: !Int
|
||||
, _worldEvents :: World -> World
|
||||
, _delayedEvents :: [(Int,World -> World)]
|
||||
, _pressPlates :: IM.IntMap PressPlate
|
||||
, _buttons :: IM.IntMap Button
|
||||
, _toPlaySounds :: M.Map SoundOrigin Sound
|
||||
@@ -228,6 +229,7 @@ data Creature = Creature
|
||||
, _crInv :: IM.IntMap Item
|
||||
, _crInvSel :: Int
|
||||
, _crInvCapacity :: Int
|
||||
, _crInvLock :: Bool
|
||||
, _crLeftInvSel :: Maybe Int
|
||||
, _crState :: CreatureState
|
||||
, _crCorpse :: Picture
|
||||
|
||||
Reference in New Issue
Block a user