MAJOR: Rake recipe reform

Trying a new more "intuitive" rake recipe shape.
Rakes will now be notably cheaper than before, but
durability will not be nerfed.
This commit is contained in:
Aaron Suen 2022-01-07 20:35:01 -05:00
parent af5375cf0c
commit 4c09d412c1
3 changed files with 21 additions and 23 deletions

View File

@ -53,25 +53,24 @@ nodecore.register_lode("rake", {
tool_wears_to = modname .. ":prill_# 12"
})
local adze = {name = modname .. ":adze_annealed", wear = 0.05}
nodecore.register_lode_anvil_recipe(-1, function(temper)
nodecore.register_lode_anvil_recipe(-2, function(temper)
local adze = {name = modname .. ":adze_" .. temper, wear = 0.05}
return {
label = "assemble lode rake",
action = "pummel",
toolgroups = {thumpy = 3},
norotate = true,
priority = 1,
indexkeys = {modname .. ":bar_" .. temper},
indexkeys = {modname .. ":adze_" .. temper},
nodes = {
{match = modname .. ":bar_" .. temper, replace = "air"},
{x = 0, z = -1, match = adze, replace = "air"},
{x = 0, z = 1, match = adze, replace = "air"},
{x = -1, z = 0, match = adze, replace = "air"},
{x = 1, z = 0, match = adze, replace = "air"},
{match = adze, replace = "air"},
{y = -1, match = modname .. ":rod_" .. temper, replace = "air"},
{x = -1, match = adze, replace = "air"},
{x = 1, match = adze, replace = "air"},
},
items = {
modname .. ":rake_annealed"
}
items = {{
y = -1,
name = modname .. ":rake_annealed"
}}
}
end)

View File

@ -68,7 +68,7 @@ nodecore.register_hint("assemble a wooden shelf from a form and plank",
{"nc_woodwork:plank", "nc_woodwork:form"}
)
nodecore.register_hint("assemble a rake from adzes and a stick",
nodecore.register_hint("assemble a rake from adzes and a staff",
"assemble rake",
"assemble wood adze"
)

View File

@ -26,16 +26,15 @@ minetest.register_tool(modname .. ":rake", {
local adze = {name = modname .. ":adze", wear = 0.05}
nodecore.register_craft({
label = "assemble rake",
norotate = true,
indexkeys = {"nc_tree:stick"},
indexkeys = {modname .. ":adze"},
nodes = {
{match = "nc_tree:stick", replace = "air"},
{x = 0, z = -1, match = adze, replace = "air"},
{x = 0, z = 1, match = adze, replace = "air"},
{x = -1, z = 0, match = adze, replace = "air"},
{x = 1, z = 0, match = adze, replace = "air"},
{match = adze, replace = "air"},
{y = -1, match = modname .. ":staff", replace = "air"},
{x = -1, match = adze, replace = "air"},
{x = 1, match = adze, replace = "air"},
},
items = {
modname .. ":rake"
}
items = {{
y = -1,
name = modname .. ":rake"
}}
})