Add optional includes to aid modding
For example, unitsdefs_posts could include a file that mutators can include so that modders can use unitsdefs_posts without overriding the base ZK version (risking mod breakage if ZK updates unitdefs_posts). There are probably more things to do, but I cannot think of them at the moment.
Support for mod-side weapondefs_mod and explosions_mod files was added in #4526.
This issue asks for optional files that let mods add definition changes. c46a5f277 completes the unit definition hook; 0eb953f65 adds weapon and explosion hooks. No test was run; this is from the code and history. This looks resolved; it can be closed if the reporter agrees.
Found with help from OpenAI Codex and Claude Code.
Sometime along the way we have discovered that it would be good to have folders with snippets rather than a single mod_posts file, so that multiple mutators can add their own hooks simultaneously. It might have been written into another ticket though.