First implementation of ammo distribution via machine
This commit is contained in:
@@ -41,6 +41,7 @@ tryPutItemInInv cid itid w = do
|
||||
& cWorld . lWorld . items . ix itid . itLocation .~ itloc
|
||||
& cWorld . lWorld . floorItems . at itid .~ Nothing
|
||||
& updateselectionextra invid
|
||||
& cWorld . highlightItems . at itid ?~ 20
|
||||
where
|
||||
updateselectionextra i
|
||||
| cid == 0 = (hud . diSelection . _Just . slSet %~ IS.map (f i))
|
||||
|
||||
Reference in New Issue
Block a user