summaryrefslogtreecommitdiff
path: root/trafficlight
diff options
context:
space:
mode:
Diffstat (limited to 'trafficlight')
-rw-r--r--trafficlight/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index 3bdc95b..0b5d779 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -8,6 +8,7 @@ minetest.register_node(":streets:trafficlight_top_off",{
paramtype2 = "facedir",
groups = {cracky = 1, level = 2},
inventory_image = "streets_trafficlight_inv.png",
+ light_source = 11,
node_box = {
type = "fixed",
fixed = {
@@ -16,7 +17,7 @@ minetest.register_node(":streets:trafficlight_top_off",{
{-0.0625,0.375,0.3125,0.0625,0.4375,0.5}, --nodebox2
{-0.0625,0.0625,0.3125,0.0625,0.125,0.5}, --nodebox3
{-0.0625,-0.25,0.3125,0.0625,-0.1875,0.5}, --nodebox4
- {0.0625,0.3125,0.3125,0.125,0.375,0.5}, --nodebox5
+ {0.0625,0.3125,0.3125,0.125,0.38,0.5}, --nodebox5
{-0.125,0.3125,0.3125,-0.0625,0.375,0.5}, --nodebox6
{0.0625,0,0.3125,0.125,0.0625,0.5}, --nodebox7
{-0.125,0,0.3125,-0.0625,0.0625,0.5}, --nodebox8
@@ -24,7 +25,7 @@ minetest.register_node(":streets:trafficlight_top_off",{
{-0.125,-0.3125,0.3125,-0.0625,-0.25,0.5}, --nodebox10
}
},
- tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_trafficlight_template.png"},
+ tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_green.png"},
})
minetest.register_node(":streets:trafficlight_top_red",{