MSW Scripting (.mlua) — Framework + File Workflow + Playtest & Debugging mlua is Lua-based, but it has MSW-specific annotations, a lifecycle, and an execution-space model. General Lua knowledge alone will not produce working code. All work is done by editing files in the workspace directly , and code is validated in the order build logs → runtime logs . --- 1. Core Principles (must follow) 1.1 Existing Script First Before creating a new , glob/keyword-search under for an existing script with the same purpose — extending an existing file is always the first choice . Duplicate implementations r…