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

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

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

Post 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.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4061
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post by boskid »

Ok, for 2.0.59 i added InserterPrototype::uses_inserter_stack_size_bonus.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 120
Joined: Tue Feb 06, 2024 5:18 am
Contact:

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

Post by hgschmie »

:happy dance: thank you!
Post Reply

Return to “Implemented mod requests”