edea123a1e
- 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.
12 lines
380 B
Lua
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
|