Page 1 of 1

do not apply modifier to an entity (exclude inserter from stack bonus)

Posted: Thu Jun 26, 2025 5:18 am
by hgschmie
This is specifically about inserters and the InserterStackSizeBonusModifier and BulkInserterCapacityBonusModifier.

I have a bunch of internal inserters that are part of an entity. They are tuned so that the entity has a specific throughput. Now, with researching inserter capacity bonuses, the internal inserters no longer have a hand size of 1 but "1+2".

From what I understand, this comes from inserter capacity 1 and inserter capacity 2 researched (and thus the modifiers applied). I have not found a way of saying "do not apply this to my inserters". Is that even possible? If not, can we get a boolean, e.g. "ignore_modifiers" that is false by default (so all modifiers get applied as before) but I could set it on the prototype and then the inserter instance would no longer have the bonuses applied.

Re: do not apply modifier to an entity (exclude inserter from stack bonus)

Posted: Thu Jun 26, 2025 6:46 am
by boskid
Ok, for 2.0.59 i added InserterPrototype::uses_inserter_stack_size_bonus.

Re: do not apply modifier to an entity (exclude inserter from stack bonus)

Posted: Thu Jun 26, 2025 6:18 pm
by hgschmie
:happy dance: thank you!