Skip to content

Module: Main

Andre Issa edited this page Sep 2, 2021 · 20 revisions

Members accessible via the ModUtil table

This module relates to operations that rely on being performed after Main.lua finishes.

Mod.Register modName(string) ~ parent(nil|table) mod(Mod)
Creates a new table with ModUtil.Mod as its fallback metamethod, and assignes it to the field [modName] in the parent (or global) table, and associates the path to the table as an identifier of it.
Entangled.ModData value(table) proxy(*table)
Mod.Data mod(Mod) modData(*table)
LoadOnce func((...)->(...)) --
CancelLoadOnce func((...)->(...)) --
Clone this wiki locally