Repository navigation
Chef Shared Loader 1.3.0
A mod that crashes the game stays on with that call skipped (off only after 3 launches in a row), a crash on one kind of unit is refused for every mod, trusted mods can build bigger patch files, and HD2 Lua Runtime mods can say what they need, ask for access, recolor live and hand data to trusted mods.
- A mod that crashes the game stays on: the call that crashed is skipped, and the mod is turned off only when it ends 3 launches in a row. An update of the mod tries its skipped calls again. A mod that crashes the game while it starts still isn't started again until it's updated.
- A mod turned off after a crash comes back on when it's updated, and now the calls of its that crashed are tried again too.
- A call on one kind of unit, made with only the unit, that ended the game for one mod is now refused for every mod. An update of the loader or of the game tries it again.
- Trusted mods can build much bigger game patch files (up to 2,097,152 rows), and the log says why a patch file too big for mods isn't read.
- Mods made for the HD2 Lua Runtime can list what they need and ask for access before they use it; what the loader lacks is named in the log, a notice and chef_loader_health.txt.
- HD2 Lua Runtime mods get that runtime's live palette material calls: a mod can recolor its own copies, and the game's medium cape, during play.
- Inboxes: a trusted mod can take plain data from any mod. Calls made before it's ready are held for it (16 per mod and call) and made once it is.
- For language file makers: two new notices that start with a mod's name.
- Full list: CHANGELOG.md. For mod authors: docs/MODDING.md.
Updating: replace 1.2.4 with this zip in your mod manager, keep it at the highest priority, then Purge and Deploy.
Credits: RatInPlat, for what an HD2 Lua Runtime mod needs and asks for, the live palette material calls and the trusted mods' inbox views (pull request #8).
Download: Chef-Shared-Loader-1.3.0.zip below (not the source code). Mod authors: chef_loader_stub.lua is the start-up stub to carry as your mod's boot (docs/MODDING.md, "Carrying the stub").