Lua Dev Console
The dev console is now a full embedded Lua REPL powered by MoonSharp. Open it with ~ while hosting and write real Lua;
spawn enemies, NPCs, weapons, bots, and whole scenes with named arguments and loops. spawn("villager", { name="Old
Hodge", at={8000, 16000} }) just works.
Scene scripts can be checked into the repo and run at startup: --exec-file scripts/tavern.lua loads a reproducible
test scene every time. --exec "..." handles inline strings and --exec - reads from stdin for composing multiple
scripts.
New globals: spawn, kill, give, hp, god, tp, status, list, and a bot table for spawning controllable
bots. See docs/dev_console.md for the full API reference.