1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

change more recipes to use groups instead of nodenames

This commit is contained in:
Tim 2015-08-16 19:41:26 +02:00
parent faf6cefa99
commit 518d1432f6
3 changed files with 15 additions and 15 deletions

View File

@ -7,7 +7,7 @@ minetest.register_craft({
recipe = { recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting" }, { "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:wood", "homedecor:plastic_sheeting" } { "homedecor:plastic_sheeting", "group:wood", "homedecor:plastic_sheeting" }
} }
}) })
@ -15,7 +15,7 @@ minetest.register_craft({
output = "computer:slaystation", output = "computer:slaystation",
recipe = { recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "homedecor:plastic_sheeting", "default:wood", "homedecor:plastic_sheeting" } { "homedecor:plastic_sheeting", "group:wood", "homedecor:plastic_sheeting" }
} }
}) })
@ -49,7 +49,7 @@ minetest.register_craft({
output = "computer:admiral64", output = "computer:admiral64",
recipe = { recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "default:wood", "default:wood", "default:wood" } { "group:wood", "group:wood", "group:wood" }
} }
}) })

View File

@ -483,7 +483,7 @@ minetest.register_craft( {
output = "homedecor:shingles_asphalt 6", output = "homedecor:shingles_asphalt 6",
recipe = { recipe = {
{ "building_blocks:gravel_spread", "dye:black", "building_blocks:gravel_spread" }, { "building_blocks:gravel_spread", "dye:black", "building_blocks:gravel_spread" },
{ "default:sand", "dye:black", "default:sand" }, { "group:sand", "dye:black", "group:sand" },
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
}, },
}) })
@ -1070,7 +1070,7 @@ end
local mats = { local mats = {
{ "brass", "homedecor:pole_brass" }, { "brass", "homedecor:pole_brass" },
{ "wrought_iron", "homedecor:pole_wrought_iron" }, { "wrought_iron", "homedecor:pole_wrought_iron" },
{ "wood", "default:stick" } { "wood", "group:stick" }
} }
for i in ipairs(mats) do for i in ipairs(mats) do
@ -1959,9 +1959,9 @@ minetest.register_craft( {
minetest.register_craft( { minetest.register_craft( {
output = "homedecor:door_woodglass_left", output = "homedecor:door_woodglass_left",
recipe = { recipe = {
{ "default:wood", "default:glass", "" }, { "group:wood", "default:glass", "" },
{ "default:wood", "default:glass", "technic:brass_ingot" }, { "group:wood", "default:glass", "technic:brass_ingot" },
{ "default:wood", "default:wood", "" }, { "group:wood", "group:wood", "" },
}, },
}) })
@ -1971,8 +1971,8 @@ minetest.register_craft( {
output = "homedecor:door_woodglass2_left", output = "homedecor:door_woodglass2_left",
recipe = { recipe = {
{ "default:glass", "default:glass", "" }, { "default:glass", "default:glass", "" },
{ "default:wood", "default:wood", "default:iron_lump" }, { "group:wood", "group:wood", "default:iron_lump" },
{ "default:wood", "default:wood", "" }, { "group:wood", "group:wood", "" },
}, },
}) })
@ -2223,7 +2223,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "homedecor:towel_rod", output = "homedecor:towel_rod",
recipe = { recipe = {
{ "default:wood", "group:stick", "default:wood" }, { "group:wood", "group:stick", "group:wood" },
{ "", "building_blocks:terrycloth_towel", "" }, { "", "building_blocks:terrycloth_towel", "" },
}, },
}) })
@ -2653,7 +2653,7 @@ minetest.register_craft( {
recipe = { recipe = {
{ "homedecor:shingles_wood", "homedecor:shingles_wood", "homedecor:shingles_wood" }, { "homedecor:shingles_wood", "homedecor:shingles_wood", "homedecor:shingles_wood" },
{ "group:wood", "group:stick", "group:wood" }, { "group:wood", "group:stick", "group:wood" },
{ "default:cobble", "", "default:cobble" } { "group:stone", "", "group:stone" }
}, },
}) })

View File

@ -228,9 +228,9 @@ minetest.register_abm({
minetest.register_craft({ minetest.register_craft({
output = 'itemframes:frame', output = 'itemframes:frame',
recipe = { recipe = {
{'default:stick', 'default:stick', 'default:stick'}, {'group:stick', 'group:stick', 'group:stick'},
{'default:stick', 'default:paper', 'default:stick'}, {'group:stick', 'default:paper', 'default:stick'},
{'default:stick', 'default:stick', 'default:stick'}, {'group:stick', 'group:stick', 'group:stick'},
} }
}) })
minetest.register_craft({ minetest.register_craft({