diff options
author | cheapie <no-email-for-you@example.com> | 2016-05-12 15:01:25 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2016-05-12 15:01:25 -0500 |
commit | 1cced6fb370c902c6396a3ee13032451286f5217 (patch) | |
tree | 419cfadc70ea856d85d4631780c1544739e8fa56 | |
parent | 51ca015487ec8116a5d4efddceacb6a620e56e61 (diff) | |
download | roads-1cced6fb370c902c6396a3ee13032451286f5217.tar roads-1cced6fb370c902c6396a3ee13032451286f5217.tar.gz roads-1cced6fb370c902c6396a3ee13032451286f5217.tar.bz2 roads-1cced6fb370c902c6396a3ee13032451286f5217.tar.xz roads-1cced6fb370c902c6396a3ee13032451286f5217.zip |
Improve inventory images
-rw-r--r-- | trafficlight/init.lua | 12 | ||||
-rw-r--r-- | trafficlight/textures/streets_pedlight_inv.png | bin | 0 -> 2921 bytes | |||
-rw-r--r-- | trafficlight/textures/streets_trafficlight_inv_extender_left.png | bin | 0 -> 2990 bytes | |||
-rw-r--r-- | trafficlight/textures/streets_trafficlight_inv_extender_right.png | bin | 0 -> 3004 bytes | |||
-rw-r--r-- | trafficlight/textures/streets_trafficlight_inv_left.png | bin | 0 -> 3007 bytes | |||
-rw-r--r-- | trafficlight/textures/streets_trafficlight_inv_right.png | bin | 0 -> 3032 bytes | |||
-rw-r--r-- | trafficlight/textures/streets_trafficlight_inv_straight.png | bin | 0 -> 2938 bytes |
7 files changed, 4 insertions, 8 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 4985a17..a3d0660 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -203,7 +203,7 @@ minetest.register_node(":streets:trafficlight_top_extender_left_off",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + inventory_image = "streets_trafficlight_inv_extender_left.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -239,7 +239,6 @@ minetest.register_node(":streets:trafficlight_top_extender_left_yellow",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2, not_in_creative_inventory = 1}, - inventory_image = "streets_trafficlight_inv.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -275,7 +274,6 @@ minetest.register_node(":streets:trafficlight_top_extender_left_green",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2, not_in_creative_inventory = 1}, - inventory_image = "streets_trafficlight_inv.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -310,7 +308,7 @@ minetest.register_node(":streets:trafficlight_top_extender_right_off",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + inventory_image = "streets_trafficlight_inv_extender_right.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -346,7 +344,6 @@ minetest.register_node(":streets:trafficlight_top_extender_right_yellow",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2, not_in_creative_inventory = 1}, - inventory_image = "streets_trafficlight_inv.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -382,7 +379,6 @@ minetest.register_node(":streets:trafficlight_top_extender_right_green",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2, not_in_creative_inventory = 1}, - inventory_image = "streets_trafficlight_inv.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -417,7 +413,7 @@ minetest.register_node(":streets:pedlight_top_off",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + inventory_image = "streets_pedlight_inv.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -529,7 +525,7 @@ for _,i in pairs({"","_left","_right"}) do paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + inventory_image = ((i == "") and "streets_trafficlight_inv_straight.png") or ((i == "_left") and "streets_trafficlight_inv_left.png") or ((i == "_right") and "streets_trafficlight_inv_right.png"), light_source = 11, sunlight_propagates = true, node_box = { diff --git a/trafficlight/textures/streets_pedlight_inv.png b/trafficlight/textures/streets_pedlight_inv.png Binary files differnew file mode 100644 index 0000000..c4520f1 --- /dev/null +++ b/trafficlight/textures/streets_pedlight_inv.png diff --git a/trafficlight/textures/streets_trafficlight_inv_extender_left.png b/trafficlight/textures/streets_trafficlight_inv_extender_left.png Binary files differnew file mode 100644 index 0000000..d28a437 --- /dev/null +++ b/trafficlight/textures/streets_trafficlight_inv_extender_left.png diff --git a/trafficlight/textures/streets_trafficlight_inv_extender_right.png b/trafficlight/textures/streets_trafficlight_inv_extender_right.png Binary files differnew file mode 100644 index 0000000..bf4cdb6 --- /dev/null +++ b/trafficlight/textures/streets_trafficlight_inv_extender_right.png diff --git a/trafficlight/textures/streets_trafficlight_inv_left.png b/trafficlight/textures/streets_trafficlight_inv_left.png Binary files differnew file mode 100644 index 0000000..04530aa --- /dev/null +++ b/trafficlight/textures/streets_trafficlight_inv_left.png diff --git a/trafficlight/textures/streets_trafficlight_inv_right.png b/trafficlight/textures/streets_trafficlight_inv_right.png Binary files differnew file mode 100644 index 0000000..5a73942 --- /dev/null +++ b/trafficlight/textures/streets_trafficlight_inv_right.png diff --git a/trafficlight/textures/streets_trafficlight_inv_straight.png b/trafficlight/textures/streets_trafficlight_inv_straight.png Binary files differnew file mode 100644 index 0000000..ac3e7aa --- /dev/null +++ b/trafficlight/textures/streets_trafficlight_inv_straight.png |