Skip to content

Add dungeoneering dungeon generation system#993

Draft
GregHib wants to merge 11 commits into
mainfrom
dungeon-gen
Draft

Add dungeoneering dungeon generation system#993
GregHib wants to merge 11 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 dungeon command to generate and enter dungeons
  • Fix cooking range anim
  • Fix dungeon complexity selection

TODO:

  • Fix: "No matching layout template found for occult_c3_normal room at (0, 1) [false, true, false, false]"
  • Commands for debugging dungeons + rooms
  • Fix instance sizes for med+large dungeons
  • Entering doors
  • Door spawns
  • Door unlocking
  • Key dropping
  • Nicer console map printing
  • Link up map interface
  • Gradually reveal map

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 25, 2026

Qodana for JVM

7 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 2
Control flow with empty body 🔶 Warning 1
Unused variable 🔶 Warning 1
Redundant curly braces in string template ◽️ Notice 3

💡 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 52.27766% with 220 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.72%. Comparing base (b811abf) to head (091f2e7).

Files with missing lines Patch % Lines
...in/content/skill/dungeoneering/DungeonGenerator.kt 69.57% 74 Missing and 20 partials ⚠️
...n/kotlin/content/skill/dungeoneering/DungeonMap.kt 6.06% 62 Missing ⚠️
...otlin/content/skill/dungeoneering/Dungeoneering.kt 3.84% 50 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/skill/dungeoneering/DungeonRoom.kt 75.00% 2 Missing ⚠️
...nt/area/wilderness/daemonheim/DungeonComplexity.kt 66.66% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
.../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%) ⬇️
...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%) ⬇️
.../kotlin/content/skill/dungeoneering/DungeonRoom.kt 75.00% <75.00%> (ø)
...lin/content/area/wilderness/daemonheim/Smuggler.kt 2.27% <0.00%> (-0.20%) ⬇️
...otlin/content/skill/dungeoneering/Dungeoneering.kt 3.84% <3.84%> (ø)
...n/kotlin/content/skill/dungeoneering/DungeonMap.kt 6.06% <6.06%> (ø)
... and 1 more

... and 1 file with indirect coverage changes

@@             Coverage Diff              @@
##               main     #993      +/-   ##
============================================
+ Coverage     37.63%   37.72%   +0.09%     
- Complexity     8245     8338      +93     
============================================
  Files          1696     1703       +7     
  Lines         68641    69100     +459     
  Branches      17296    17402     +106     
============================================
+ Hits          25834    26071     +237     
- Misses        36980    37181     +201     
- Partials       5827     5848      +21     
Components Coverage Δ
Content 35.78% <52.73%> (+0.16%) ⬆️
Engine 45.55% <0.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.

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