summaryrefslogtreecommitdiff
path: root/auto_yards/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-10-31 00:00:02 +0100
committerautocommitter <autocommitter@linux-forks.de>2024-10-31 00:00:02 +0100
commitc019cfb8391dae72a1480e6d8ae8f06ff3d702ee (patch)
tree046a04c226916b6e9ba46ea675ddf649b7194ad9 /auto_yards/nodes
parent22e2624c6c07bc7b4d51bac1365b22c8ed27bbc2 (diff)
downloadluaatc_envs-c019cfb8391dae72a1480e6d8ae8f06ff3d702ee.tar.gz
luaatc_envs-c019cfb8391dae72a1480e6d8ae8f06ff3d702ee.tar.bz2
luaatc_envs-c019cfb8391dae72a1480e6d8ae8f06ff3d702ee.zip
State at 2024-10-31
Diffstat (limited to 'auto_yards/nodes')
-rw-r--r--auto_yards/nodes/(-1969,16,824).lua1
-rw-r--r--auto_yards/nodes/(-1969,16,852).lua1
-rw-r--r--auto_yards/nodes/(-588,26,2504).lua26
3 files changed, 27 insertions, 1 deletions
diff --git a/auto_yards/nodes/(-1969,16,824).lua b/auto_yards/nodes/(-1969,16,824).lua
new file mode 100644
index 0000000..4503e25
--- /dev/null
+++ b/auto_yards/nodes/(-1969,16,824).lua
@@ -0,0 +1 @@
+F.lane_EOL("ARC",true) \ No newline at end of file
diff --git a/auto_yards/nodes/(-1969,16,852).lua b/auto_yards/nodes/(-1969,16,852).lua
new file mode 100644
index 0000000..89349e3
--- /dev/null
+++ b/auto_yards/nodes/(-1969,16,852).lua
@@ -0,0 +1 @@
+F.lane_EOL("ARC",false) \ No newline at end of file
diff --git a/auto_yards/nodes/(-588,26,2504).lua b/auto_yards/nodes/(-588,26,2504).lua
index 46e3050..cb800d9 100644
--- a/auto_yards/nodes/(-588,26,2504).lua
+++ b/auto_yards/nodes/(-588,26,2504).lua
@@ -1,2 +1,26 @@
+function tprint (tbl, indent)
+ local s = ""
+ if not indent then indent = 0 end
+ for k, v in pairs(tbl) do
+ local formatting = string.rep(" ", indent) .. "['"..k .. "']= "
+ if type(v) == "table" then
+ s = s .. formatting .. "{"..tprint(v, indent+1).."}"
+ else
+ s = s .. formatting .. tostring(v)
+ end
+ s = s .. ", "
+ end
+ return s
+end
+
+local str = "CAN_SB!S27!SAND_UNLOAD!DIRT_LOAD!S27_NB!CANNERY!DIRT_UNLOAD!SAND_LOAD"
+local fc_table = {""}
+for i=2,train_length() do
+table.insert(fc_table,str)
+end
+set_fc(fc_table, true)
+print(tprint(get_fc()))
+
+
-- EOL
-F.lane_EOL("CAN",true) \ No newline at end of file
+--F.lane_EOL("CAN",true) \ No newline at end of file