forked from nalc/homedecor_modpack
revised crafting recipe for desk lamp
This commit is contained in:
parent
5dd5d3a14b
commit
c683874904
@ -2861,18 +2861,14 @@ for i in ipairs(picture_dyes) do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
local dlamp_colors = { "red","blue","green","violet" }
|
minetest.register_craft({
|
||||||
|
output = "homedecor:desk_lamp 2",
|
||||||
for _, color in ipairs(dlamp_colors) do
|
recipe = {
|
||||||
minetest.register_craft({
|
{ "", "default:steel_ingot", "homedecor:glowlight_small_cube" },
|
||||||
output = "homedecor:desk_lamp_"..color,
|
{ "", "homedecor:steel_strip", "" },
|
||||||
recipe = {
|
{ "homedecor:plastic_sheeting", "homedecor:copper_wire", "homedecor:plastic_sheeting" },
|
||||||
{ "", "homedecor:steel_strip", "homedecor:glowlight_small_cube" },
|
},
|
||||||
{ "", "homedecor:copper_wire", "" },
|
})
|
||||||
{ "homedecor:plastic_sheeting", "dye:"..color, "homedecor:plastic_sheeting" },
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:hanging_lantern 2",
|
output = "homedecor:hanging_lantern 2",
|
||||||
|
Loading…
Reference in New Issue
Block a user