From cfa65d94f1bc9d9e9efe13791711a9ad044a4a67 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:52:38 +0200 Subject: State at 2021-04-04 --- durt/nodes/(442,-4,-198).lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 durt/nodes/(442,-4,-198).lua (limited to 'durt/nodes/(442,-4,-198).lua') diff --git a/durt/nodes/(442,-4,-198).lua b/durt/nodes/(442,-4,-198).lua new file mode 100644 index 0000000..028a50e --- /dev/null +++ b/durt/nodes/(442,-4,-198).lua @@ -0,0 +1,9 @@ +if event.type == "train" then + local rc = get_rc() + if rc:find("d23a_unload") ~= nil then + rc = rc:gsub("d23a_unload", "d23a_load") + elseif rc:find("d23a_load") ~= nil then + rc = rc:gsub("d23a_load", "d23a_leave") + end + set_rc(rc) +end \ No newline at end of file -- cgit v1.2.3