feat(editor): add WSEA JSON round-trip authoring workflow

Closes the WSEA open-format loop with --export-wsea-json /
--import-wsea-json, mirroring the JSON pairs added for
every other novel binary format. All 25 binary formats
added since WOL now have full JSON round-trip authoring.

Each event round-trips all 11 scalar fields. Two enum-typed
fields emit dual int + name forms:
  • holidayKind  (combat / collection / racial / anniversary /
                   fishing / cosmetic / world-event)
  • factionGroup (both / alliance / horde)

Verified byte-identical round-trip on the yearly preset
(4 holidays — Hallow's End / Brewfest / Lunar Festival /
Winter's Veil — with full WTKN tokenIdReward cross-refs
preserved through the JSON layer).

Adds 2 flags (623 documented total now).
This commit is contained in:
Kelsi 2026-05-09 17:24:50 -07:00
parent 8ab049ff9d
commit fea437dd6f
3 changed files with 152 additions and 0 deletions

View file

@ -91,6 +91,7 @@ const char* const kArgRequired[] = {
"--export-wtit-json", "--import-wtit-json",
"--gen-events", "--gen-events-yearly", "--gen-events-weekends",
"--info-wsea", "--validate-wsea",
"--export-wsea-json", "--import-wsea-json",
"--gen-mounts", "--gen-mounts-racial", "--gen-mounts-flying",
"--info-wmou", "--validate-wmou",
"--gen-weather-temperate", "--gen-weather-arctic",