Skip to content

Add dungeoneering dungeon generation system#993

Merged
GregHib merged 27 commits into
mainfrom
dungeon-gen
May 29, 2026
Merged

Add dungeoneering dungeon generation system#993
GregHib merged 27 commits into
mainfrom
dungeon-gen

Conversation

@GregHib
Copy link
Copy Markdown
Owner

@GregHib GregHib commented May 25, 2026

Add a dungeon generation algorithm which are guaranteed to be complete-able with different sizes, complexities, locked doors and keys, puzzle rooms, bosses etc...

  • Add script which automates dumping dungeoneering map room info
  • Add start_dungeon command to generate and enter dungeons
  • Fix cooking range anim
  • Fix dungeon complexity selection
  • Fix object loading in rotated instance zones
  • Fix skillcape emote unlock

TODO:

  • Fix: "No matching layout template found for occult_c3_normal room at (0, 1) [false, true, false, false]"
  • Commands for debugging dungeons + rooms
  • Entering doors
  • Door spawns
  • Door unlocking
  • Key dropping
  • Key spawn points
  • Nicer console map printing
  • Link up map interface
  • Gradually reveal map
  • Fix floor item "ghosts" due to spawning at same time as map Fix floor item ghosting #1000

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 25, 2026

Qodana for JVM

4 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 3
Control flow with empty body 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2026

Codecov Report

❌ Patch coverage is 36.82065% with 465 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.44%. Comparing base (af74ba4) to head (4d1a03b).

Files with missing lines Patch % Lines
...kotlin/content/skill/dungeoneering/DungeonDoors.kt 5.08% 112 Missing ⚠️
...n/kotlin/content/skill/dungeoneering/DungeonMap.kt 20.76% 101 Missing and 2 partials ⚠️
...in/content/skill/dungeoneering/DungeonGenerator.kt 72.42% 53 Missing and 22 partials ⚠️
...otlin/content/skill/dungeoneering/Dungeoneering.kt 2.94% 66 Missing ⚠️
.../kotlin/content/skill/dungeoneering/DungeonRoom.kt 15.38% 54 Missing and 1 partial ⚠️
...lin/content/skill/dungeoneering/DungeonWorldMap.kt 7.14% 39 Missing ⚠️
...lin/content/area/wilderness/daemonheim/Smuggler.kt 0.00% 7 Missing ⚠️
...d/gregs/voidps/engine/data/config/RowDefinition.kt 0.00% 2 Missing ⚠️
...orld/gregs/voidps/engine/data/definition/Tables.kt 0.00% 2 Missing ⚠️
...kotlin/content/entity/player/modal/map/WorldMap.kt 0.00% 2 Missing ⚠️
... and 2 more
Additional details and impacted files
Files with missing lines Coverage Δ
.../voidps/engine/map/obj/MapObjectsRotatedDecoder.kt 82.50% <100.00%> (ø)
game/src/main/kotlin/content/quest/Cutscene.kt 88.37% <100.00%> (+0.13%) ⬆️
...me/src/main/kotlin/content/quest/InstanceLogout.kt 100.00% <100.00%> (ø)
.../kotlin/content/skill/dungeoneering/DungeonDoor.kt 100.00% <100.00%> (ø)
...lin/content/skill/dungeoneering/DungeonRoomType.kt 100.00% <100.00%> (ø)
.../kotlin/content/skill/dungeoneering/DungeonSize.kt 100.00% <100.00%> (ø)
...nt/area/wilderness/daemonheim/DungeonComplexity.kt 70.42% <66.66%> (-1.01%) ⬇️
...n/kotlin/content/entity/player/modal/tab/Emotes.kt 8.39% <66.66%> (+1.36%) ⬆️
...d/gregs/voidps/engine/data/config/RowDefinition.kt 8.69% <0.00%> (-0.40%) ⬇️
...orld/gregs/voidps/engine/data/definition/Tables.kt 43.24% <0.00%> (-0.48%) ⬇️
... and 8 more

... and 1 file with indirect coverage changes

@@             Coverage Diff              @@
##               main     #993      +/-   ##
============================================
- Coverage     37.46%   37.44%   -0.02%     
- Complexity     8201     8286      +85     
============================================
  Files          1696     1705       +9     
  Lines         68506    69232     +726     
  Branches      17292    17493     +201     
============================================
+ Hits          25663    25923     +260     
- Misses        37017    37456     +439     
- Partials       5826     5853      +27     
Components Coverage Δ
Content 35.39% <36.67%> (+<0.01%) ⬆️
Engine 45.38% <50.00%> (-0.02%) ⬇️
Network 60.09% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@GregHib GregHib marked this pull request as ready for review May 29, 2026 17:15
@GregHib GregHib merged commit ea30612 into main May 29, 2026
5 checks passed
@GregHib GregHib deleted the dungeon-gen branch May 29, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant