Aaron Suen 65dc1fe58f Start working on some hint reform
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.
2021-12-16 22:31:50 -05:00

33 lines
771 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local minetest, nodecore
= minetest, nodecore
-- LUALOCALS > ---------------------------------------------------------
local modname = minetest.get_current_modname()
minetest.register_node(modname .. ":wicker", {
description = "Wicker",
drawtype = "glasslike",
tiles = {modname .. "_wicker.png"},
groups = {
choppy = 1,
flammable = 2,
fire_fuel = 5,
peat_grindable_node = 1
},
paramtype = "light",
sounds = nodecore.sounds("nc_tree_sticky")
})
nodecore.register_craft({
label = "pack wicker",
action = "pummel",
toolgroups = {thumpy = 1},
nodes = {
{
match = {name = "nc_flora:rush_dry", count = 8},
replace = modname .. ":wicker"
}
},
})