1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 16:53:54 +00:00
openmw/docs/source/reference/modding/settings/lua.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
634 B
ReStructuredText
Raw Normal View History

Lua Settings
############
lua debug
---------
:Type: boolean
:Range: True/False
:Default: False
Enables debug tracebacks for Lua actions.
It adds significant performance overhead, don't enable if you don't need it.
This setting can only be configured by editing the settings configuration file.
lua num threads
---------------
:Type: integer
:Range: 0, 1
:Default: 1
The maximum number of threads used for Lua scripts.
If zero, Lua scripts are processed in the main thread.
If one, a separate thread is used.
Values >1 are not yet supported.
This setting can only be configured by editing the settings configuration file.