summaryrefslogtreecommitdiff
path: root/il_timetable
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 15:04:09 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 15:04:09 +0200
commitd8774daac86100529fc34b532caf1870a7bdaa52 (patch)
tree7ddc07bb3e4efc887f19c308dff29fec17d66a01 /il_timetable
parentc6f56cf8e3f69472f9cb345b37b1b347ff21b5eb (diff)
downloadluaatc_envs-d8774daac86100529fc34b532caf1870a7bdaa52.tar.gz
luaatc_envs-d8774daac86100529fc34b532caf1870a7bdaa52.tar.bz2
luaatc_envs-d8774daac86100529fc34b532caf1870a7bdaa52.zip
State at 2023-12-20
Diffstat (limited to 'il_timetable')
-rw-r--r--il_timetable/init_code.lua11
-rw-r--r--il_timetable/nodes/(1722,30,2937).lua2
-rw-r--r--il_timetable/nodes/(1730,26,2917).lua10
-rw-r--r--il_timetable/nodes/(2336,29,3346).lua4
-rw-r--r--il_timetable/nodes/(2350,29,3340).lua4
-rw-r--r--il_timetable/nodes/(2635,13,4369).lua4
-rw-r--r--il_timetable/nodes/(2649,13,4351).lua4
7 files changed, 38 insertions, 1 deletions
diff --git a/il_timetable/init_code.lua b/il_timetable/init_code.lua
index 15c760e..07fd63c 100644
--- a/il_timetable/init_code.lua
+++ b/il_timetable/init_code.lua
@@ -203,6 +203,16 @@ F.ttp={
inside_line_desc = "S12 to Silver Coast",
stn_display = "S12 Silver Coast",
},
+ E84_N = {
+ outside_text = "[E84] Namespace Mountains",
+ inside_line_desc = "E84 to Namespace Mountains",
+ stn_display = "E84 Namespace M.",
+ },
+ E84_S = {
+ outside_text = "[E84] Personhood Main",
+ inside_line_desc = "E84 to Personhood Main",
+ stn_display = "E84 Personhood ",
+ },
}
--[[
@@ -248,6 +258,7 @@ function F.ttp_begin(p)
if ttio.recording_train == atc_id then
ttio.travel_times[p.stn] = rwt.diff(trno.initial_dep, time_now)
ttio.station_order[#ttio.station_order+1] = p.stn
+ print(atc_id,"for",p.tt,"at",p.stn,"-> travel time",rwt.to_string(ttio.travel_times[p.stn]),"-route end")
end
end
local next_dep_time = rwt.next_rpt(rwt.add(time_now, 10), p.depint, p.depoff)
diff --git a/il_timetable/nodes/(1722,30,2937).lua b/il_timetable/nodes/(1722,30,2937).lua
index d28bc16..f4017bb 100644
--- a/il_timetable/nodes/(1722,30,2937).lua
+++ b/il_timetable/nodes/(1722,30,2937).lua
@@ -1,5 +1,5 @@
F.ttp_station_display({
- lines = {"E1_N", "E1_S"},
+ lines = {"E1_N", "E1_S", "E84_N", "E84_S"},
departure = {},
station = "Personhood Main",
title = "Personhood Main",
diff --git a/il_timetable/nodes/(1730,26,2917).lua b/il_timetable/nodes/(1730,26,2917).lua
new file mode 100644
index 0000000..dd3c1bc
--- /dev/null
+++ b/il_timetable/nodes/(1730,26,2917).lua
@@ -0,0 +1,10 @@
+F.ttp_begin({
+ stn = "Personhood Main", -- station name
+ tt = "E1_S", -- timetable ID
+ depint = "02;30", --departure slot interval
+ depoff = "00;45", --departure slot offset
+ doorside = "L",
+ reverse = true,
+ only_lines = { E1 = true },
+ force_tt_reset = false,
+})
diff --git a/il_timetable/nodes/(2336,29,3346).lua b/il_timetable/nodes/(2336,29,3346).lua
new file mode 100644
index 0000000..5de5365
--- /dev/null
+++ b/il_timetable/nodes/(2336,29,3346).lua
@@ -0,0 +1,4 @@
+F.ttp_stop({
+ stn = "PK Factory",
+ doorside = "L",
+}) \ No newline at end of file
diff --git a/il_timetable/nodes/(2350,29,3340).lua b/il_timetable/nodes/(2350,29,3340).lua
new file mode 100644
index 0000000..5de5365
--- /dev/null
+++ b/il_timetable/nodes/(2350,29,3340).lua
@@ -0,0 +1,4 @@
+F.ttp_stop({
+ stn = "PK Factory",
+ doorside = "L",
+}) \ No newline at end of file
diff --git a/il_timetable/nodes/(2635,13,4369).lua b/il_timetable/nodes/(2635,13,4369).lua
new file mode 100644
index 0000000..56e00a2
--- /dev/null
+++ b/il_timetable/nodes/(2635,13,4369).lua
@@ -0,0 +1,4 @@
+F.ttp_stop({
+ stn = "Grub Valley (GVMER)",
+ doorside = "R",
+}) \ No newline at end of file
diff --git a/il_timetable/nodes/(2649,13,4351).lua b/il_timetable/nodes/(2649,13,4351).lua
new file mode 100644
index 0000000..56e00a2
--- /dev/null
+++ b/il_timetable/nodes/(2649,13,4351).lua
@@ -0,0 +1,4 @@
+F.ttp_stop({
+ stn = "Grub Valley (GVMER)",
+ doorside = "R",
+}) \ No newline at end of file