You mean something like this? I think the general rule of thumb is that it always uses the most specific entry, but written clarification would clearly not hurt. Best in a form that tells the user not to attempt such mixtures in the first place.Pi-C wrote: ↑Sun Apr 25, 2021 6:22 pmWhen using named keys, either amount or (amount_min and amount_max) must be set. But what happens if all are used?https://wiki.factorio.com/Types/ItemProductPrototype wrote: amount_min and amount_max
Type: Types/uint16
Mandatory if amount is not specified and named keys are being used.
Code: Select all
{'apple', 1, name='pear', amount=42, amount_min=7, amount_max=3}