Continue inventory tweak
This commit is contained in:
@@ -19,7 +19,7 @@ doHeldScroll hs = case hs of
|
||||
HeldScrollCharMode{} -> overYourItem $ \x _ -> itUse . heldScroll . hsCharMode %~ cycleSignum x
|
||||
where
|
||||
overYourItem f x cr w = fromMaybe w $ do
|
||||
i <- cr ^? crManipulation . isel . ispItem
|
||||
i <- cr ^? crManipulation . manObject . inInventory . ispItem
|
||||
return $ w & cWorld . lWorld . creatures . ix 0 . crInv . ix i %~ f x cr
|
||||
|
||||
cycleSignum :: Float -> Seq a -> Seq a
|
||||
|
||||
Reference in New Issue
Block a user