diff options
| -rw-r--r-- | streetsmod/nodeboxes/trafficlight.nbe | 10 | ||||
| -rw-r--r-- | streetsmod/textures/streets_tl_off.png | bin | 3267 -> 312 bytes | |||
| -rw-r--r-- | streetsmod/textures/streets_trafficlight_template - Kopie.png | bin | 0 -> 312 bytes | |||
| -rw-r--r-- | trafficlight/init.lua | 19 | 
4 files changed, 15 insertions, 14 deletions
| diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe index 1025942..54f1c65 100644 --- a/streetsmod/nodeboxes/trafficlight.nbe +++ b/streetsmod/nodeboxes/trafficlight.nbe @@ -5,13 +5,13 @@ NAME test  NODE node1  POSITION 0 0 0  NODEBOX nodebox1 -0.1875 -0.5 0.5 0.1875 0.5 0.75 -NODEBOX nodebox2 -0.03125 0.375 0.3125 0.03125 0.4375 0.5 -NODEBOX nodebox3 -0.03125 0.0625 0.3125 0.03125 0.125 0.5 -NODEBOX nodebox4 -0.03125 -0.25 0.3125 0.03125 -0.1875 0.5 +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.00 0.3125 0.09375 0.0625 0.5 -NODEBOX nodebox8 -0.09375 0.00 0.3125 -0.03125 0.0625 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  END NODE
\ No newline at end of file diff --git a/streetsmod/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.pngBinary files differ index 16621e7..719fe85 100644 --- a/streetsmod/textures/streets_tl_off.png +++ b/streetsmod/textures/streets_tl_off.png diff --git a/streetsmod/textures/streets_trafficlight_template - Kopie.png b/streetsmod/textures/streets_trafficlight_template - Kopie.pngBinary files differ new file mode 100644 index 0000000..719fe85 --- /dev/null +++ b/streetsmod/textures/streets_trafficlight_template - Kopie.png diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 2f1b343..3bdc95b 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -11,16 +11,17 @@ minetest.register_node(":streets:trafficlight_top_off",{  	node_box = {  		type = "fixed",  		fixed = { +			--[[ Thank you, rubenwardy, for your awesome NodeboxEditor! Not perfect, but still great! ]]  			{-0.1875,-0.5,0.5,0.1875,0.5,0.75}, --nodebox1 -			{-0.03125,0.375,0.3125,0.03125,0.4375,0.5}, --nodebox2 -			{-0.03125,0.0625,0.3125,0.03125,0.125,0.5}, --nodebox3 -			{-0.03125,-0.25,0.3125,0.03125,-0.1875,0.5}, --nodebox4 -			{0.03125,0.3125,0.3125,0.09375,0.38,0.5}, --nodebox5 -			{-0.09375,0.3125,0.3125,-0.03125,0.375,0.5}, --nodebox6 -			{0.03125,0.00,0.3125,0.09375,0.0625,0.5}, --nodebox7 -			{-0.09375,0.00,0.3125,-0.03125,0.0625,0.5}, --nodebox8 -			{0.03125,-0.3125,0.3125,0.09375,-0.25,0.5}, --nodebox9 -			{-0.09375,-0.3125,0.3125,-0.03125,-0.25,0.5}, --nodebox10 +			{-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.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 +			{0.0625,-0.3125,0.3125,0.125,-0.25,0.5}, --nodebox9 +			{-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"}, | 
