API Docs do not have definitions for Decider Combinator control behavior

User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 114
Joined: Tue Feb 06, 2024 5:18 am
Contact:

API Docs do not have definitions for Decider Combinator control behavior

Post by hgschmie »

The definitions for DeciderCombinatorCondition (https://lua-api.factorio.com/2.0.14/con ... ition.html) and DeciderCombinatorOutput (https://lua-api.factorio.com/2.0.14/con ... utput.html) are missing.
LeonSkills
Inserter
Inserter
Posts: 26
Joined: Mon Feb 11, 2019 12:37 pm
Contact:

Re: [2.0.14] API Docs do not have definitions for Decider Combinator control behavior

Post by LeonSkills »

Ran into the same issue (2.0.27).

For anyone else stumbling on this topic:

- DeciderCombinatorCondition has the same first_signal, second_signal, constant, comparator from v1.0 DeciderCombinatorParameters .
Additionally it has `first_signal_networks` and `second_signal_networks`, which is probably of type CircuitNetworkSelection. Which is also not documented.
It is a table of {green:: boolean, red:: boolean}

- DeciderCombinatorOutput also has the `copy_count_from_input`, but `output_signal` has been renamed to `signal`.
Additionaly it also has `networks` with type CircuitNetworkSelection. And constant to set the consant to anything other than 1.
Last edited by LeonSkills on Mon Jan 13, 2025 10:38 pm, edited 1 time in total.
LeonSkills
Inserter
Inserter
Posts: 26
Joined: Mon Feb 11, 2019 12:37 pm
Contact:

Re: [2.0.14] API Docs do not have definitions for Decider Combinator control behavior

Post by LeonSkills »

And while we are at it.

SelectorCombinatorParameters, also misses

"stack-size", "rocket-capacity", "quality-filter" and "quality-transfer" as options for `operation'

For "quality-filter":
`quality_filter`:: SignalFilter (only with quality: QualityID and comparator: ComparatorString)

For "quality-transfer":
`select_quality_from_signal`:: boolean
`quality_source_signal`:: SignalID
`quality_source_static`:: Just a table with {name: string}, not sure what type
`quality_destination_signal`::SignalID
Hanakocz
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Sun Jun 24, 2018 7:06 pm
Contact:

Re: [2.0.14] API Docs do not have definitions for Decider Combinator control behavior

Post by Hanakocz »

SelectorCombinatorParameters also misses random_update_interval as an option when operation is 'random'
User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 301
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: API Docs do not have definitions for Decider Combinator control behavior

Post by Therenas »

All concerns brought up in this thread are addressed for the next release. Thanks for the reports and sorry for the wait.
Post Reply

Return to “Resolved Requests”