trace_upstream
Trace what feeds a machine or what it feeds by walking a Satisfactory save's connections, revealing dependencies for cutover and repiping.
Instructions
What feeds a machine, or what it feeds -- walked on the save's own connections.
factory_query answers this between LABELLED sets. This answers it for one machine or
one building type, which is the question a cutover actually asks: thirteen Oil
Extractors sit on the Spire nodes and twenty Fuel Generators are burning, and repiping
the wrong extractor first drops several GW.
Direction is READ, not guessed. Every material edge carries its connector role, and 92.5% of the connectors landing on a machine name their direction outright; the rest are all on extractors or generators, whose own nature settles them. Where even that fails the edge is walked BOTH ways -- over-reporting a feeder is recoverable, missing one is not.
Belts and pipes are walked THROUGH and left out of the table: a trace from the
generators touches 331 nodes at depth 72, nearly all of it conveyor. What the route
crossed is named instead in a note -- how many runs of each medium, and the ids
search_conduits takes for the ones that have them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| seed | Yes | a machine instance, a factory label, or a building name | |
| as_of | No | pin to one world state: a sav:… token from an earlier answer | |
| limit | No | max rows (hard cap 25) | |
| world | No | ||
| direction | No | up (what feeds it) | down (what it feeds) | up |