The expected behavior is that probabilities are shown/summed, possibly rounded to 2 decimals.
Throw this in a data-final-fixes.lua and create a new world, notice how on the starting ore plots the map says 0 and selecting a resource has no number at all:
Code: Select all
for _, resource in pairs(data.raw.resource) do
if resource.minable and resource.minable.result then
resource.minable.results = {
{
type = "item",
name = resource.name,
amount = 1,
},
{
type = "item",
name = "coin",
amount = 1,
probability = 0.0002
}
}
resource.minable.result = nil
end
end