Files
gogobee/internal/plugin/zone_graph_drowned_star_test.go
prosolis d9541f07f1 adventure: Tier 6 postgame "Mythic" dungeons (P1–P7 calibration)
Five post-game dungeons above the T5 ceiling, gated on both T5 bosses beaten
+ level 18. Opt-in endgame: deadly solo, clearable by a party with Pete + pets.

- P1 gating: postgameUnlocked (T5 clears + level floor), zonesForLevel excludes
  T6 unconditionally; wired into startZoneRun, !zone/!expedition, party accept,
  boredom picker, and the list dividers.
- P2 bestiary: 15 elites + 5 signature bosses (Layer-1 stat blocks).
- P3 zone defs + 4-region registries; ZoneLootEntry.BossOnly.
- P4 five zone graphs on a shared builder (44–52 rooms, no soft-lock; Ossuary
  secret Verse nodes).
- P5 loot: BossOnly enforced; signature items are real registry magic items;
  five Thom pity recipes off the per-zone crafting anchors.
- P6 narration/flavor (5 files), T6 achievements, Pete stays zone-parametric.
- P7 (in progress): sim can now reach gated T6 (SimRunner.SeedPostgameUnlock +
  IsPostgameZone). First calibration pass on millenia — hardened ossuary +
  drowned_star, softened first_hoard + unplace; last_meridian in band.

Fix: party members were refused from every T6 zone because expeditionCmdAccept
ran the level gate (which excludes T6) before the postgame check — the intended
party endgame was unreachable. Route T6 through postgameUnlocked. Regression
tests added.
2026-07-15 23:17:07 -07:00

26 lines
731 B
Go

package plugin
import "testing"
func TestDrownedStarGraph_Invariants(t *testing.T) {
assertPostgameGraph(t, ZoneDrownedStar, zoneDrownedStarGraph)
}
// TestDrownedStarGraph_PilgrimGrace verifies the CHA pilgrim-route capstone
// spur and the radiant secret pockets are authored.
func TestDrownedStarGraph_PilgrimGrace(t *testing.T) {
g := zoneDrownedStarGraph()
if got := countSecretNodes(g); got != 3 {
t.Errorf("secret nodes = %d, want 3", got)
}
chaSpur := false
for _, e := range g.outgoingEdges("drowned_star.fork3") {
if e.Lock == LockStatCheck && lockDataString(e.LockData, "stat") == "CHA" {
chaSpur = true
}
}
if !chaSpur {
t.Error("Drowned Star capstone should offer a CHA pilgrim-route spur")
}
}