Modding Wiki
The wiki is a collection of short, focused entries on:
- Gotchas β bugs, edge cases, surprising behavior.
- Patterns β recurring techniques used by mods.
- Workflow β modder workflow tips.
Unlike the API reference (organized by abstraction), the wiki is organized by topic.
Planned topics
Section titled βPlanned topicsβ- Game data gotchas β UI scale vs internal scale, money/prices Γ100 in logs, faction relation float vs uivalue.
- MD patterns β Bridge/Worker pattern, listener race avoidance, reset_cue for recurring workers, library for return-by-value.
- MD traps β XML comment double-hyphen breaks scripts, instantiate=true drops entity writes, signal_cue param drops, double quotes in attr strings break LIBXML2.
- Lua/UI traps β utf8 missing, uitable as widget ID, FFI restrictions.
- Workflow β deploy paths (Steam only), reading debug.log, full sync after every build.