From 5dc6a58c29e330129dc9ff0afbd69ec9536bc962 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Wed, 23 Apr 2014 17:55:47 +0200 Subject: tweak trafficlight nodebox --- trafficlight/init.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'trafficlight') 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