tell the number of workers
This commit is contained in:
parent
755350ba9f
commit
6308a110b8
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ loadMap = do
|
||||||
-- liftIO $ A.logIO A.Debug (show exits)
|
-- liftIO $ A.logIO A.Debug (show exits)
|
||||||
(inter, rps) <- liftIO $ placeInteriorIO mat imgmat exits gr
|
(inter, rps) <- liftIO $ placeInteriorIO mat imgmat exits gr
|
||||||
let nnex = length (Prelude.filter (\p -> pointType p == RoomExit) rps)
|
let nnex = length (Prelude.filter (\p -> pointType p == RoomExit) rps)
|
||||||
|
liftIO $ A.logIO A.Debug $ "number of placed NPCs: " ++ show nnex
|
||||||
npcposs <- placeNPCs inter mat rps gr nnex
|
npcposs <- placeNPCs inter mat rps gr nnex
|
||||||
(nws, _) <- yieldSystemT (worldState ud) $ do
|
(nws, _) <- yieldSystemT (worldState ud) $ do
|
||||||
void $ newEntity $ defEntity
|
void $ newEntity $ defEntity
|
||||||
|
|
Loading…
Reference in a new issue