Add ngon rooms

This commit is contained in:
2021-11-20 20:17:05 +00:00
parent 454e702dc9
commit 48cd59069c
3 changed files with 26 additions and 6 deletions
+2 -2
View File
@@ -48,12 +48,12 @@ minigunfakeout = do
`treeFromPost` Right door
centralLasTurret :: Room
centralLasTurret = roomOctogon
centralLasTurret = roomNgon 8
rezThenLasTurret :: RandomGen g => State g (Tree (Either Room Room))
rezThenLasTurret = do
rbox <- rezBoxStart
return $ rbox `appendEitherTree` [return $ Right roomOctogon]
return $ rbox `appendEitherTree` [return $ Right centralLasTurret]
startRoom :: RandomGen g => State g (Tree (Either Room Room))
startRoom = join $ takeOne