1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-17 15:48:31 +01:00

make colored lamps flammable

This commit is contained in:
Vanessa Ezekowitz 2014-06-27 17:17:08 -04:00
parent d6bddbc97b
commit a2536da5fa

View File

@ -7,6 +7,7 @@ minetest.register_craft({
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table",
@ -52,6 +53,12 @@ minetest.register_craft({
},
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_lamp_off",
burntime = 10,
})
local lamp_colors = { "blue", "green", "pink", "red", "violet" }
for _, color in ipairs(lamp_colors) do
@ -82,13 +89,14 @@ for _, color in ipairs(lamp_colors) do
"homedecor:table_lamp_off",
},
})
end
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_lamp_off",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "homedecor:table_lamp_"..color.."_off",
burntime = 10,
})
end
minetest.register_craft({
output = "homedecor:toilet",