Move towards better annotations when generating layouts
This commit is contained in:
+6
-4
@@ -47,7 +47,7 @@ initialAnoTree = padSucWithDoors $ treeFromTrunk
|
||||
, [SpecificRoom $ return . UseAll <$> tanksRoom [] []]
|
||||
, [PassthroughLockKeyLists 2 lockRoomKeyItems itemRooms]
|
||||
, [SpecificRoom randomChallenges]
|
||||
, [AnoApplyInt 1 lasSensorTurretTest]
|
||||
, [AnoApplyInt' 1 lasSensorTurretTest "lasSensorTurretTest"]
|
||||
-- ,[SpecificRoom $ fmap singleUseAll roomCCrits]
|
||||
-- ,[AirlockAno]
|
||||
-- ,[Corridor]
|
||||
@@ -92,6 +92,8 @@ initialAnoTree = padSucWithDoors $ treeFromTrunk
|
||||
[SpecificRoom $ fmap (pure . UseAll) (telRoomLev 1)]
|
||||
|
||||
{- | A test level tree. -}
|
||||
initialRoomTree :: State StdGen (Tree Room)
|
||||
initialRoomTree = do
|
||||
expandTree <$> mapM anoToRoomTree initialAnoTree
|
||||
initialRoomTree :: State StdGen (Tree (SubCompTree Room,String))
|
||||
initialRoomTree = mapM anoToRoomTree initialAnoTree
|
||||
--initialRoomTree :: State StdGen (Tree Room)
|
||||
--initialRoomTree = do
|
||||
-- expandTree <$> mapM anoToRoomTree initialAnoTree
|
||||
|
||||
Reference in New Issue
Block a user