From ddaee135d42ede8b4970f2c2cce973f5c03234f1 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:52:21 +0200 Subject: State at 2020-09-28 --- durt/nodes/(-4502,12,-3179).lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 durt/nodes/(-4502,12,-3179).lua (limited to 'durt/nodes/(-4502,12,-3179).lua') diff --git a/durt/nodes/(-4502,12,-3179).lua b/durt/nodes/(-4502,12,-3179).lua new file mode 100644 index 0000000..27ed074 --- /dev/null +++ b/durt/nodes/(-4502,12,-3179).lua @@ -0,0 +1,9 @@ +if event.type == "train" then + local rc = get_rc() + if rc:find("apprentice_unload") ~= nil then + rc = rc:gsub("apprentice_unload", "apprentice_load") + elseif rc:find("apprentice_load") ~= nil then + rc = rc:gsub("apprentice_load", "apprentice_leave") + end + set_rc(rc) +end \ No newline at end of file -- cgit v1.2.3