recipe added
This commit is contained in:
parent
48ca0db862
commit
a9c2b29ab3
19
init.lua
19
init.lua
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user