From c019cfb8391dae72a1480e6d8ae8f06ff3d702ee Mon Sep 17 00:00:00 2001 From: autocommitter Date: Thu, 31 Oct 2024 00:00:02 +0100 Subject: State at 2024-10-31 --- auto_yards/nodes/(-1969,16,824).lua | 1 + auto_yards/nodes/(-1969,16,852).lua | 1 + auto_yards/nodes/(-588,26,2504).lua | 26 +++++++++++++++++++++++++- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 auto_yards/nodes/(-1969,16,824).lua create mode 100644 auto_yards/nodes/(-1969,16,852).lua (limited to 'auto_yards/nodes') 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 -- cgit v1.2.3