mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
Add settings to game settingtypes.txt
This commit is contained in:
commit
31448654f0
2 changed files with 9 additions and 1 deletions
|
@ -11,7 +11,9 @@ local usages_cache = {}
|
|||
local fuel_cache = {}
|
||||
|
||||
local progressive_mode = M.settings:get_bool("craftguide_progressive_mode")
|
||||
local sfinv_only = M.settings:get_bool("craftguide_sfinv_only") and rawget(_G, "sfinv")
|
||||
local sfinv_only = M.settings:get_bool("craftguide_sfinv_tab") and rawget(_G, "sfinv")
|
||||
|
||||
if not sfinv_only then sfinv_only = true end
|
||||
|
||||
local after = M.after
|
||||
local colorize = M.colorize
|
||||
|
|
|
@ -64,3 +64,9 @@ enable_stairs_replace_abm (Replace old stairs) bool false
|
|||
# If enabled, use the engine's spawn search which does not check for a
|
||||
# suitable starting biome.
|
||||
engine_spawn (Use engine spawn search) bool false
|
||||
|
||||
# The craftguide only shows recipes you can craft with items you've had in your inventory.
|
||||
craftguide_progressive_mode (Progressive Craftguide) bool false
|
||||
|
||||
# Adds a craftguide tab in the minetest inventory.
|
||||
craftguide_sfinv_tab (Craftguide Tab) bool true
|
Loading…
Add table
Reference in a new issue