Prototype property inserter.capacity

Post Reply
TheFunnySide
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sat Jun 08, 2019 1:19 pm
Contact:

Prototype property inserter.capacity

Post 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
--------------------------------------------------------------------------------

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Prototype property inserter.capacity

Post 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.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

TheFunnySide
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sat Jun 08, 2019 1:19 pm
Contact:

Re: Prototype property inserter.capacity

Post by TheFunnySide »

Bump

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Prototype property inserter.capacity

Post by Bilka »

This was added in 1.1 as InserterPrototype::stack_size_bonus.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Prototype property inserter.capacity

Post by eradicator »

Nice!
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Implemented mod requests”