Methods
Registry.createMap(id: string, world: World, : any)
Arguments:
id: string | |
world: World | |
: any |
Returns:
1: Map |
Registry.getBattleCutscene(group: string, id: string?)
Arguments:
group: string | |
id: string? |
Returns:
cutscene: function|nil | |
grouped: boolean|nil |
Registry.getEventScript(group: string, id: string?)
Arguments:
group: string | |
id: string? |
Returns:
cutscene: function|nil | |
grouped: boolean|nil |
Registry.getWorldCutscene(group: string, id: string?)
Arguments:
group: string | |
id: string? |
Returns:
cutscene: function|nil | |
grouped: boolean|nil |
Registry.iterScripts(base_path: string, exclude_folder: boolean?)
Arguments:
base_path: string | |
exclude_folder: boolean? |
Returns:
1: fun()string?, string?, ...unknown |
Registry.registerBattleCutscene(id: string, cutscene: function|table<string, function>)
Arguments:
id: string | |
cutscene: function|table<string, function> |
Registry.registerController(id: string, class: Event|Object)
Arguments:
id: string | |
class: Event|Object | The base class of all objects in Kristal. |
Registry.registerEvent(id: string, class: Event|Object)
Arguments:
id: string | |
class: Event|Object | The base class of all objects in Kristal. |
Registry.registerEventScript(id: string, script: function|table<string, function>)
Arguments:
id: string | |
script: function|table<string, function> |
Registry.registerGlobal(id: string, value: any, no_warning: boolean?)
Arguments:
id: string | |
value: any | |
no_warning: boolean? |
Registry.registerWorldCutscene(id: string, cutscene: function|table<string, function>)
Arguments:
id: string | |
cutscene: function|table<string, function> |