Aaron Suen 5639ec773c Simplify early-game hints
Lock more things behind prerequisite hints, even if
they're not absolutely strictly necessary to complete
in that order, if they would commonly be done in
that order.  This reduces players being overwhelmed
by available hints very early in the game, and avoids
red herrings like "find lux" which can technically be
accomplished but yields no useful results until the
player can act on them.
2021-08-14 08:29:27 -04:00

48 lines
939 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local nodecore
= nodecore
-- LUALOCALS > ---------------------------------------------------------
local function dug(n)
return {true,
"dig:nc_terrain:" .. n .. "_loose",
"dig:nc_terrain:" .. n,
"inv:nc_terrain:" .. n .. "_loose",
"inv:nc_terrain:" .. n,
}
end
nodecore.register_hint("dig up dirt",
dug("dirt"),
"toolcap:crumbly:2"
)
nodecore.register_hint("dig up gravel",
dug("gravel"),
"toolcap:crumbly:2"
)
nodecore.register_hint("dig up sand",
dug("sand")
)
nodecore.register_hint("dig up cobble",
dug("cobble"),
"toolcap:cracky:2"
)
nodecore.register_hint("find deep stone strata",
"group:hard_stone",
dug("cobble")
)
nodecore.register_hint("find pumwater",
{true, "group:amalgam", "group:lava"},
"nc_terrain:cobble_loose"
)
nodecore.register_hint("leach dirt to sand",
"leach nc_terrain:dirt",
"dig:nc_terrain:dirt_loose"
)