Would it be possible to add support for packed mode in the Compact Circuits mod. It looks like it shouldn't be too terribly difficult to add.
The mod page details the process:
- define a "packed" version of the combinator (and any other entities used) with no display and with the properties:
packed_entity.flags = { 'placeable-off-grid' , "hidden", "hide-alt-info", "not-on-map", "not-upgradable", "not-deconstructable", "not-blueprintable" }
packed_entity.collision_mask = {}
packed_entity.collision_box = nil
packed_entity.minable = nil
packed_entity.selectable_in_game = false
- define a remote interface in the external mod with methods:
get_info(entity) : get private information on an entity in a structure (properties name, index, position, direction are reserved)
create_packed_entity(info, surface, position, force) : create a packed entity with info (return from previous call), surface, position, force
create_entity(info, surface, force) : create a normal combinator with info, surface, force, info.position, info.direction
- call the Compakt Circuit remote interface:
remote.call("compaktcircuit", "add_combinator", {
name = <name of the combinator>,
packed_names = { <list of used packed combinators> },
interface_name = <interface name of the external mod interface>
})
It doesn't look like it should be too difficult. I may even want to try it myself, but I am very new to Factorio modding. If I can make it work, would you like a pull request for this feature?
Would it be possible to add support for packed mode in the Compact Circuits mod. It looks like it shouldn't be too terribly difficult to add.
The mod page details the process:
It doesn't look like it should be too difficult. I may even want to try it myself, but I am very new to Factorio modding. If I can make it work, would you like a pull request for this feature?