Trial and error makes me think that 60000 is the absolute minimum the "amount" value for an oil patch can be. That is, "amount" for depleted patches is max(initial_amount*.20, 60000).
But I can't see where this is even documented. One liquid is 500 "internal thingies"?
Oil patch amount: is "amount" documented somewhere?
-
- Filter Inserter
- Posts: 299
- Joined: Sun Jun 12, 2016 11:29 pm
- Contact:
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Oil patch amount: is "amount" documented somewhere?
/data/base/prototypes/entity/resources.lua defines type="resource", name="crude-oil", minimum=60000.
"1.0" liquid per second (in-game) should be equivalient to "10" liquid on the code side.
As to the exact relation between current .amount and actual production for infinite resources...i seem to have forgotten that.
"1.0" liquid per second (in-game) should be equivalient to "10" liquid on the code side.
As to the exact relation between current .amount and actual production for infinite resources...i seem to have forgotten that.
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.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- olafthecat
- Filter Inserter
- Posts: 476
- Joined: Fri Jul 07, 2017 4:37 pm
Re: Oil patch amount: is "amount" documented somewhere?
This'll be useful
Gonna start playing again with 0.16 build.
That's all.
That's all.