Start work on pathfinding
This commit is contained in:
@@ -399,9 +399,9 @@ critsRoom :: Int -> State LayoutVars (Tree Room)
|
||||
critsRoom i =
|
||||
join $
|
||||
takeOne
|
||||
[ return <$> roomCCrits i
|
||||
, return <$> critsPillarRoom i
|
||||
, return <$> glassSwitchBackCrits i
|
||||
-- [ return <$> roomCCrits i
|
||||
-- , return <$> critsPillarRoom i
|
||||
[ return <$> glassSwitchBackCrits i
|
||||
]
|
||||
|
||||
-- cor <- shuffleLinks corridor
|
||||
|
||||
@@ -230,7 +230,7 @@ removeLights = rmPmnts %~ mapMaybe f
|
||||
|
||||
tutHub :: State LayoutVars (MetaTree Room String)
|
||||
tutHub = do
|
||||
(is, wbp) <- setTreeInts =<< critsRoom 2
|
||||
(is, wbp) <- setTreeInts =<< critsRoom 1
|
||||
i <- nextLayoutInt
|
||||
j <- nextLayoutInt
|
||||
k <- nextLayoutInt
|
||||
|
||||
Reference in New Issue
Block a user