summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4511,12,-3178).lua
blob: 467f0f9a85c8d7dc62ad3e5fccf894ed78db209a (plain)
1
2
3
4
5
6
7
if event.type == "train" then
  rc = get_rc()
  if rc:find("apprentice_leave") ~= nil then
    rc = rc:gsub("apprentice_leave", "apprentice_unload")
  end
  set_rc(rc)
end