aboutsummaryrefslogtreecommitdiff
path: root/advtrains_signals_ks/init.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2025-01-09 20:51:03 +0100
committerorwell <orwell@bleipb.de>2025-01-09 20:51:03 +0100
commite654a1fbe6c15cbf45c1d0c6760545db81deae48 (patch)
treea5d502cc3b8dcb9222aa5aa4930a0796c16f178d /advtrains_signals_ks/init.lua
parent521da2871ad19cdead98066b643552b35f35d761 (diff)
downloadadvtrains-e654a1fbe6c15cbf45c1d0c6760545db81deae48.tar.gz
advtrains-e654a1fbe6c15cbf45c1d0c6760545db81deae48.tar.bz2
advtrains-e654a1fbe6c15cbf45c1d0c6760545db81deae48.zip
KS signal signs: change linespeed indicator 20->E, make tempspeed E also yellow, to make it more consistent (while deviating a bit from real life)route_prog_rework
Diffstat (limited to 'advtrains_signals_ks/init.lua')
-rwxr-xr-xadvtrains_signals_ks/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua
index 7c78dea..877ad82 100755
--- a/advtrains_signals_ks/init.lua
+++ b/advtrains_signals_ks/init.lua
@@ -476,7 +476,7 @@ for _, rtab in ipairs({
["16"] = {main = 16, n = "e"},
["e"] = {main = -1, n = "4"},
} do
- local tile2 = "advtrains_signals_ks_sign_lf7.png^(advtrains_signals_ks_sign_"..typ..".png^[makealpha:255,255,255)"..(typ == "e" and "" or "^[multiply:orange")
+ local tile2 = "advtrains_signals_ks_sign_lf7.png^(advtrains_signals_ks_sign_"..typ..".png^[makealpha:255,255,255)^[multiply:orange"
local inv = "advtrains_signals_ks_sign_lf7.png^(advtrains_signals_ks_sign_8.png^[makealpha:255,255,255)^[multiply:orange"
register_sign("sign_lf", typ, prts.n, "Temporary local speed restriction sign", "sign", tile2, "8", inv, {main = prts.main, shunt = true, type = "temp"})
end
@@ -486,8 +486,8 @@ for _, rtab in ipairs({
["6"] = {main = 6, n = "8"},
["8"] = {main = 8, n = "12"},
["12"] = {main = 12, n = "16"},
- ["16"] = {main = 16, n = "20"},
- ["20"] = {main = 20, n = "4"},
+ ["16"] = {main = 16, n = "e"},
+ ["e"] = {main = -1, n = "4"},
} do
local tile2 = "advtrains_signals_ks_sign_lf7.png^(advtrains_signals_ks_sign_"..typ..".png^[makealpha:255,255,255)"
local inv = "advtrains_signals_ks_sign_lf7.png^(advtrains_signals_ks_sign_8.png^[makealpha:255,255,255)"