Aaron Suen edea123a1e Start on new unified Hint API
- Move hint handling down to API layer
- Simplify stat data; old nc_stats counting can
  be moved out to a separate mod.  We only
  need whether the player has seen or not.
- Invert inventory tab responsibility.
- Merge witness system in from crafting.

TODO:
- Redistribute hint registration responsibility
  to individual mods.
- Test external mod compat.
- Retire old nc_stats and nc_guide systems.
- Add a way to reset hints.
2020-09-04 16:28:27 -04:00

12 lines
380 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local minetest, nodecore, string
= minetest, nodecore, string
local string_lower
= string.lower
-- LUALOCALS > ---------------------------------------------------------
function nodecore.hints_disabled()
return minetest.settings:get_bool(
string_lower(nodecore.product) .. "_disable_hints")
end