summaryrefslogtreecommitdiff
path: root/nodes_furniture.lua
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-07-26 05:54:37 +0200
committerSokomine <wegwerf@anarres.dyndns.org>2015-07-26 05:54:37 +0200
commita07e2e706e718348a5ba183db2e686ad36f7b18f (patch)
treefed3f69e5dafe504bc9aaafcca78d5beaca3c8ef /nodes_furniture.lua
parentd92685d20c6bebce0a88512991646a16121b0810 (diff)
added missing textures; made indigrents for craft receipes configurable; added compatibility for realtest; added wool in case no wool is installed; other minor tweaks
Diffstat (limited to 'nodes_furniture.lua')
-rw-r--r--nodes_furniture.lua36
1 files changed, 18 insertions, 18 deletions
diff --git a/nodes_furniture.lua b/nodes_furniture.lua
index 3494c6d..ee6ba8c 100644
--- a/nodes_furniture.lua
+++ b/nodes_furniture.lua
@@ -312,25 +312,25 @@ minetest.register_node("cottages:washing", {
minetest.register_craft({
output = "cottages:bed_foot",
recipe = {
- {"wool:white", "", "", },
- {"default:wood", "", "", },
- {"default:stick", "", "", }
+ {cottages.craftitem_wool, "", "", },
+ {cottages.craftitem_wood, "", "", },
+ {cottages.craftitem_stick, "", "", }
}
})
minetest.register_craft({
output = "cottages:bed_head",
recipe = {
- {"", "", "wool:white", },
- {"", "default:stick", "default:wood", },
- {"", "", "default:stick", }
+ {"", "", cottages.craftitem_wool, },
+ {"", cottages.craftitem_stick, cottages.craftitem_wood, },
+ {"", "", cottages.craftitem_stick, }
}
})
minetest.register_craft({
- output = "cottages:sleeping_mat",
+ output = "cottages:sleeping_mat 3",
recipe = {
- {"wool:white", "cottages:straw_mat","cottages:straw_mat" }
+ {"cottages:wool_tent", "cottages:straw_mat","cottages:straw_mat" }
}
})
@@ -338,16 +338,16 @@ minetest.register_craft({
minetest.register_craft({
output = "cottages:table",
recipe = {
- {"", "stairs:slab_wood", "", },
- {"", "default:stick", "" }
+ {"", cottages.craftitem_slab_wood, "", },
+ {"", cottages.craftitem_stick, "" }
}
})
minetest.register_craft({
output = "cottages:bench",
recipe = {
- {"", "default:wood", "", },
- {"default:stick", "", "default:stick", }
+ {"", cottages.craftitem_wood, "", },
+ {cottages.craftitem_stick, "", cottages.craftitem_stick, }
}
})
@@ -355,24 +355,24 @@ minetest.register_craft({
minetest.register_craft({
output = "cottages:shelf",
recipe = {
- {"default:stick", "default:wood", "default:stick", },
- {"default:stick", "default:wood", "default:stick", },
- {"default:stick", "", "default:stick"}
+ {cottages.craftitem_stick, cottages.craftitem_wood, cottages.craftitem_stick, },
+ {cottages.craftitem_stick, cottages.craftitem_wood, cottages.craftitem_stick, },
+ {cottages.craftitem_stick, "", cottages.craftitem_stick}
}
})
minetest.register_craft({
output = "cottages:washing 2",
recipe = {
- {"default:stick", },
- {"default:clay", },
+ {cottages.craftitem_stick, },
+ {cottages.craftitem_clay, },
}
})
minetest.register_craft({
output = "cottages:stovepipe 2",
recipe = {
- {'default:steel_ingot', '', 'default:steel_ingot'},
+ {cottages.craftitem_steel, '', cottages.craftitem_steel},
}
})