Reorganise weapons, start work on drones
This commit is contained in:
@@ -66,3 +66,9 @@ changeFuse scrollAmount _ it = it
|
||||
oldTime = _itFuseTime $ _itAttachment it
|
||||
newTime = min 90 $ max 20 $ oldTime - round (5 * scrollAmount)
|
||||
zm = 50 / fromIntegral newTime
|
||||
|
||||
--removeItAttachment :: Int -> Int -> World -> World
|
||||
--removeItAttachment i _ w = w & creatures . ix i . crInv . ix itRef . itAttachment .~ NoItAttachment
|
||||
-- where
|
||||
-- cr = _creatures w IM.! i
|
||||
-- itRef = _crInvSel cr
|
||||
|
||||
Reference in New Issue
Block a user