forked from nalc/homedecor_modpack
		
	change more recipes to use groups instead of nodenames
This commit is contained in:
		@@ -7,7 +7,7 @@ minetest.register_craft({
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "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",
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{ "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",
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
 | 
			
		||||
		{ "default:wood", "default:wood", "default:wood" }
 | 
			
		||||
		{ "group:wood", "group:wood", "group:wood" }
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -483,7 +483,7 @@ minetest.register_craft( {
 | 
			
		||||
        output = "homedecor:shingles_asphalt 6",
 | 
			
		||||
        recipe = {
 | 
			
		||||
                { "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" },
 | 
			
		||||
        },
 | 
			
		||||
})
 | 
			
		||||
@@ -1070,7 +1070,7 @@ end
 | 
			
		||||
local mats = {
 | 
			
		||||
	{ "brass", "homedecor:pole_brass" },
 | 
			
		||||
	{ "wrought_iron", "homedecor:pole_wrought_iron" },
 | 
			
		||||
	{ "wood", "default:stick" }
 | 
			
		||||
	{ "wood", "group:stick" }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
for i in ipairs(mats) do
 | 
			
		||||
@@ -1959,9 +1959,9 @@ minetest.register_craft( {
 | 
			
		||||
minetest.register_craft( {
 | 
			
		||||
	output = "homedecor:door_woodglass_left",
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{ "default:wood", "default:glass", "" },
 | 
			
		||||
		{ "default:wood", "default:glass", "technic:brass_ingot" },
 | 
			
		||||
		{ "default:wood", "default:wood", "" },
 | 
			
		||||
		{ "group:wood", "default:glass", "" },
 | 
			
		||||
		{ "group:wood", "default:glass", "technic:brass_ingot" },
 | 
			
		||||
		{ "group:wood", "group:wood", "" },
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@@ -1971,8 +1971,8 @@ minetest.register_craft( {
 | 
			
		||||
	output = "homedecor:door_woodglass2_left",
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{ "default:glass", "default:glass", "" },
 | 
			
		||||
		{ "default:wood", "default:wood", "default:iron_lump" },
 | 
			
		||||
		{ "default:wood", "default:wood", "" },
 | 
			
		||||
		{ "group:wood", "group:wood", "default:iron_lump" },
 | 
			
		||||
		{ "group:wood", "group:wood", "" },
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@@ -2223,7 +2223,7 @@ minetest.register_craft({
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
    output = "homedecor:towel_rod",
 | 
			
		||||
    recipe = {
 | 
			
		||||
		{ "default:wood", "group:stick", "default:wood" },
 | 
			
		||||
		{ "group:wood", "group:stick", "group:wood" },
 | 
			
		||||
		{ "", "building_blocks:terrycloth_towel", "" },
 | 
			
		||||
    },
 | 
			
		||||
})
 | 
			
		||||
@@ -2653,7 +2653,7 @@ minetest.register_craft( {
 | 
			
		||||
        recipe = {
 | 
			
		||||
			{ "homedecor:shingles_wood", "homedecor:shingles_wood", "homedecor:shingles_wood" },
 | 
			
		||||
			{ "group:wood", "group:stick", "group:wood" },
 | 
			
		||||
			{ "default:cobble", "", "default:cobble" }
 | 
			
		||||
			{ "group:stone", "", "group:stone" }
 | 
			
		||||
        },
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -228,9 +228,9 @@ minetest.register_abm({
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = 'itemframes:frame',
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{'default:stick', 'default:stick', 'default:stick'},
 | 
			
		||||
		{'default:stick', 'default:paper', 'default:stick'},
 | 
			
		||||
		{'default:stick', 'default:stick', 'default:stick'},
 | 
			
		||||
		{'group:stick', 'group:stick', 'group:stick'},
 | 
			
		||||
		{'group:stick', 'default:paper', 'default:stick'},
 | 
			
		||||
		{'group:stick', 'group:stick', 'group:stick'},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user