1x1 Entity that scans adjacent Wagon contents for circuit conditions.

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Dogmai
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu May 11, 2023 3:40 am
Contact:

1x1 Entity that scans adjacent Wagon contents for circuit conditions.

Post by Dogmai »

TL;DR
1x1 Entity that scans adjacent Wagon contents for circuit conditions.
What?
A 1x1 machine (like the display panel) that scans the train wagon it is adjacent to (or preferably directed at), regardless if it is a cargo or fluid wagon, and outputs it's contents for circuit reading.

Edit: Connect it via wire to the station, and only have it active when a train is docked at the station, to help with performance issues.
Why?
Came into this issue a while ago trying to make a direct train to train inserter for blue circuits. Figured out if you could specifically load 14 (from memory) stacks of red circuits onto a train, you can output exactly full wagon -20 circuits of blue circuits back into the same train. It is setting the exact amount of red circuits to be loaded into the wagon that is the issue.

For megabasing.
Last edited by Dogmai on Fri Jan 10, 2025 2:22 am, edited 1 time in total.
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: 1x1 Entity that scans adjacent Wagon contents for circuit conditions.

Post by robot256 »

For reference, this is the purpose of the Inventory Sensor mod. It is obviously not performant since the script has to constantly search for vehicles nearby. https://mods.factorio.com/mod/Inventory%20Sensor
Dogmai
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu May 11, 2023 3:40 am
Contact:

Re: 1x1 Entity that scans adjacent Wagon contents for circuit conditions.

Post by Dogmai »

robot256 wrote: Fri Jan 10, 2025 1:29 am For reference, this is the purpose of the Inventory Sensor mod. It is obviously not performant since the script has to constantly search for vehicles nearby. https://mods.factorio.com/mod/Inventory%20Sensor
I never knew there was a mod for that, but I thought of a solution to the issue you raised.

Perhaps it should only activate when a train is docked at the station, and deactivates when the train leaves. Connect it to the station using a wire, otherwise it is dormant.
Post Reply

Return to “Ideas and Suggestions”