From 5dc6a58c29e330129dc9ff0afbd69ec9536bc962 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Wed, 23 Apr 2014 17:55:47 +0200 Subject: tweak trafficlight nodebox --- streetsmod/nodeboxes/trafficlight.nbe | 4 ++-- trafficlight/init.lua | 7 ++++--- 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 } -- cgit v1.2.3