ClassLuaControlBehaviorabstractchanged
Members
| get_circuit_network(wire_connector_id) | → LuaCircuitNetwork? | |
| input_networks new | :: RW CircuitNetworkSelection? | Which circuit networks (red/green) to read signals from. [...] |
Which circuit networks (red/green) to read signals from. [...] | ||
| output_networks new | :: RW CircuitNetworkSelection? | Which circuit networks (red/green) to send signals to. [...] |
Which circuit networks (red/green) to send signals to. [...] | ||
| type | :: R defines.control_behavior.type | The concrete type of this control behavior. |
The concrete type of this control behavior. | ||
| entity | :: R LuaEntity | The entity this control behavior belongs to. |
The entity this control behavior belongs to. | ||
Methods
get_circuit_network(wire_connector_id) → LuaCircuitNetwork?
Parameters
| wire_connector_id | :: defines.wire_connector_id | Wire connector to get circuit network for. |
Wire connector to get circuit network for. | ||
Return values
| → LuaCircuitNetwork? | The circuit network or nil. |

