How to make an entity with circuit_wire_connection_point(s)
Posted: Mon Jul 16, 2018 6:45 pm
I would like a modded nuclear reactor to give out its content (=fuel cell and empty fuel cells) to the circuit network, therefor the circuit wires need to be attachable to the reactor.
Can anybody tell me how to do this?
I tried to add circuit_wire_connection_point and circuit_wire_max_distance to the entity definition, but that does not seem to be enough. Can an entity with type="reactor" not have circuit wires attached, or am I missing something?
Can anybody tell me how to do this?
I tried to add circuit_wire_connection_point and circuit_wire_max_distance to the entity definition, but that does not seem to be enough. Can an entity with type="reactor" not have circuit wires attached, or am I missing something?
Code: Select all
{
type = "reactor",
name = "test-reactor",
[...]
circuit_wire_connection_point =
{
shadow =
{
red = {22.5/32, 23.5/32},
green = {18.5/32, 28.5/32},
},
wire =
{
red = {12/32, 23/32},
green = {12/32, 28/32},
}
},
circuit_wire_max_distance = 7.5
}