summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-01-18 23:08:48 -0600
committercheapie <no-email-for-you@example.com>2016-01-18 23:08:48 -0600
commitcef073405b3374e6707cb1bad4bdca15ead0c1f2 (patch)
tree27968c7e9840ad27a15db7f1d5f026af624301d3
parentf20ede676f55d4849af1b79b093b2d674be8060e (diff)
downloadroads-cef073405b3374e6707cb1bad4bdca15ead0c1f2.tar
roads-cef073405b3374e6707cb1bad4bdca15ead0c1f2.tar.gz
roads-cef073405b3374e6707cb1bad4bdca15ead0c1f2.tar.bz2
roads-cef073405b3374e6707cb1bad4bdca15ead0c1f2.tar.xz
roads-cef073405b3374e6707cb1bad4bdca15ead0c1f2.zip
Fix left/right arrow traffic light drops
-rw-r--r--trafficlight/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index 6c8e6ad..7f472e0 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -207,7 +207,7 @@ for _,i in pairs({"","_left","_right"}) do
})
minetest.register_node(":streets:trafficlight_top"..i.."_red",{
- drop = "streets:trafficlight_top_off",
+ drop = "streets:trafficlight_top"..i.."_off",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
@@ -230,7 +230,7 @@ for _,i in pairs({"","_left","_right"}) do
})
minetest.register_node(":streets:trafficlight_top"..i.."_yellow",{
- drop = "streets:trafficlight_top_off",
+ drop = "streets:trafficlight_top"..i.."_off",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
@@ -255,7 +255,7 @@ for _,i in pairs({"","_left","_right"}) do
minetest.register_alias("streets:trafficlight_top"..i.."_redyellow","streets:trafficlight_top"..i.."_green")
minetest.register_node(":streets:trafficlight_top"..i.."_green",{
- drop = "streets:trafficlight_top_off",
+ drop = "streets:trafficlight_top"..i.."_off",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
@@ -278,7 +278,7 @@ for _,i in pairs({"","_left","_right"}) do
})
minetest.register_node(":streets:trafficlight_top"..i.."_warn",{
- drop = "streets:trafficlight_top_off",
+ drop = "streets:trafficlight_top"..i.."_off",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
@@ -304,7 +304,7 @@ for _,i in pairs({"","_left","_right"}) do
})
minetest.register_node(":streets:trafficlight_top"..i.."_flashred",{
- drop = "streets:trafficlight_top_off",
+ drop = "streets:trafficlight_top"..i.."_off",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",