Authoring tools
You don't write data by hand in JSON. Two UIToolkit editor windows generate code and data.
Type Designer — generate code from a type
Menu: Tools ▸ AchReactive ▸ Type Designer
Pressing Generate produces two files.
MonsterData.cs— anIDataimplementation that inheritsEntityData(Newtonsoft compatible)MonsterCsvMapper.cs— anICsvMapper<MonsterData>implementation
Supported field types: string, int, float, bool, and their array forms (string[], etc.).
Arrays are separated by | in CSV.
If you'd rather not generate, writing class MonsterData : EntityData { ... } by hand works 100% as well.
Data Editor — create/edit data
Menu: Tools ▸ AchReactive ▸ Data Editor
- Left: instance list (add with + Instance)
- Right: the selected instance's
idand the Reactions builder- Trigger dropdown — registered triggers + common channels (on_use, on_hit …)
- Conditions / Effects —
typeis a dropdown populated from the registry,paramsis JSON
- Top Export JSON… — save as a
reactions-format array
The key point is that you don't type trigger/condition/effect types directly.
The dropdowns expose only the names actually registered in the registry, so typos and unregistered types are blocked at the source.
The saved JSON is read by JsonDataLoader as is.
Authoring is UI, runtime consumption is data files — users never need to touch JSON directly.