Add setting to disable waypoints

This commit is contained in:
SmallJoker 2023-11-20 17:54:44 +01:00
parent 380b77d0fb
commit 693ca112b8
2 changed files with 6 additions and 1 deletions

View File

@ -194,5 +194,7 @@ end
if minetest.settings:get_bool("unified_inventory_item_names") ~= false then
dofile(modpath.."/item_names.lua")
end
dofile(modpath.."/waypoints.lua")
if minetest.settings:get_bool("unified_inventory_waypoints") ~= false then
dofile(modpath.."/waypoints.lua")
end
dofile(modpath.."/legacy.lua") -- mod compatibility

View File

@ -10,6 +10,9 @@ unified_inventory_bags (Enable bags) bool true
# have this slot shown in their inventory.
unified_inventory_trash (Enable trash) bool true
# Provides waypoints on a per-player basis to remember positions on the map.
unified_inventory_waypoints (Enable waypoints) bool true
# If enabled, disabled buttons will be hidden instead of grayed out.
unified_inventory_hide_disabled_buttons (Hide disabled buttons) bool false