aboutsummaryrefslogtreecommitdiff
path: root/advtrains_signals_ks
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-08-24 20:49:16 +0200
committerorwell96 <orwell@bleipb.de>2021-02-10 16:37:21 +0100
commit9a775eff5b7a49c322119feb4c8248791edab501 (patch)
tree2f3cae2da47c779edddf548ebd52a29cc84e8e6c /advtrains_signals_ks
parent838cf61eac4dd7a8409c4b56874b2a6b3fc5c045 (diff)
downloadadvtrains-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')
-rw-r--r--advtrains_signals_ks/init.lua3
-rw-r--r--advtrains_signals_ks/textures/advtrains_signals_ks_sign_pam.pngbin0 -> 211 bytes
2 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",
diff --git a/advtrains_signals_ks/textures/advtrains_signals_ks_sign_pam.png b/advtrains_signals_ks/textures/advtrains_signals_ks_sign_pam.png
new file mode 100644
index 0000000..c4229fd
--- /dev/null
+++ b/advtrains_signals_ks/textures/advtrains_signals_ks_sign_pam.png
Binary files differ