@@ -9,14 +9,14 @@ LuaJIT modules live under `game/lua` in three separate roots:
99
1010``` text
1111lua/
12- object_logic/ # @luaparent modules and their private helpers
12+ object_logic/ # @lua/parent modules and their private helpers
1313 global_logic/ # globally matched command and scheduled modules
1414 packages/ # shared require-only helpers
1515```
1616
1717## Object and global logic
1818
19- Attach a module to an object with the wizard-only `@luaparent
19+ Attach a module to an object with the wizard-only `@lua/parent
2020<object >=<path >.lua` ; the path is relative to ` object_logic`, and omitting it
2121clears the attachment. The closest attachment in the object's ordinary MUX
2222parent chain is active. See [ Object scripting] ( scripting-objects/ ) for the
@@ -49,7 +49,7 @@ five-field UTC cron expressions. Object schedules run once for every object
4949that effectively inherits the Lua parent; global schedules run once per
5050matching module entry. Scheduled jobs receive deterministic jitter and do not
5151replay missed minutes. Inspect active schedules with the wizard-only
52- ` @luaschedule ` command.
52+ ` @lua/schedule ` command.
5353
5454## Imports
5555
@@ -75,8 +75,8 @@ callback has an instruction cap.
7575
7676## Validating and reloading
7777
78- Use the wizard-only ` @luacheck ` to verify every module before putting
79- changes into service, then ` @luareload ` to atomically rebuild the Lua state
78+ Use the wizard-only ` @lua/check ` to verify every module before putting
79+ changes into service, then ` @lua/reload ` to atomically rebuild the Lua state
8080from every attached module, every global logic module, and their
8181dependencies. If a file or dependency fails to load, the current state
8282remains active. See [ Validating and reloading] ( validating-and-reloading/ ) .
@@ -88,8 +88,8 @@ it to an object, then enter `hello` while that object is in the normal
8888command-match scope:
8989
9090``` text
91- @luaparent #123=example.lua
92- @luareload
91+ @lua/parent #123=example.lua
92+ @lua/reload
9393```
9494
9595` game/lua/object_logic/counter.lua ` demonstrates durable state. Its ` count `
@@ -100,8 +100,8 @@ survives Lua reloads and server restarts.
100100replacement:
101101
102102``` text
103- @luaparent #456=events/enter_notice.lua
104- @luareload
103+ @lua/parent #456=events/enter_notice.lua
104+ @lua/reload
105105```
106106
107107Its ` aenter ` function runs whenever the existing action-attribute path would
0 commit comments