Add settings to game settingtypes.txt

This commit is contained in:
LoneWolfHT 2019-06-16 21:26:01 -07:00
commit 31448654f0
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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