Continue link cleanup
This commit is contained in:
@@ -102,11 +102,11 @@ rezBoxes = do
|
||||
centralRoom <- shuffleLinks $ setInLinksPD bottomEdgeTest
|
||||
((roomRectAutoLinks w h) {_rmPmnts = []})
|
||||
let n = length $ filter bottomEdgeTest $ map lnkPosDir $_rmLinks centralRoom
|
||||
centralRoom' <- changeLinkFrom bottomEdgeTest centralRoom
|
||||
-- let centralRoom' = restrictOutLinks bottomEdgeTest centralRoom
|
||||
return $ treeFromTrunk [PassDown $ rezBox thecol
|
||||
, PassDown door
|
||||
]
|
||||
(Node (PassDown centralRoom') (replicate (n-1) dbox ++ [Node (UseAll door) []]))
|
||||
(Node (PassDown centralRoom) (replicate (n-1) dbox ++ [Node (UseAll door) []]))
|
||||
|
||||
|
||||
rezColor :: RandomGen g => State g LightSource
|
||||
|
||||
Reference in New Issue
Block a user