summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-04-23 17:55:47 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-04-23 17:55:47 +0200
commit5dc6a58c29e330129dc9ff0afbd69ec9536bc962 (patch)
tree0d256ff5811259bdf6b1b062bca3c529c34c7b02
parent816ad225c90f35dd2bbbad5f9e710103c035c577 (diff)
downloadroads-5dc6a58c29e330129dc9ff0afbd69ec9536bc962.tar
roads-5dc6a58c29e330129dc9ff0afbd69ec9536bc962.tar.gz
roads-5dc6a58c29e330129dc9ff0afbd69ec9536bc962.tar.bz2
roads-5dc6a58c29e330129dc9ff0afbd69ec9536bc962.tar.xz
roads-5dc6a58c29e330129dc9ff0afbd69ec9536bc962.zip
tweak trafficlight nodebox
-rw-r--r--streetsmod/nodeboxes/trafficlight.nbe4
-rw-r--r--trafficlight/init.lua7
2 files changed, 6 insertions, 5 deletions
diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe
index 490e38f..1025942 100644
--- a/streetsmod/nodeboxes/trafficlight.nbe
+++ b/streetsmod/nodeboxes/trafficlight.nbe
@@ -10,8 +10,8 @@ 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 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.001 0.3125 0.09375 0.06 0.5
-NODEBOX nodebox8 -0.09375 0.001 0.3125 -0.03125 0.0625 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 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/trafficlight/init.lua b/trafficlight/init.lua
index 62e9bc9..2f1b343 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -6,7 +6,8 @@ minetest.register_node(":streets:trafficlight_top_off",{
drawtype="nodebox",
paramtype = "light",
paramtype2 = "facedir",
- groups = {cracky = 1},
+ groups = {cracky = 1, level = 2},
+ inventory_image = "streets_trafficlight_inv.png",
node_box = {
type = "fixed",
fixed = {
@@ -16,8 +17,8 @@ minetest.register_node(":streets:trafficlight_top_off",{
{-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.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
}