fix(ui): match retail vitae and character info

Restore Vitae's omitted penalty paragraph, replace the invented character summary with gmCharacterInfoUI's ordered report and property meanings, preserve authored translucent body surfaces, and initialize the end-session button in its visible Normal DAT state.

Release build and all 5,830 tests pass with five intentional skips. Connected visual gate pending.

Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-17 12:06:14 +02:00
parent d1d603105f
commit 16c21e299c
21 changed files with 771 additions and 303 deletions

View file

@ -20,6 +20,20 @@ public class BurdenMathTests
public void LoadRatio_is_burden_over_capacity(int cap, int burden, float expected)
=> Assert.Equal(expected, BurdenMath.LoadRatio(cap, burden), 4);
[Theory]
[InlineData(0.5f, 1f, 0)]
[InlineData(1f, 1f, 0)]
[InlineData(1.25f, 0.75f, 30)]
[InlineData(1.5f, 0.5f, 50)]
[InlineData(2f, 0f, 100)]
[InlineData(3f, 0f, 100)]
public void LoadModifier_and_character_info_penalty_match_retail(
float load, float modifier, int penalty)
{
Assert.Equal(modifier, BurdenMath.LoadModifier(load), 4);
Assert.Equal(penalty, BurdenMath.LoadPenaltyPercent(load));
}
[Theory]
[InlineData(0f, 0f)]
[InlineData(0.5f, 0.16667f)]