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

40 lines
930 B
ReStructuredText

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.
i18n preferred languages
------------------------
:Type: string
:Default: en
List of the preferred languages separated by comma.
For example "de,en" means German as the first prority and English as a fallback.
This setting can only be configured by editing the settings configuration file.