mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 21:48:37 +00:00
What: mods/example_lua (mod.json disabled by default, main.lua: a frame-rate and time line in the lower left, a page in the F4 menu with a toggle, a number and two actions, an F9 key handler); docs/lua-modding.md (the API reference, the sandbox rules, what is not available and why, what was not tried), pointers in docs/README.md, docs/mod-menu.md, docs/modding.md and a row in d3d12/README.md. tools/leonida_mods.py reads "script": it must be a .lua path inside the folder, the list shows `Lua main.lua`, the JSON report has "script", and a Lua mod no longer warns that it has no archetype_swaps. Why: a Lua mod is mods\<name>\mod.json plus a script, so the manager that lists the asset mods should list these too, and a mod author needs the reference. How checked: python -I tests/test_leonida_mods.py (13 tests, 3 new, pass; the one failure, test_run_print_builds_gta6rt_command, fails the same on the base: no gta6rt build here). The example's script was not run in the title. AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>