summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-01-14 14:02:09 -0600
committercheapie <no-email-for-you@example.com>2016-01-14 14:02:09 -0600
commitad97bfc37c30795924ce2eb2c8629a5b2db2ebe6 (patch)
tree89b4230aa2939b37963d28c05a0b6c22aa4c0af1
parent0695a956efe168fa7e9349e660f6bc810c4f93ca (diff)
downloadroads-ad97bfc37c30795924ce2eb2c8629a5b2db2ebe6.tar
roads-ad97bfc37c30795924ce2eb2c8629a5b2db2ebe6.tar.gz
roads-ad97bfc37c30795924ce2eb2c8629a5b2db2ebe6.tar.bz2
roads-ad97bfc37c30795924ce2eb2c8629a5b2db2ebe6.tar.xz
roads-ad97bfc37c30795924ce2eb2c8629a5b2db2ebe6.zip
Remove the red+yellow phase before green
-rw-r--r--trafficlight/init.lua32
-rw-r--r--trafficlight/textures/streets_tl_left_redyellow.pngbin1003 -> 0 bytes
-rw-r--r--trafficlight/textures/streets_tl_redyellow.pngbin1025 -> 0 bytes
-rw-r--r--trafficlight/textures/streets_tl_right_redyellow.pngbin1000 -> 0 bytes
4 files changed, 4 insertions, 28 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index 67e531d..38b18c4 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -24,8 +24,7 @@ streets.tlRhythm = {
{name = "streets:trafficlight_top_red", pauseBefore = 3}
},
toGreen = {
- {name = "streets:trafficlight_top_redyellow", pauseBefore = 0},
- {name = "streets:trafficlight_top_green", pauseBefore = 1.5}
+ {name = "streets:trafficlight_top_green", pauseBefore = 0}
},
toOff = {
{name = "streets:trafficlight_top_off", pauseBefore = 0}
@@ -44,8 +43,7 @@ streets.tlRhythm_left = {
{name = "streets:trafficlight_top_left_red", pauseBefore = 3}
},
toGreen = {
- {name = "streets:trafficlight_top_left_redyellow", pauseBefore = 0},
- {name = "streets:trafficlight_top_left_green", pauseBefore = 1.5}
+ {name = "streets:trafficlight_top_left_green", pauseBefore = 0}
},
toOff = {
{name = "streets:trafficlight_top_left_off", pauseBefore = 0}
@@ -64,8 +62,7 @@ streets.tlRhythm_right = {
{name = "streets:trafficlight_top_right_red", pauseBefore = 3}
},
toGreen = {
- {name = "streets:trafficlight_top_right_redyellow", pauseBefore = 0},
- {name = "streets:trafficlight_top_right_green", pauseBefore = 1.5}
+ {name = "streets:trafficlight_top_right_green", pauseBefore = 0}
},
toOff = {
{name = "streets:trafficlight_top_right_off", pauseBefore = 0}
@@ -255,28 +252,7 @@ for _,i in pairs({"","_left","_right"}) do
},
})
- minetest.register_node(":streets:trafficlight_top"..i.."_redyellow",{
- drop = "streets:trafficlight_top_off",
- groups = {cracky = 1, not_in_creative_inventory = 1},
- paramtype = "light",
- paramtype2 = "facedir",
- sunlight_propagates = true,
- drawtype = "nodebox",
- tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl"..i.."_redyellow.png"},
- node_box = {
- type = "fixed",
- fixed = streets.tlBox
- },
- light_source = 6,
- digiline = {
- receptor = {},
- effector = {
- action = function(pos, node, channel, msg)
- streets.on_digiline_receive(pos, node, channel, msg)
- end
- }
- },
- })
+ 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",
diff --git a/trafficlight/textures/streets_tl_left_redyellow.png b/trafficlight/textures/streets_tl_left_redyellow.png
deleted file mode 100644
index b79d1ec..0000000
--- a/trafficlight/textures/streets_tl_left_redyellow.png
+++ /dev/null
Binary files differ
diff --git a/trafficlight/textures/streets_tl_redyellow.png b/trafficlight/textures/streets_tl_redyellow.png
deleted file mode 100644
index da443d9..0000000
--- a/trafficlight/textures/streets_tl_redyellow.png
+++ /dev/null
Binary files differ
diff --git a/trafficlight/textures/streets_tl_right_redyellow.png b/trafficlight/textures/streets_tl_right_redyellow.png
deleted file mode 100644
index a1acd03..0000000
--- a/trafficlight/textures/streets_tl_right_redyellow.png
+++ /dev/null
Binary files differ