Power pole connectivity whitelist

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
tsen
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Jul 30, 2019 5:41 am
Contact:

Power pole connectivity whitelist

Post by tsen »

Simply put, I'd like for electric-pole entities to have an optional whitelist of entities to which the pole can be connected by copper wires (that is, electric network entities which can serve as directly adjacent nodes in the network to the entity in question); see below for discussion on circuit wires.
Use case: I have a (currently unreleased) mod which implements underground cables, and I would find it productive to supply separate 'terminal' and 'repeater' units, with only the former connectible to the ordinary aboveground electric network; repeaters would then only whitelist repeaters and terminals. It seems that a similar argument would also apply to many possible ways mods might wish to complicate* the electrical network.

Owing to the fact that circuit networks implicate many more entity types, I haven't directly considered them in this request because the potential use cases are far more complex; however, I would certainly find it availing to at least be able to supply a boolean that determines whether circuit connections also abide by the same whitelist, or something. My own use case would be entirely served if the whitelist simply applies to all wire types, but I imagine some people might find this restrictive, so I argue neither for nor against.


*My lawyer has advised me to reconsider use of the word 'complicate'. Nevertheless, I have never seen a truly compelling mod simplify anything, have you?
Post Reply

Return to “Modding interface requests”