mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-12-29 11:40:21 +01:00
Merge pull request #9 from CraigyDavi/patch-1
Use the wood and stick groups.
This commit is contained in:
commit
4f4b1b7472
14
init.lua
14
init.lua
@ -68,25 +68,25 @@ end
|
|||||||
|
|
||||||
local function get_recipe(c, name)
|
local function get_recipe(c, name)
|
||||||
if name == "sword" then
|
if name == "sword" then
|
||||||
return {{c},{c},{"default:stick"}}
|
return {{c},{c},{"group:stick"}}
|
||||||
end
|
end
|
||||||
if name == "shovel" then
|
if name == "shovel" then
|
||||||
return {{c},{"default:stick"},{"default:stick"}}
|
return {{c},{"group:stick"},{"group:stick"}}
|
||||||
end
|
end
|
||||||
if name == "axe" then
|
if name == "axe" then
|
||||||
return {{c,c},{c,"default:stick"},{"","default:stick"}}
|
return {{c,c},{c,"group:stick"},{"","group:stick"}}
|
||||||
end
|
end
|
||||||
if name == "pick" then
|
if name == "pick" then
|
||||||
return {{c,c,c},{"","default:stick",""},{"","default:stick",""}}
|
return {{c,c,c},{"","group:stick",""},{"","group:stick",""}}
|
||||||
end
|
end
|
||||||
if name == "hoe" then
|
if name == "hoe" then
|
||||||
return {{c,c},{"","default:stick"},{"","default:stick"}}
|
return {{c,c},{"","group:stick"},{"","group:stick"}}
|
||||||
end
|
end
|
||||||
if name == "block" then
|
if name == "block" then
|
||||||
return {{c,c,c},{c,c,c},{c,c,c}}
|
return {{c,c,c},{c,c,c},{c,c,c}}
|
||||||
end
|
end
|
||||||
if name == "lockedchest" then
|
if name == "lockedchest" then
|
||||||
return {{"default:wood","default:wood","default:wood"},{"default:wood",c,"default:wood"},{"default:wood","default:wood","default:wood"}}
|
return {{"group:wood","group:wood","group:wood"},{"group:wood",c,"group:wood"},{"group:wood","group:wood","group:wood"}}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -314,7 +314,7 @@ minetest.register_craft({
|
|||||||
output = "moreores:copper_rail 16",
|
output = "moreores:copper_rail 16",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:copper_ingot", "", "default:copper_ingot"},
|
{"default:copper_ingot", "", "default:copper_ingot"},
|
||||||
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
|
{"default:copper_ingot", "group:stick", "default:copper_ingot"},
|
||||||
{"default:copper_ingot", "", "default:copper_ingot"}
|
{"default:copper_ingot", "", "default:copper_ingot"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user