Tweak longRoom

This commit is contained in:
2022-03-20 13:46:31 +00:00
parent e811e67ff9
commit 6c3e335ded
6 changed files with 25 additions and 30 deletions
+7 -7
View File
@@ -293,13 +293,13 @@ deadEndRoom = defaultRoom
where
lnks = [(V2 0 30 ,0) ]
{- A random Either tree with a weapon and melee monster challenge. -}
weaponRoom :: RandomGen g => State g (SubCompTree Room)
weaponRoom = join $ takeOne
-- [ weaponEmptyRoom
[ weaponUnderCrits 0
-- , weaponBehindPillar
-- , weaponBetweenPillars
-- , weaponLongCorridor
weaponRoom :: RandomGen g => Int -> State g (SubCompTree Room)
weaponRoom i = join $ takeOne
[ weaponEmptyRoom
, weaponUnderCrits i
, weaponBehindPillar
, weaponBetweenPillars
, weaponLongCorridor
]
roomCCrits :: RandomGen g => State g Room