Rocket Silo Automatic Requests
Posted: Tue Apr 29, 2025 4:54 pm
Right now, I don't see any way to read or write to the value of this checkbox on a given rocket silo entity, nor a way to force it in the prototype. I am making a mod where rocket silos on one planet can export things, but cannot be allowed to make automatic logi bot requests because it can cheese my planet’s core mechanic.
What I have tried/considered:
-Disable Logistic Point: I can disable the requester logistic point from the silo to get the desired behavior, but that leaves a checkbox that will confuse the player into thinking the functionality works like normal.
-Setting RocketSiloPrototype logistic trash slots to 0 removes the GUI and logi bot requests, but that also causes the silo to be unable to automatically export ANY items (even in non-automatic mode). All launches in this scenario must be done 100% manually. If this is a bug, then fixing it would work.
-Relative GUI: The best I can do is leave a message that tells the player that the checkbox must be off.
-Localization string change: That changes it for all silos (not just my custom silo), and still leaves a checkbox that does nothing.
Any of these additions would work for me:
From best to worst:
-RocketSiloPrototype.logistic_trash_slots = 0 still lets silo automatically send a rocket that is manually filled with cargo.
-LuaEntity gets silo_automatic_requests as a bool with read/write access.
-RocketSiloPrototype gets a bool to lock its automatic logistic capabilities to one value. Or to disable its ability to interface with logibots.
-(workaround for conveyance) RocketSiloPrototype gets an optional Sprite field for its own “out of network” icon triggered by “render_out_of_logistic_network”.
What I have tried/considered:
-Disable Logistic Point: I can disable the requester logistic point from the silo to get the desired behavior, but that leaves a checkbox that will confuse the player into thinking the functionality works like normal.
-Setting RocketSiloPrototype logistic trash slots to 0 removes the GUI and logi bot requests, but that also causes the silo to be unable to automatically export ANY items (even in non-automatic mode). All launches in this scenario must be done 100% manually. If this is a bug, then fixing it would work.
-Relative GUI: The best I can do is leave a message that tells the player that the checkbox must be off.
-Localization string change: That changes it for all silos (not just my custom silo), and still leaves a checkbox that does nothing.
Any of these additions would work for me:
From best to worst:
-RocketSiloPrototype.logistic_trash_slots = 0 still lets silo automatically send a rocket that is manually filled with cargo.
-LuaEntity gets silo_automatic_requests as a bool with read/write access.
-RocketSiloPrototype gets a bool to lock its automatic logistic capabilities to one value. Or to disable its ability to interface with logibots.
-(workaround for conveyance) RocketSiloPrototype gets an optional Sprite field for its own “out of network” icon triggered by “render_out_of_logistic_network”.