mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
Update lighting.lua
This commit is contained in:
parent
7ac196ded0
commit
fd2196027c
@ -59,7 +59,6 @@ for i in ipairs(colors) do
|
|||||||
minetest.add_node(pos, {name = "homedecor:glowlight_small_cube_"..color, param2 = 20})
|
minetest.add_node(pos, {name = "homedecor:glowlight_small_cube_"..color, param2 = 20})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
local glowlight_nodebox = {
|
local glowlight_nodebox = {
|
||||||
half = homedecor.nodebox.slab_y(1/2),
|
half = homedecor.nodebox.slab_y(1/2),
|
||||||
@ -126,9 +125,11 @@ homedecor.register("glowlight_small_cube_"..color, {
|
|||||||
on_place = minetest.rotate_node
|
on_place = minetest.rotate_node
|
||||||
})
|
})
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
homedecor.register("plasma_lamp", {
|
homedecor.register("plasma_lamp", {
|
||||||
description = "Plasma Lamp",
|
description = "Plasma Lamp",
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed",
|
||||||
tiles = {"homedecor_gold_block.png","homedecor_glass_face_clean.png"},
|
tiles = {"homedecor_gold_block.png","homedecor_glass_face_clean.png"},
|
||||||
special_tiles = {
|
special_tiles = {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user