LuaRequireMode coding group

Controls what libraries are available for Lua scripts.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.LuaRequireMode.LRM_INHERIT

Codings

Name Code Description
LRM_INHERIT 2 Script Require Mode is inherited from the next ancestor Core
LRM_PERMISSIVE 0 All libraries are available for all scripts
LRM_RESTRICTIVE 1 Libraries are controlled by Lua Library Permissions property