Settingtypes.txt

From Old MT Dev
Revision as of 12:51, 24 October 2022 by >ROllerozxa
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Mbox warning.png This page contains unofficial, low-quality Lua API documentation and is likely to be outdated or wrong. Do not rely on it!
For the official and up-to-date documentation, see Lua API Documentation.
Mbox warning.png This page has been proposed for deletion for the following reason: "Contains unofficial and potentially outdated, redundant and inconsistent Lua API information"
If you don't think that this page should be deleted, please explain why on the talk page.

The settingtypes.txt file contains mod settings displayed in the settings menu. They are not used for the settings API in Lua or in C++; in particular, the Lua API will return nil if the setting is not defined in the configuration, regardless of the default value set in this file.

For information about the settingtypes.txt format, see builtin settingtypes.txt.