diff options
-rw-r--r-- | streetsmod/nodeboxes/trafficlight.nbe | 4 | ||||
-rw-r--r-- | 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 } |