Move towards abstracting out held item positioning
This commit is contained in:
@@ -112,9 +112,10 @@ torch = defaultWeapon
|
||||
|
||||
createHeldLight :: Creature -> Int -> World -> World
|
||||
createHeldLight cr i w = w
|
||||
|
||||
removeHeldLight :: Creature -> Int -> World -> World
|
||||
removeHeldLight cr i w = w
|
||||
& tempLightSources .:~ tlsTimeRadColPos 1 200 0.7 p
|
||||
where
|
||||
p = addZ 20 $ _crPos cr
|
||||
itm = cr ^?! crInv . ix i
|
||||
|
||||
flatShield :: Item
|
||||
flatShield = defaultWeapon
|
||||
|
||||
Reference in New Issue
Block a user