The modding API allows electric poles to be wired (standard wiring) and such connection to be probed for.
It would be nice if the same feature was available for the CCnet wires as well.
While un-wiring is not directly supported, blackence did find a hacky way around
See the bottom of this post for a video / description / download of the proof-of-concept mod:
https://forums.factorio.com/forum/vie ... 022#p42983
CCnet wiring manipulation: wiring, probing, un-wiring
CCnet wiring manipulation: wiring, probing, un-wiring
Last edited by MF- on Sun Sep 07, 2014 8:09 pm, edited 4 times in total.
Re: CCnet wiring manipulation
PS: At https://forums.factorio.com/forum/vie ... php?t=5564 "Any way to remove a red/green cable?"
I learned, that the player can in fact un-wire CCnet wiring manually.
I learned, that the player can in fact un-wire CCnet wiring manually.
Re: CCnet wiring manipulation
CCnet wiring is also possible (since 0.10.0):
See:
https://forums.factorio.com/forum/vie ... 109#p30603
(the third code-box from the end)
See:
https://forums.factorio.com/forum/vie ... 109#p30603
(the third code-box from the end)
Re: CCnet wiring manipulation: probing, un-wiring
Oh, the "Expanded connectneighbour-method" has an optional parameter now, thanks.
Is there a way how to selectively un-wire connections?
Can pole.neighbours even read CCnet wire presence (otherwise the un-wiring hack cannot be applied)?
Is there a way how to selectively un-wire connections?
Can pole.neighbours even read CCnet wire presence (otherwise the un-wiring hack cannot be applied)?
Re: CCnet wiring manipulation: wiring, probing, un-wiring
Am I supposed to create a new thread for probing / un-wiring CCnet wires?
Re: CCnet wiring manipulation: wiring, probing, un-wiring
Yay, un-wiring is implemented in 0.11
EDIT: For CCnet wiring that is.
The changelong doesn't mention any wire-detection mechanism, thoughAdded disconnectneighbour: used with electric poles; takes the circuit connector to disconnect - none to disconnect standard copper wire.
EDIT: For CCnet wiring that is.
Re: CCnet wiring manipulation: wiring, probing, un-wiring
Topic abandoned
Re: CCnet wiring manipulation: wiring, probing, un-wiring
This should be moved to implemented requests. All three features exist now, provided by LuaEntity::connect_neighbour, LuaEntity::disconnect_neighbour and LuaEntity::circuit_connection_definitions.