How to see what modules are in a placed assembler
Posted: Thu Jun 06, 2024 6:45 pm
I'm ideating developing a mode where you can select a bunch of entities with the blueprint selector, and then hot swap all the modules inside with a different type.
I see the CraftingMachinePrototype has ModuleSpecification
https://lua-api.factorio.com/latest/pro ... cification
But that seems to only describe the visual elements of showing module slots, not the actual ModuleCategoryID associated with each slot.
I assume this is because this is a Prototype, and not the concrete object.
So i'm wondering how you can get the current "settings" of a concrete object (like what item count is currently inside it, including modules).
Bonus point: how to see which concrete objects are selected by a blueprint/upgrade planner
Thanks!
I see the CraftingMachinePrototype has ModuleSpecification
https://lua-api.factorio.com/latest/pro ... cification
But that seems to only describe the visual elements of showing module slots, not the actual ModuleCategoryID associated with each slot.
I assume this is because this is a Prototype, and not the concrete object.
So i'm wondering how you can get the current "settings" of a concrete object (like what item count is currently inside it, including modules).
Bonus point: how to see which concrete objects are selected by a blueprint/upgrade planner
Thanks!