summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--streetsmod/nodeboxes/trafficlight.nbe12
-rw-r--r--streetsmod/textures/streets_tl_green.pngbin3290 -> 954 bytes
-rw-r--r--streetsmod/textures/streets_tl_off.pngbin312 -> 884 bytes
-rw-r--r--streetsmod/textures/streets_tl_red.pngbin3295 -> 942 bytes
-rw-r--r--streetsmod/textures/streets_tl_redyellow.pngbin3318 -> 1025 bytes
-rw-r--r--streetsmod/textures/streets_trafficlight_template - Kopie.pngbin312 -> 0 bytes
-rw-r--r--streetsmod/textures/streets_trafficlight_template.pngbin312 -> 320 bytes
-rw-r--r--trafficlight/init.lua5
8 files changed, 9 insertions, 8 deletions
diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe
index 54f1c65..50895b7 100644
--- a/streetsmod/nodeboxes/trafficlight.nbe
+++ b/streetsmod/nodeboxes/trafficlight.nbe
@@ -8,10 +8,10 @@ NODEBOX nodebox1 -0.1875 -0.5 0.5 0.1875 0.5 0.75
NODEBOX nodebox2 -0.0625 0.375 0.3125 0.0625 0.4375 0.5
NODEBOX nodebox3 -0.0625 0.0625 0.3125 0.0625 0.125 0.5
NODEBOX nodebox4 -0.0625 -0.25 0.3125 0.0625 -0.1875 0.5
-NODEBOX nodebox5 0.03125 0.3125 0.3125 0.09375 0.38 0.5
-NODEBOX nodebox6 -0.09375 0.3125 0.3125 -0.03125 0.375 0.5
-NODEBOX nodebox7 0.03125 0 0.3125 0.09375 0.0625 0.5
-NODEBOX nodebox8 -0.09375 0 0.3125 -0.03125 0.0625 0.5
-NODEBOX nodebox9 0.03125 -0.3125 0.3125 0.09375 -0.25 0.5
-NODEBOX nodebox10 -0.09375 -0.3125 0.3125 -0.03125 -0.25 0.5
+NODEBOX nodebox5 0.0625 0.3125 0.3125 0.125 0.38 0.5
+NODEBOX nodebox6 -0.125 0.3125 0.3125 -0.0625 0.375 0.5
+NODEBOX nodebox7 0.0625 0 0.3125 0.125 0.0625 0.5
+NODEBOX nodebox8 -0.125 0 0.3125 -0.0625 0.0625 0.5
+NODEBOX nodebox9 0.0625 -0.3125 0.3125 0.125 -0.25 0.5
+NODEBOX nodebox10 -0.125 -0.3125 0.3125 -0.0625 -0.25 0.5
END NODE \ No newline at end of file
diff --git a/streetsmod/textures/streets_tl_green.png b/streetsmod/textures/streets_tl_green.png
index 014b118..7d7ba80 100644
--- a/streetsmod/textures/streets_tl_green.png
+++ b/streetsmod/textures/streets_tl_green.png
Binary files differ
diff --git a/streetsmod/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.png
index 719fe85..a926d31 100644
--- a/streetsmod/textures/streets_tl_off.png
+++ b/streetsmod/textures/streets_tl_off.png
Binary files differ
diff --git a/streetsmod/textures/streets_tl_red.png b/streetsmod/textures/streets_tl_red.png
index 2481a86..4560199 100644
--- a/streetsmod/textures/streets_tl_red.png
+++ b/streetsmod/textures/streets_tl_red.png
Binary files differ
diff --git a/streetsmod/textures/streets_tl_redyellow.png b/streetsmod/textures/streets_tl_redyellow.png
index 0a85622..da443d9 100644
--- a/streetsmod/textures/streets_tl_redyellow.png
+++ b/streetsmod/textures/streets_tl_redyellow.png
Binary files differ
diff --git a/streetsmod/textures/streets_trafficlight_template - Kopie.png b/streetsmod/textures/streets_trafficlight_template - Kopie.png
deleted file mode 100644
index 719fe85..0000000
--- a/streetsmod/textures/streets_trafficlight_template - Kopie.png
+++ /dev/null
Binary files differ
diff --git a/streetsmod/textures/streets_trafficlight_template.png b/streetsmod/textures/streets_trafficlight_template.png
index 719fe85..f987c9b 100644
--- a/streetsmod/textures/streets_trafficlight_template.png
+++ b/streetsmod/textures/streets_trafficlight_template.png
Binary files differ
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",{