Skip to content

Definition Reference

Use this section as the API-style reference for Lilia definition files. Each page follows the same pattern: overview, reference entries, callback details, and complete examples where available.

Lilia Reference

Schema, item, module, and UI definitions in one browseable tree

Start with the definition type you are editing, then use the field and callback entries as a checklist while writing Lua.

Core

Items

Interface

Authoring Pattern

Section What it answers
Overview What this definition controls and where it fits in the framework.
Purpose What a field or callback changes.
When Called When Lilia reads the field or invokes the callback.
Realm Whether the callback is server, client, or shared.
Parameters The values passed into callbacks.
Returns Expected callback return values.
Example Minimal Lua showing the field or callback in context.