Skip to content

Commit

Permalink
Add setting to disable waypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Nov 20, 2023
1 parent 380b77d commit 693ca11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions settingtypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 693ca11

Please sign in to comment.