[Solved]Allow roboport equipment to work on a train while in Automatic mode

Things that already exist in the current mod API
User avatar
Fishbus
Inserter
Inserter
Posts: 36
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

[Solved]Allow roboport equipment to work on a train while in Automatic mode

Post by Fishbus »

Heya,

I have a train with an equipment wagon (A cargo wagon with an equipment grid).

The roboport equipment DOES work (robots are sent out in range of the train/wagon) when the train is being driven on 'Manual', but when the train is on 'Automatic' the robots don't leave the train.

My default expectation that the change from automatic/manual should not make a difference whether construction robots go out and do their thing.

My use case is to make this train go to certain stations on far perimeter outposts, park at a station, and then do repairs etc. However, it can only do this while manually driving the train - But I'd of course rather have a few trains do this automated.

Cheers
Attachments
Screenshot 2025-08-03 181953.png
Screenshot 2025-08-03 181953.png (3.17 MiB) Viewed 109 times
Last edited by Fishbus on Sun Aug 03, 2025 6:13 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15936
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Allow roboport equipment to work on a train while in Automatic mode

Post by Rseding91 »

From looking at the code - and from how I wrote it years ago - it should already work like this.

Do you have a save I can sync-mods with and test locally?
If you want to get ahold of me I'm almost always on Discord.
User avatar
Fishbus
Inserter
Inserter
Posts: 36
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

Re: Allow roboport equipment to work on a train while in Automatic mode

Post by Fishbus »

Yep, no problem. Find the save attached.
Attachments
Deathworld x20.zip
mod save
(21.93 MiB) Downloaded 3 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15936
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Allow roboport equipment to work on a train while in Automatic mode

Post by Rseding91 »

The Factorio+ mod which adds the grid has not set

Code: Select all

allow_robot_dispatch_in_automatic_mode = true
on the rolling stock.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Fishbus
Inserter
Inserter
Posts: 36
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

Re: Allow roboport equipment to work on a train while in Automatic mode

Post by Fishbus »

Rseding91 wrote: Sun Aug 03, 2025 6:03 pm The Factorio+ mod which adds the grid has not set

Code: Select all

allow_robot_dispatch_in_automatic_mode = true
on the rolling stock.
Thank you, that is my fault. I'll update the mod.
Post Reply

Return to “Already exists”