aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-24 17:50:26 +0100
committerorwell96 <orwell@bleipb.de>2019-01-24 17:50:26 +0100
commit9da148347d304ec2f26af6f813e26cb02bc6a6e7 (patch)
tree5cd8b9f486821bcaa984246153e957c157765912 /advtrains_interlocking
parent2976bae4522a1682808db55473d9f824c7155cc6 (diff)
downloadadvtrains-9da148347d304ec2f26af6f813e26cb02bc6a6e7.tar.gz
advtrains-9da148347d304ec2f26af6f813e26cb02bc6a6e7.tar.bz2
advtrains-9da148347d304ec2f26af6f813e26cb02bc6a6e7.zip
Basic functions of "stop rail", missing ARS rules and signal.
For signal, need to think of a callback system for signals and moving atlatc queue to core?
Diffstat (limited to 'advtrains_interlocking')
-rw-r--r--advtrains_interlocking/tsr_rail.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_interlocking/tsr_rail.lua b/advtrains_interlocking/tsr_rail.lua
index 253298c..90e8101 100644
--- a/advtrains_interlocking/tsr_rail.lua
+++ b/advtrains_interlocking/tsr_rail.lua
@@ -1,6 +1,7 @@
-- tsr_rail.lua
-- Point speed restriction rails
-- Simple rail whose only purpose is to place a TSR on the position, as a temporary solution until the timetable system covers everything.
+-- This code resembles the code in lines/stoprail.lua
local function updateform(pos)
local meta = minetest.get_meta(pos)