v0.57.8 Hotfix + Safe Haven Cleanup
Follow-up to v0.57.7. One design rip, one combat bug, and a security fix on the server side.
Safe havens removed
The v0.57.7 patch tried to fix a report where the dungeon guide pointed to "Heart-Fire Sanctuary" as the nearest safe haven while the player was standing in Magma Chamber, which was also a safe haven. That patch printed a "you're already in one" line above the destinations list and called it done. Going back through the fix made it clear the whole feature earned its confusion.
- Safe haven was a separate flag layered on top of MeditationChamber and Settlement rooms. Two independent generator rules set it with no coordination, so a floor could have multiples.
- Generic "make camp" in any cleared room gave 25% restore. Safe haven camp gave 33% plus a poison cure. Both shared the same once-per-floor gate, so every safe haven past the first was unreachable content after any rest.
- The mechanical delta was small enough most players never noticed which they were in.
Decision: rip it out. The IsSafeRoom flag is gone, the dungeon guide no longer lists [H] Nearest safe haven, the map legend no longer has a ~ marker. Meditation Chambers still exist and still fire the full RestSpotEncounter on investigate, including 33% restore, poison cure, Amnesia dream sequences, ghost companion buffs from Survivor's Guilt, and the Alethia appearances on floors 60 to 85. That content was never tied to the flag, it was tied to the room type. The feature just doesn't wear a second confusing label anymore.
Teammate auto-equip offered Aldric a bow
Krunch screenshot: a Fine Short Bow dropped, it was a downgrade for the player so they hit Pass, and the v0.57.7 teammate auto-equip prompt fired:
Aldric could equip this - Fine Short Bow would be an 800% upgrade.
Currently wearing: Fine Leather Shield [Block:11 Def:+2 Con:+2]
Would replace with: Fine Short Bow [WP:11 Def:+1 Dex:+1 Agi:+1]
Let Aldric take it? (Y/N) y
You nod. Aldric gears up.
The item is left behind.
Aldric is a Tank-role companion and physically cannot equip bows. The companion whitelist is right there on the Equipment object: swords, axes, maces, hammers, flails, mauls, greatswords, greataxes. But the auto-equip filter did its own ad-hoc class and ability scan and never called the authoritative Equipment.CanEquip check. The bow slipped through, got scored at 800% upgrade because the shield it was comparing against has 0 weapon power, the prompt fired, the player said yes, the actual equip silently failed on the whitelist, and they saw both "Aldric gears up" and "The item is left behind" back to back.
Two fixes.
- The filter now calls Equipment.CanEquip on a hypothetical conversion of the loot item before accepting any teammate as a candidate. That is the same check the real equip path uses, so the prompt and the equip now agree. It covers class restrictions, the companion-specific weapon whitelist, Mystic Shaman weapon restrictions, alignment, armor weight, level, and strength in one call.
- The "You nod. X gears up." line moved out of the confirmation helper. It used to print the moment the player pressed Y, before the equip ran. Now it prints only after the equip succeeds, immediately before the "picks up" broadcast. If any late validation ever fails, the player sees only "The item is left behind," never the contradictory pair.
