trace_upstream
Trace what feeds a machine, factory, or building—or what it feeds—through save connections from a seed to reveal upstream/downstream dependencies before repiping or rerouting.
Instructions
What feeds a machine, factory or building type, or what it feeds, walked on the save's connections.
factory_query show=links answers this between named factories; this walks from one seed, e.g. which feed can be repiped without dropping the generators behind it. Direction is read from connector roles or the machine's nature; an edge with neither is walked both ways, so a feeder may be over-reported, never missed. Belts and pipes are walked through, not listed; a note names the runs crossed by the chain:/pipe: ids search_conduits takes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| seed | Yes | machine:<instance> (or the bare instance), a factory name, or a building name | |
| as_of | No | pin to one save: the sav:… token an earlier answer printed | |
| limit | No | ||
| world | No | ||
| direction | No | up (what feeds it) | down (what it feeds) | up |