65dc1fe58f
Got through a bunch of mods, up next is optics. - Try to use crafting recipes rather than resources as the criteria for completing a hint. - It's okay to use simple item observation for specific cases of transient things like pliant concrete. - It's also okay to still use simple observations for the eligibility checks. - Simple observation is also okay for naturally occuring e.g. decay processes, like wilting flowers, as opposed to crafts that need to be completed.
39 lines
813 B
Lua
39 lines
813 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local nodecore
|
|
= nodecore
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
nodecore.register_hint("make fire by rubbing sticks together",
|
|
"stick fire starting",
|
|
"nc_tree:stick"
|
|
)
|
|
|
|
nodecore.register_hint("find ash",
|
|
"nc_fire:ash",
|
|
"stick fire starting"
|
|
)
|
|
|
|
nodecore.register_hint("find charcoal",
|
|
"group:charcoal",
|
|
"stick fire starting"
|
|
)
|
|
|
|
nodecore.register_hint("chop up charcoal",
|
|
{true,
|
|
"chop nc_fire:coal1",
|
|
"chop nc_fire:coal2",
|
|
"chop nc_fire:coal3",
|
|
"chop nc_fire:coal4",
|
|
"chop nc_fire:coal5",
|
|
"chop nc_fire:coal6",
|
|
"chop nc_fire:coal7",
|
|
"chop nc_fire:coal8"
|
|
},
|
|
"group:charcoal"
|
|
)
|
|
|
|
nodecore.register_hint("pack high-quality charcoal",
|
|
"compress coal block",
|
|
"nc_fire:lump_coal"
|
|
)
|