i decided to download the source code and mess around. here’s something i found.
the changes active while i discovered this are, in git diff format:
diff --git a/src/create-map.ts b/src/create-map.ts
index 2a5573b..2f9caf6 100644
--- a/src/create-map.ts
+++ b/src/create-map.ts
@@ -145,6 +145,10 @@ function createGameMapRoughPlans(numMaps: number, totalLoot: number, rng: RNG, f
levelTypeManor = (rng.random() < 0.5) ? LevelType.Manor : LevelType.ManorRed;
}
+ if (level > 0) {
+ levelType = LevelType.Fortress;
+ }
+
const [numRoomsX, numRoomsY] = makeLevelSize(level, levelType, levelRNG);
gameMapRoughPlans.push({
@@ -1377,7 +1381,8 @@ function createRooms(
gridY: -1,
});
- const roomTypeCourtyard = (levelType === LevelType.Mansion || levelType === LevelType.Warrens) ? RoomType.Exterior : RoomType.PublicCourtyard;
+ // const roomTypeCourtyard = (levelType === LevelType.Mansion || levelType === LevelType.Warrens) ? RoomType.Exterior : RoomType.PublicCourtyard;
+ const roomTypeCourtyard = RoomType.Exterior;
for (let rx = 0; rx < roomsX; ++rx) {
for (let ry = 0; ry < roomsY; ++ry) {