dungeon changes

This commit is contained in:
dingo
2026-02-08 22:21:03 -05:00
parent b5738e0db3
commit 469f1976bd
7 changed files with 621 additions and 97 deletions
+12 -1
View File
@@ -234,10 +234,21 @@ public sealed class DungeonBossState {
- [x] Added runtime flag `BossesRespawnOnReload` (default `false`) and wired respawn behavior to preserve defeated bosses when `false`.
- [x] Admin-spawned bosses now increment runtime boss target count.
- [x] Restore path now reapplies defeated-boss progress from persisted mob state (including runtime/admin-spawned boss IDs).
- [ ] Persist `BossesRespawnOnReload` as authored dungeon metadata.
- [x] Persist `BossesRespawnOnReload` in persisted dungeon runtime metadata (JSON payload, backward-compatible with legacy list format).
- [ ] Replace current generators with full `DungeonGeneratorVNext` (BSP + Random Walk + bucket-constrained floors/walls).
- [ ] Add VNext offline validation harness and side-by-side `/admin/dungeonbuilder/testgen` integration.
### Current VNext Scaffold Notes
- `DungeonGeneratorVNext` scaffold class added and feature-flagged (`Dungeon:EnableVNextGenerator` or env `DUNGEON_VNEXT_ENABLED`).
- Runtime generation flow now calls shared helper: `VNext -> V3 -> V2 -> V1` fallback.
- VNext now has a first-pass native layout pipeline:
- BSP-style partition + room carving
- Random-walk corridor carving with 2-4 tile width
- Tier-scaled dungeon size and room count
- Multi-boss room allocation for tier 6+
- Deterministic spawn/chest placement with at least one boss spawn
- Remaining VNext work: bucket-constrained floor/wall authoring rules, wall 8-neighbor mask resolution, validation/repair passes, and admin test harness parity.
## Acceptance Criteria
1. No invalid floor-floor bucket adjacency in validation output.
2. Corridor width always in `[2,4]`.