
| Inherits from LuaCombinatorControlBehavior « LuaControlBehavior |
| get_condition(index) | → DeciderCombinatorCondition | Gets the condition at |
Gets the condition at | ||
| set_condition(index, condition) | Sets the condition at | |
Sets the condition at | ||
| add_condition(condition, index?) | Adds a new condition. | |
Adds a new condition. | ||
| remove_condition(index) | Removes the condition at | |
Removes the condition at | ||
| get_output(index) | → DeciderCombinatorOutput | Gets the output at |
Gets the output at | ||
| set_output(index, output) | Sets the output at | |
Sets the output at | ||
| add_output(output, index?) | Adds a new output. | |
Adds a new output. | ||
| remove_output(index) | Removes the output at | |
Removes the output at | ||
| parameters | :: RW DeciderCombinatorParameters? | This decider combinator's parameters. [...] |
This decider combinator's parameters. [...] | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||
| get_signal_last_tick(signal) | → int32? | Gets the value of a specific signal sent by this combinator behavior last tick or |
Gets the value of a specific signal sent by this combinator behavior last tick or | ||
| signals_last_tick | :: R array[Signal] | The circuit network signals sent by this combinator last tick. |
The circuit network signals sent by this combinator last tick. | ||
| get_circuit_network(wire_connector_id) | → LuaCircuitNetwork? | |
| 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. | ||


| index | :: uint32 | Index of condition to modify. |
Index of condition to modify. | ||
| condition | :: DeciderCombinatorCondition | Data to set selected condition to. |
Data to set selected condition to. | ||

| condition | :: DeciderCombinatorCondition | New condition to insert. |
New condition to insert. | ||
| index | :: uint32? | Index to insert new condition at. If not specified, appends to the end. |
Index to insert new condition at. If not specified, appends to the end. | ||


| index | :: uint32 | Index of output to modify. |
Index of output to modify. | ||
| output | :: DeciderCombinatorOutput | Data to set selected output to. |
Data to set selected output to. | ||

| output | :: DeciderCombinatorOutput | New output to insert. |
New output to insert. | ||
| index | :: uint32? | Index to insert new output at. If not specified, appends to the end. |
Index to insert new output at. If not specified, appends to the end. | ||


