Continue inventory tweak
This commit is contained in:
+2
-2
@@ -37,8 +37,8 @@ useE eo = case eo of
|
||||
trySiphonFuel :: Item -> Creature -> World -> World
|
||||
trySiphonFuel itm cr w = fromMaybe w $ do
|
||||
eix <- itm ^? itLocation . ipInvID
|
||||
hix <- cr ^? crManipulation . isel . ispItem
|
||||
guard (cr ^? crManipulation . isel . iselAction == Just NoInvSelAction)
|
||||
hix <- cr ^? crManipulation . manObject . inInventory . ispItem
|
||||
guard (cr ^? crManipulation . manObject . inInventory . iselAction == Just NoInvSelAction)
|
||||
la <- cr ^? crInv . ix hix . itUse . heldConsumption
|
||||
atype <- la ^? laAmmoType
|
||||
guard (isGas atype)
|
||||
|
||||
Reference in New Issue
Block a user