summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-04-22 22:08:35 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-04-22 22:08:35 +0200
commit99dce9c5be8c097e5ed4c0be0ac39e78f48051a9 (patch)
treeecdc828d71618a3f59506f56b9d5be638ac1e756
parent616e8e7c11a297101ded3cc9f41c6f56a5a35b71 (diff)
downloadroads-99dce9c5be8c097e5ed4c0be0ac39e78f48051a9.tar
roads-99dce9c5be8c097e5ed4c0be0ac39e78f48051a9.tar.gz
roads-99dce9c5be8c097e5ed4c0be0ac39e78f48051a9.tar.bz2
roads-99dce9c5be8c097e5ed4c0be0ac39e78f48051a9.tar.xz
roads-99dce9c5be8c097e5ed4c0be0ac39e78f48051a9.zip
update trafficlight nodebox to fit into 64px texture, again
-rw-r--r--streetsmod/textures/streets_trafficlight_template.pngbin470 -> 312 bytes
-rw-r--r--trafficlight/init.lua18
2 files changed, 9 insertions, 9 deletions
diff --git a/streetsmod/textures/streets_trafficlight_template.png b/streetsmod/textures/streets_trafficlight_template.png
index 72b6b02..719fe85 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 8547718..62e9bc9 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -11,15 +11,15 @@ minetest.register_node(":streets:trafficlight_top_off",{
type = "fixed",
fixed = {
{-0.1875,-0.5,0.5,0.1875,0.5,0.75}, --nodebox1
- {-0.05,0.375,0.32,0.05,0.429368,0.51}, --nodebox2
- {-0.05,0.0625,0.32,0.05,0.125,0.51}, --nodebox3
- {-0.05,-0.25,0.32,0.05,-0.1875,0.51}, --nodebox4
- {0.05,0.32,0.32,0.1,0.38,0.5}, --nodebox5
- {-0.1,0.32,0.32,-0.05,0.38,0.5}, --nodebox6
- {0.05,0.001,0.32,0.1,0.06,0.5}, --nodebox7
- {-0.1,0.001,0.32,-0.05,0.06,0.5}, --nodebox8
- {0.05,-0.31,0.32,0.1,-0.25,0.5}, --nodebox9
- {-0.1,-0.31,0.32,-0.05,-0.25,0.5}, --nodebox10
+ {-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.001,0.3125,0.09375,0.06,0.5}, --nodebox7
+ {-0.09375,0.001,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
}
},
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"},