summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalinou <Calinou@users.noreply.github.com>2014-04-14 19:06:52 +0200
committerCalinou <Calinou@users.noreply.github.com>2014-04-14 19:06:52 +0200
commit4f4b1b7472c824074e4bef20729e52ffb1ba5165 (patch)
tree6b6f97ea5d15a7d5647efefba2425f94821600e0
parent10fae87d14f3a977d5a87338cd174a4028c3fea9 (diff)
parent01add388f0041639138551911af6b5e606b479fe (diff)
Merge pull request #9 from CraigyDavi/patch-1
Use the wood and stick groups.
-rw-r--r--init.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/init.lua b/init.lua
index 32fb5ef..1816e6a 100644
--- a/init.lua
+++ b/init.lua
@@ -68,25 +68,25 @@ end
local function get_recipe(c, name)
if name == "sword" then
- return {{c},{c},{"default:stick"}}
+ return {{c},{c},{"group:stick"}}
end
if name == "shovel" then
- return {{c},{"default:stick"},{"default:stick"}}
+ return {{c},{"group:stick"},{"group:stick"}}
end
if name == "axe" then
- return {{c,c},{c,"default:stick"},{"","default:stick"}}
+ return {{c,c},{c,"group:stick"},{"","group:stick"}}
end
if name == "pick" then
- return {{c,c,c},{"","default:stick",""},{"","default:stick",""}}
+ return {{c,c,c},{"","group:stick",""},{"","group:stick",""}}
end
if name == "hoe" then
- return {{c,c},{"","default:stick"},{"","default:stick"}}
+ return {{c,c},{"","group:stick"},{"","group:stick"}}
end
if name == "block" then
return {{c,c,c},{c,c,c},{c,c,c}}
end
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
@@ -314,7 +314,7 @@ minetest.register_craft({
output = "moreores:copper_rail 16",
recipe = {
{"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"}
}
})