Page 1 of 1
inifinite_depletion_amount small error
Posted: Thu Jan 15, 2026 2:58 pm
by Osmo
https://lua-api.factorio.com/latest/pro ... ion_amount says
Every time an infinite-type resource "ticks" lower it's lowered by that amount.
lower it's lowered
Re: inifinite_depletion_amount small error
Posted: Thu Jan 15, 2026 4:51 pm
by curiosity
Missing comma, yeah.
Re: inifinite_depletion_amount small error
Posted: Thu Jan 15, 2026 11:56 pm
by Osmo
curiosity wrote: Thu Jan 15, 2026 4:51 pm
Missing comma, yeah.
The bigger problen is that its unclear what is lowered
Re: inifinite_depletion_amount small error
Posted: Fri Jan 16, 2026 2:59 am
by eugenekay
From the
Example provided on that same page:
{
type = "resource",
name = "crude-oil",
icon = "__base__/graphics/icons/crude-oil.png",
icon_size = 32,
flags = {"placeable-neutral"},
category = "basic-fluid",
order="a-b-a",
infinite = true,
highlight = true,
minimum = 60000,
normal = 300000,
infinite_depletion_amount = 10,
There are two properties described as
Must be not 0 when infinite = true. (and thus, related to
infinite_depletion_amount): the
minimum and the
normal. The latter corresponds to the
Initial amount that can be observed in the Map Editor.... so it seems like this is reduced by the depletion amount until the value of the former is reached.

- 01-15-2026, 21-59-30.png (170.65 KiB) Viewed 312 times
I agree that the API docs could be clearer about the meaning of these values, but they do make sense.
Re: inifinite_depletion_amount small error
Posted: Fri Jan 16, 2026 5:38 am
by curiosity
Osmo wrote: Thu Jan 15, 2026 11:56 pm
The bigger problen is that its unclear what is lowered
The amount of the resource. Seems obvious, but I guess that's just me.
Re: inifinite_depletion_amount small error
Posted: Fri Jan 16, 2026 11:33 am
by Osmo
curiosity wrote: Fri Jan 16, 2026 5:38 am
The amount of the resource. Seems obvious, but I guess that's just me.
Yes i figured from using it, just the description is confusing
Re: inifinite_depletion_amount small error
Posted: Fri Jan 23, 2026 6:32 pm
by Bilka
I've reworded the description for the next doc release.