mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 09:18:37 +00:00
A Lua mod for in-game gates and A/Bs: it presses Enter through the title's menus only once frames have moved on since the last press, shows control by holding W (the player must walk 1 to 30 m in 3 s; more is the title placing the player, which it waits out without a press), then stands still (idle) or walks a fixed loop (roam). It logs GATE PRESS/PROBE/CONTROL/MARK/SHOT/FAIL lines with distances only, never a position. It ships disabled; a run enables a copy with LEONIDA_MODS and needs LEONIDA_GAME_ACTIONS=1 for the player's position. The logic is in driver.lua and takes the calls it uses as an argument, so leonida-lua's tests run it on a stub with a simulated clock: menus, control, roam, no position, no control, a jump.
6 lines
72 B
JSON
6 lines
72 B
JSON
{
|
|
"name": "Gate driver",
|
|
"enabled": false,
|
|
"script": "main.lua"
|
|
}
|