Closed fabi321 closed 2 years ago
Good catch. I've changed the functionality of ArithmeticCombinator
and DeciderCombinator
to the following logic to match the game:
"signal-anything"
or "signal-everything"
, an DraftsmanError
is raised because these signals are prohibited in this combinator type."signal-each"
will result in a DraftsmanError
."signal-each"
, attempting to set output_signal to "signal-each"
will raise a DraftsmanError
."signal-each"
and either of the two operands was unset from "signal-each"
, then "signal-each"
cannot be an output_signal; it is reset to None
and a DraftsmanWarning
is issued.DraftsmanError
is raised.DraftsmanError
is raised.None
and issue a DraftsmanWarning
.Value of first_operand |
Acceptable values for output_signal |
---|---|
All normal signals | All normal signals, "signal-everything" |
"signal-everything" |
All normal signals, "signal-everything" |
"signal-anything" |
All normal signals, "signal-everything" , "signal-anything" |
"signal-each " |
All normal signals, "signal-each" |
Note that "All normal signals" in this context also includes None
, or no signal in these places.
I've updated the docs as well to reflect these changes and document these special signals. This will be in version 0.9.5
.
I just wanted to correct your truth table, as it is not in line with what the wiki says, but after testing ingame, I realized, that the wiki is wrong. Heads up for actually checking it ingame.
Logic components like the
arithmetic combinator
and thedecider combinator
only accept a certain combination of special signals (e.g.signal-each
,signal-anything
andsignal-everything
). If they are set wrong, it doesn't even import a string.The allowed combinations of these signals is explained here for decider combinators, and arithmetic combinators only allow one each as input, and only allow an each as output if it has each as input.
consider the following
The generated blueprint fails to import in Factorio, but no warning has been raised.