LuaGenericOnOffControlBehavior is incorrect
Posted: Tue Nov 19, 2024 10:51 pm
The documentation here is incorrect
https://lua-api.factorio.com/latest/cla ... _condition
There are 2 issues
- This is a RW signal, not just R
- The example is also incorrect
This does not work
This does
https://lua-api.factorio.com/latest/cla ... _condition
There are 2 issues
- This is a RW signal, not just R
- The example is also incorrect
This does not work
Code: Select all
a_behavior.logistic_condition = {condition={
comparator=">",
first_signal={type="item", name="rail-chain-signal"},
constant=4}
}
Code: Select all
a_behavior.logistic_condition = {
comparator=">",
first_signal={type="item", name="rail-chain-signal"},
constant=4
}