diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2014-04-23 22:52:32 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2014-04-23 22:52:32 +0200 |
commit | eee27ca381b2d458c88173593dee44445ac7b80b (patch) | |
tree | dfd1ec120f2147ed2c689ba6741a711a6f5c8072 | |
parent | c0dd1951f3fb71cad0ae215a3d819661a952b89f (diff) | |
download | roads-eee27ca381b2d458c88173593dee44445ac7b80b.tar roads-eee27ca381b2d458c88173593dee44445ac7b80b.tar.gz roads-eee27ca381b2d458c88173593dee44445ac7b80b.tar.bz2 roads-eee27ca381b2d458c88173593dee44445ac7b80b.tar.xz roads-eee27ca381b2d458c88173593dee44445ac7b80b.zip |
finish nodebox (hopefully) and add some textures
-rw-r--r-- | streetsmod/nodeboxes/trafficlight.nbe | 12 | ||||
-rw-r--r-- | streetsmod/textures/streets_tl_green.png | bin | 3290 -> 954 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_off.png | bin | 312 -> 884 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_red.png | bin | 3295 -> 942 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_redyellow.png | bin | 3318 -> 1025 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_trafficlight_template - Kopie.png | bin | 312 -> 0 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_trafficlight_template.png | bin | 312 -> 320 bytes | |||
-rw-r--r-- | trafficlight/init.lua | 5 |
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 Binary files differindex 014b118..7d7ba80 100644 --- a/streetsmod/textures/streets_tl_green.png +++ b/streetsmod/textures/streets_tl_green.png diff --git a/streetsmod/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.png Binary files differindex 719fe85..a926d31 100644 --- a/streetsmod/textures/streets_tl_off.png +++ b/streetsmod/textures/streets_tl_off.png diff --git a/streetsmod/textures/streets_tl_red.png b/streetsmod/textures/streets_tl_red.png Binary files differindex 2481a86..4560199 100644 --- a/streetsmod/textures/streets_tl_red.png +++ b/streetsmod/textures/streets_tl_red.png diff --git a/streetsmod/textures/streets_tl_redyellow.png b/streetsmod/textures/streets_tl_redyellow.png Binary files differindex 0a85622..da443d9 100644 --- a/streetsmod/textures/streets_tl_redyellow.png +++ b/streetsmod/textures/streets_tl_redyellow.png diff --git a/streetsmod/textures/streets_trafficlight_template - Kopie.png b/streetsmod/textures/streets_trafficlight_template - Kopie.png Binary files differdeleted file mode 100644 index 719fe85..0000000 --- a/streetsmod/textures/streets_trafficlight_template - Kopie.png +++ /dev/null diff --git a/streetsmod/textures/streets_trafficlight_template.png b/streetsmod/textures/streets_trafficlight_template.png Binary files differindex 719fe85..f987c9b 100644 --- a/streetsmod/textures/streets_trafficlight_template.png +++ b/streetsmod/textures/streets_trafficlight_template.png 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",{ |