Adjust dungeon bounds some more (#16929)

This commit is contained in:
metalgearsloth
2023-05-29 21:48:15 +10:00
committed by GitHub
parent 35a2afdcff
commit 94f3e55e5a
2 changed files with 9 additions and 7 deletions

View File

@@ -87,6 +87,8 @@ public sealed class DungeonTests
var rotated = new Vector2i(pack.Size.Y, pack.Size.X); var rotated = new Vector2i(pack.Size.Y, pack.Size.X);
Assert.That(sizes.Contains(pack.Size) || sizes.Contains(rotated), $"Didn't find any dungeon room prototypes for {pack.Size} for {preset.ID} index {i}"); Assert.That(sizes.Contains(pack.Size) || sizes.Contains(rotated), $"Didn't find any dungeon room prototypes for {pack.Size} for {preset.ID} index {i}");
Assert.That(pack.Bottom, Is.GreaterThanOrEqualTo(0), "All dungeon room packs need their y-axis to be above 0!");
} }
} }
}); });

View File

@@ -28,10 +28,10 @@
- type: dungeonPreset - type: dungeonPreset
id: FourSquare id: FourSquare
roomPacks: roomPacks:
- -38,0,-21,17 - -38,18,-21,35
- -8,18,9,35 - -8,36,9,53
- 22,0,39,17 - 22,18,39,35
- -8,-18,9,-1 - -8,0,9,17
- -2,0,3,17 - -2,18,3,35
- -20,6,-3,11 - -20,24,-3,29
- 4,6,21,11 - 4,24,21,29