P06-03: Show Mana supply, consumption and storage; prove new-PID recovery

HUD tooltip reports world tree supply, upkeep consumption, net, stored amount
and the last boundary's shortage/overflow. A writer/reader pair saves mid-outage,
recovers in a new process and matches the writer exactly while DESTROYED and
RAIDED suspensions stay in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Takeshi
2026-10-20 08:59:59 +09:00
co-authored by Claude Opus 5.5
parent db5ca62e42
commit 826ef606df
5 changed files with 187 additions and 1 deletions
+2
View File
@@ -64,6 +64,8 @@ func _run() -> void:
_state.set_resource(&"mana", 0)
_expect("停止" in mana_label.text and "0" in mana_label.text, "resource signal visibly identifies zero-reserve outage")
_expect("残量と配電" in mana_label.tooltip_text and "休止は解除されません" in mana_label.tooltip_text, "mana HUD explains recovery without promising suspension reset")
_expect("供給 +20" in mana_label.tooltip_text and "消費 −" in mana_label.tooltip_text and "蓄積 0/300" in mana_label.tooltip_text, "mana HUD shows A06 supply, consumption and storage")
_expect(mana_label.text.ends_with("/300・停止"), "mana HUD shows capacity with outage")
if OS.get_environment("THE_TREE_MANA_CAPTURE") == "1":
await process_frame
await RenderingServer.frame_post_draw