Update pathing on block destruction without relying on _blObstructs
This commit is contained in:
@@ -13,6 +13,10 @@ import RandomHelp
|
||||
|
||||
type ECW = Either Creature Wall
|
||||
|
||||
-- perhaps rethink this as armour that
|
||||
-- transforms damage and passes it on to the interior object
|
||||
-- (block,door,creature,machine)
|
||||
-- alongside an external side effect (spark,dust,etc)
|
||||
damMatSideEffect :: Damage -> Material -> ECW -> World -> (Int,World)
|
||||
damMatSideEffect dm = \case
|
||||
Stone -> damageStone dm
|
||||
|
||||
Reference in New Issue
Block a user