diff options
author | orwell96 <orwell@bleipb.de> | 2020-08-24 20:49:16 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-02-10 16:37:21 +0100 |
commit | 9a775eff5b7a49c322119feb4c8248791edab501 (patch) | |
tree | 2f3cae2da47c779edddf548ebd52a29cc84e8e6c /advtrains_signals_ks/init.lua | |
parent | 838cf61eac4dd7a8409c4b56874b2a6b3fc5c045 (diff) | |
download | advtrains-9a775eff5b7a49c322119feb4c8248791edab501.tar.gz advtrains-9a775eff5b7a49c322119feb4c8248791edab501.tar.bz2 advtrains-9a775eff5b7a49c322119feb4c8248791edab501.zip |
Add sign to make shunt moves proceed as main and improve doc of signals
Diffstat (limited to 'advtrains_signals_ks/init.lua')
-rw-r--r-- | advtrains_signals_ks/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index 3559d51..08bbb75 100644 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -174,7 +174,8 @@ for _, rtab in ipairs({ -- Speed restriction lifted ["e"] = {asp = { main = -1, shunt = true }, n = "hfs"}, -- Halt for shunt moves: - ["hfs"] = {asp = { main = false, shunt = false }, n = "8"}, + ["hfs"] = {asp = { main = false, shunt = false }, n = "pam"}, + ["pam"] = {asp = { main = -1, shunt = false, proceed_as_main = true}, n = "8"}, }) do minetest.register_node("advtrains_signals_ks:sign_"..typ.."_"..rot, { description = "Signal Sign", |