/tg/ Station 13 - Modules - TypesVar Details

lua

Vars

editorsA list of open editors, with each key in the list associated with a list of editors. Tracks which UIs are open for each state so that they can be updated whenever code is run in the state.
gc_guardProtects return values from getting GCed before getting converted to lua values Gets cleared every tick.
statesA list of all lua states

Var Details

editors

A list of open editors, with each key in the list associated with a list of editors. Tracks which UIs are open for each state so that they can be updated whenever code is run in the state.

gc_guard

Protects return values from getting GCed before getting converted to lua values Gets cleared every tick.

states

A list of all lua states