EditorExtensions icon indicating copy to clipboard operation
EditorExtensions copied to clipboard

Auto-launch silos from test surfaces (already implemented, want me to contribute?)

Open cherrydev opened this issue 10 months ago • 4 comments

I had a problem while designing a Fulgora factory in a test lab: In order to test to make sure the throughput of all the parts of my factory were aligned, I needed my rocket silo to consume ingredients continually, as though it would be launching continually. I realized this was pretty trivial to do as a simple mod. It just looks for silos on every EE_TESTSURFACE and if they're in the rocket_ready state it just calls launch_rocket() on them and they head off just fine even thought they don't have a destination. Would you be interested for me to make a PR, including an option in the preferences pane to enable this behaviour?

The only thing I'm not happy with about my implementation is there's no way to enable or disable the behaviour for individual silos. I had considered making it so that this behaviour would only work on silos that had the 'logistics requests from space platforms' toggle turned on, but after digging through all the API docs and looking at all of the Space Age 'mod' files, I cannot for the life of me find where and how that toggle is implemented! Another option is to make it check for a circuit condition.

What do you think?

cherrydev avatar Dec 15 '24 18:12 cherrydev