revised crafting recipe for desk lamp

This commit is contained in:
Vanessa Ezekowitz 2017-01-31 19:08:21 -05:00
parent 5dd5d3a14b
commit c683874904

View File

@ -2861,18 +2861,14 @@ for i in ipairs(picture_dyes) do
})
end
local dlamp_colors = { "red","blue","green","violet" }
for _, color in ipairs(dlamp_colors) do
minetest.register_craft({
output = "homedecor:desk_lamp_"..color,
output = "homedecor:desk_lamp 2",
recipe = {
{ "", "homedecor:steel_strip", "homedecor:glowlight_small_cube" },
{ "", "homedecor:copper_wire", "" },
{ "homedecor:plastic_sheeting", "dye:"..color, "homedecor:plastic_sheeting" },
{ "", "default:steel_ingot", "homedecor:glowlight_small_cube" },
{ "", "homedecor:steel_strip", "" },
{ "homedecor:plastic_sheeting", "homedecor:copper_wire", "homedecor:plastic_sheeting" },
},
})
end
minetest.register_craft({
output = "homedecor:hanging_lantern 2",