custom minimal yield

Things that already exist in the current mod API
Post Reply
User avatar
AlexPhoenix
Fast Inserter
Fast Inserter
Posts: 149
Joined: Tue Feb 18, 2014 7:48 am
Contact:

custom minimal yield

Post by AlexPhoenix »

request just in topic name.
i wanna method to set custom minimal yield for infinity resources.

kovarex
Factorio Staff
Factorio Staff
Posts: 8170
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: custom minimal yield

Post by kovarex »

You can already do it.

crude-oil definition:

Code: Select all

minimum = 750,
normal = 7500,
This means, that the resource amount will not go under 750, while 7500 == 100%.
So if you change the 7500 to 3750, the minimum yield will produce the resource 2 times faster as 750 is 20% of 3750.

I hope I wasn't too confusing :)

User avatar
AlexPhoenix
Fast Inserter
Fast Inserter
Posts: 149
Joined: Tue Feb 18, 2014 7:48 am
Contact:

Re: custom minimal yield

Post by AlexPhoenix »

ah, so
minYield=<normal>/<minimum>
for crudeoil this is
7500/750=0.1

hm, big thanks, i didnt guess that this is so simple.

Post Reply

Return to “Already exists”