Files
h-school/tests/HSchool.AppHost.Tests/golden/README.md
T
Leonid PershinandCursor 53c4ae0f92 Sum warmth insulation from worn items and refresh goldens for the new trait pool.
HeatLoving and ColdLoving shift later trait rolls; worn clothes now feed PersonInsulation instead of reflection.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 04:00:53 +03:00

22 lines
965 B
Markdown

# Golden saves
`current/` is a school file of today's format. `legacy-no-native/` is the same school without
`nativeLanguage`, so a missing field still has to mean "first language of the name set" rather
than a new roll.
These files live forever: a new save field must load `current/` and must not reshuffle
`legacy-no-native/`. A real format change adds a new folder; it does not rewrite the old one.
Phase 31 rewrote `current/1.people.json` because people are born dressed (`items` on each
person, plus `Hauling`). `legacy-no-native/` is left as it was: no inventory, so load still
has to dress them and must not reshuffle names.
Phase 32 rewrote `current/1.people.json` again: `Warmth` plus `HeatLoving` / `ColdLoving` in
the trait pool. `legacy-no-native/` stays historic.
Regenerate after an intentional roster change (same commit):
```
WRITE_GOLDEN=1 dotnet test tests/HSchool.People.Tests/HSchool.People.Tests.csproj --filter Dump_HostSaveFixtures
```