feat(mod-api): expose field residual descriptors

This commit is contained in:
MaxTomahawk
2026-08-24 09:32:34 +02:00
parent e88f2ef060
commit 2ad2e028d1
7 changed files with 772 additions and 0 deletions
+3
View File
@@ -783,6 +783,9 @@ name and the existing payload, plus fields where Gen 2 genuinely carries more
The list is much shorter than it was. What is outstanding, in descending value:
- `battle.field_residual`: the first guarded call site is in Gen 1 end-of-round
processing. Gold already has a native weather/between-turn pipeline but does
not yet expose the shared data-only descriptor hook.
- `trainer.before_battle`: Gold constructs and pushes its trainer battle in
`src/world/gen2/World.lua:startBattle`, which does not yet expose a deferred
preparation boundary or a battle-local player-party view. Gen 1 mods can use