summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:53 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:53 +0200
commit4c265049dcf320a5eb40396581dc4c7cba975f9b (patch)
tree858d76109b1fe6253c5fa28d8027fefb370b9509
parentbc474afe8b59fd71d07332630f7d211197db5d7f (diff)
downloadluaatc_envs-4c265049dcf320a5eb40396581dc4c7cba975f9b.tar.gz
luaatc_envs-4c265049dcf320a5eb40396581dc4c7cba975f9b.tar.bz2
luaatc_envs-4c265049dcf320a5eb40396581dc4c7cba975f9b.zip
State at 2021-05-03
-rw-r--r--Crossroads/init_code.lua13
-rw-r--r--Crossroads/nodes/(1799,20,996).lua1
-rw-r--r--Crossroads/nodes/(1799,20,999).lua1
-rw-r--r--il_timetable/nodes/(1932,8,9112).lua5
4 files changed, 10 insertions, 10 deletions
diff --git a/Crossroads/init_code.lua b/Crossroads/init_code.lua
index a312281..4b18696 100644
--- a/Crossroads/init_code.lua
+++ b/Crossroads/init_code.lua
@@ -1,8 +1,3 @@
-F.foo = {}
-function F.foo2()
- F.foo[1] = "foo"
-end
-
if S.trains == nil then S.trains = {} end
if not S.odsd then S.odsd = {} end
if not S.cpoints then S.cpoints = {} end
@@ -352,15 +347,15 @@ F.lines = {
name = "ATL-B Commuter", short = "ATL-B/C",
ring = false,
interval = 240,
- [1] = { {"crch","A1"}, --[[ {"crwm","3"},]] {"scs","N1"}, {"scc","N1"}, {"scn","N1"}, {"cg","1"}, {"thecube","4"}, --[[{"phsc","N"},]] {"grsc", "4"}, {"phwest","2"} },
- [2] = { {"phwest","2"}, {"grsc", "3"}, --[[{"phsc","S"},]] {"thecube","1"}, {"cg","2"}, {"scn","S1"}, {"scc","S1"}, {"scs","S1"}, --[[ {"crwm","4"}, ]] {"crch","A1"} },
+ [1] = { {"crch","2"}, --[[ {"crwm","3"},]] {"scs","N1"}, {"scc","N1"}, {"scn","N1"}, {"cg","1"}, {"thecube","4"}, --[[{"phsc","N"},]] {"grsc", "4"}, {"phwest","2"} },
+ [2] = { {"phwest","2"}, {"grsc", "3"}, --[[{"phsc","S"},]] {"thecube","1"}, {"cg","2"}, {"scn","S1"}, {"scc","S1"}, {"scs","S1"}, --[[ {"crwm","4"}, ]] {"crch","2"} },
},
["ABE"] = {
name = "ATL-B Express", short = "ATL-B/E",
ring = false,
interval = 240,
- [1] = {{"crch","A1"}, {"scc","N2"}, {"cg","1"}, {"thecube", "4"}, {"phwest", "2"}},
- [2] = {{"phwest", "2"}, {"thecube", "1"}, {"cg", "2"}, {"scc", "S2"}, {"crch", "A1"}},
+ [1] = {{"crch","1"}, {"scc","N2"}, {"cg","1"}, {"thecube", "4"}, {"phwest", "2"}},
+ [2] = {{"phwest", "2"}, {"thecube", "1"}, {"cg", "2"}, {"scc", "S2"}, {"crch", "1"}},
},
["AZ"] = {
name = "ATL Zinc Line", short = "ATL-Z",
diff --git a/Crossroads/nodes/(1799,20,996).lua b/Crossroads/nodes/(1799,20,996).lua
new file mode 100644
index 0000000..664c120
--- /dev/null
+++ b/Crossroads/nodes/(1799,20,996).lua
@@ -0,0 +1 @@
+F.stn2gen("crch", "1", "R", true, true) \ No newline at end of file
diff --git a/Crossroads/nodes/(1799,20,999).lua b/Crossroads/nodes/(1799,20,999).lua
new file mode 100644
index 0000000..8d3a889
--- /dev/null
+++ b/Crossroads/nodes/(1799,20,999).lua
@@ -0,0 +1 @@
+F.stn2gen("crch", "2", "L", true, true) \ No newline at end of file
diff --git a/il_timetable/nodes/(1932,8,9112).lua b/il_timetable/nodes/(1932,8,9112).lua
index 5990383..15f2c53 100644
--- a/il_timetable/nodes/(1932,8,9112).lua
+++ b/il_timetable/nodes/(1932,8,9112).lua
@@ -1,17 +1,20 @@
--S.ttp["CFE_S"].travel_times["Personhood West"] = 890
+print(S.ttt)
+
lines = F.ttp_info_times("CFE_S", "00;00")
linestr = F.ttp_info_trains("CFE_S", "00;00")
local li = lines
for i=1,#linestr do li[#li+1] = linestr[i] end
print(" CFE\n"..table.concat(li, "\n"))
+--[[
lines = F.ttp_info_times("NX_S", "00;00")
linestr = F.ttp_info_trains("NX_S", "00;00")
li = lines
for i=1,#linestr do li[#li+1] = linestr[i] end
print(" NX\n"..table.concat(li, "\n"))
-
+]]
lines = F.ttp_info_times("E1_S", "00;00")
--linestr = F.ttp_info_trains("E1_S", "00;00")
li = lines