[Bug / modding request] Fluid finite patches amount isn't rightly calculated in map view if product amount > 1
Posted: Wed Aug 12, 2026 1:50 pm
Hi,
i found this bug while developping a mod, i guess given its repro conditions don't happen in vanilla i thought i should put it in here in modding requests.
What
If i define a resource patch containing fluids with a finite amount, its content estimation shown in map view doesn't take into account the amount of the product.
However, it does work on the hover panel (see next message) and for items resources (current messsage).
Reproduction
I define my resource patch with the following properties :
When i create a single entity (through proc gen or manually) and give it a quantity of 100, then the map shows its content as 100, and not 100 * amount (which would be 400 000)
Now if I do the same process with an item product, it calculates the quantity taking amount into account :
Desired behavior
Fluids map estimation should take into account the amount of the product.
i found this bug while developping a mod, i guess given its repro conditions don't happen in vanilla i thought i should put it in here in modding requests.
What
If i define a resource patch containing fluids with a finite amount, its content estimation shown in map view doesn't take into account the amount of the product.
However, it does work on the hover panel (see next message) and for items resources (current messsage).
Reproduction
I define my resource patch with the following properties :
Code: Select all
infinite = false,
minable = {
mining_time = 900,
results = {
{
type = "fluid",
name = "radioactive-sludge",
amount = 4000,
}
}
},Now if I do the same process with an item product, it calculates the quantity taking amount into account :
Code: Select all
minable =
{
mining_time = 900,
results = {
{
type = "item",
name = "low-radioactivity-rubble",
amount = 4000,
}
}
},Fluids map estimation should take into account the amount of the product.