Lua modding API¶
Reference for the Lua surface mods may call. Packs register content with
JSON/XML; optional LuaScriptPath scripts implement behavior through
hooks and these APIs — not through io, os, or World.Map.
Start here¶
Reference¶
| Page | Role |
|---|---|
| World | Map queries and mutations (30 helpers) |
| Utils | Geometry / list helpers |
| Item | self.item proxy |
| Armor | self.armor proxy |
| Creature | self.creature proxy |
| Player | self.player proxy |
| Structure | self.InWorldStructure proxy |
| Flora | self.flora proxy |
| Projectile | self.projectile proxy |
| Hooks | Script callback names by base class |
Generated 2026-08-14T18:38:10.4882241Z · b67bc26a · 7 proxy pages.