recipe added

This commit is contained in:
Joachim Stolberg 2017-06-14 22:48:03 +02:00
parent 48ca0db862
commit a9c2b29ab3
2 changed files with 148 additions and 133 deletions

View File

@ -168,10 +168,13 @@ for idx = 0,4 do
}
if idx == 3 then
tiles_data[1] = "gravelsieve_top.png"
not_in_creative_inventory = 0
else
not_in_creative_inventory = 1
end
minetest.register_node("gravelsieve:sieve"..idx, {
description = "Gravel Sieve "..idx,
description = "Gravel Sieve",
tiles = tiles_data,
drawtype = "nodebox",
node_box = {
@ -210,7 +213,7 @@ for idx = 0,4 do
paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky=3, stone=1, uber=1},
groups = {cracky=3, stone=1, uber=1, not_in_creative_inventory=not_in_creative_inventory},
})
end
@ -255,3 +258,15 @@ minetest.register_node("gravelsieve:gravel3", {
}
}
})
minetest.register_craft({
output = "gravelsieve:sieve",
recipe = {
{"group:wood", "", "group:wood"},
{"group:wood", "default:steel_ingot", "group:wood"},
{"group:wood", "", "group:wood"},
},
})
minetest.register_alias("gravelsieve:sieve", "gravelsieve:sieve3")