feat(editor): add WRUN JSON round-trip (export/import sidecar)

Closes the JSON round-trip gap on the DK rune cost catalog
format shipped this batch. --export-wrun-json emits all 9
scalar fields plus a dual int + name form for spellTreeBranch
(4 values) so hand-edits can use either representation.
--import-wrun-json accepts either form. Verified byte-
identical round-trip on all three preset emitters (starter
3-cost / blood-tree 4-cost / frost-tree 4-cost).
849 documented CLI flags.
This commit is contained in:
Kelsi 2026-05-09 20:55:07 -07:00
parent ad603c0c44
commit 0574a0f5d8
3 changed files with 136 additions and 0 deletions

View file

@ -190,6 +190,7 @@ const char* const kArgRequired[] = {
"--export-wbnk-json", "--import-wbnk-json",
"--gen-rune", "--gen-rune-blood", "--gen-rune-frost",
"--info-wrun", "--validate-wrun",
"--export-wrun-json", "--import-wrun-json",
"--gen-weather-temperate", "--gen-weather-arctic",
"--gen-weather-desert", "--gen-weather-stormy",
"--gen-zone-atmosphere",