Page 1 of 1

Prototype property inserter.capacity

Posted: Wed Sep 04, 2019 1:43 am
by TheFunnySide
You currently can not set a base capacity for inserters.
You can increase the capacity of inserters by researching "Inserter capacity bonus",
but this bonus is equaly applied.
You can not have have different versions of stack-inserters in regards to their stack size ability.


The easy solution is to add a field (optional)int capacity default=1

--------------------------------------------------------------------------------
If the developers want to spend more time on this, then the flag
inserter.stack could be switches with a inserter-group property.
The technology "Inserter capacity bonus" could then reference the inserter-group which is to be buffed
--------------------------------------------------------------------------------

Re: Prototype property inserter.capacity

Posted: Wed Sep 04, 2019 1:40 pm
by eradicator
+1

Robots already have this in the form of max_payload_size. Would be nice to have it on inserters too, i.e. to make a very slow but very stacky inserter. Bonus points for seperating "built_in_capacity_bonus" and "maximum_capacity_bonus_from_research" so that inserters can also be limited on how much they benefit from technologies.

Re: Prototype property inserter.capacity

Posted: Sat Oct 05, 2019 1:50 pm
by TheFunnySide
Bump

Re: Prototype property inserter.capacity

Posted: Thu Dec 03, 2020 12:42 pm
by Bilka
This was added in 1.1 as InserterPrototype::stack_size_bonus.

Re: Prototype property inserter.capacity

Posted: Thu Dec 03, 2020 1:22 pm
by eradicator
Nice!