New oil property

Place to get help with not working mods / modding interface.
Post Reply
orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

New oil property

Post by orzelek »

I have noticed that oil now has a new property in prototype:

Code: Select all

infinite_depletion_amount = 10,
Anyone knows how it works and if it's related to new mechanics that is supposed to increase minimum amount of oil further out?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: New oil property

Post by Rseding91 »

Every time an infinite-type resource "ticks" lower it's lowered by that amount. If not given, it defaults to 1.
If you want to get ahold of me I'm almost always on Discord.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: New oil property

Post by darkfrei »

Rseding91 wrote:Every time an infinite-type resource "ticks" lower it's lowered by that amount. If not given, it defaults to 1.
If you use it? Every tick or every second?
Last edited by darkfrei on Wed May 10, 2017 10:30 am, edited 1 time in total.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: New oil property

Post by bobingabout »

Rseding91 wrote:Every time an infinite-type resource "ticks" lower it's lowered by that amount. If not given, it defaults to 1.
Ah, useful information, I probably need to remove that from being applied to every infinite resource in my mod. or at least change my default to 1.
darkfrei wrote:If you use it? Every tick it very second?
it "Ticks" when the bar fills up and you get a resource, so how often it ticks depends on ore hardness, ore mining time, miner's mining speed, and miner's mining power.

Oil ticks once a second due to the perfect balance on all 4 stats.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: New oil property

Post by orzelek »

Ohh so not what I was expecting at all :)
Can you explain how the minimum value increase works for infinite resources then?

Post Reply

Return to “Modding help”