Maybe just go through all the resources and multiply the count of everything that's not a fluid.

- Code: Select all
`for _, res in pairs(data.raw.resource) do`

if not res.category --crude-oil has "basic-fluid" here, for ores this is nil

and res.minable then

if res.minable.count then

res.minable.count = res.minable.count * 10

else

res.minable.count = 10

end

end

end

Do this in data-updates.lua so other mods will already have added their own entities.

edit: and this should now work with resources that drop multiple results:

- Code: Select all
`multiplier = 10`

for _, res in pairs(data.raw.resource) do

if not res.category --crude-oil has "basic-fluid" here, for ores this is nil

and res.minable then

if res.minable.result then

if res.minable.count then

res.minable.count = res.minable.count * multiplier

else

res.minable.count = multiplier

end

elseif res.minable.results then

for _, result in pairs(res.minable.results) do

result.amount_min = result.amount_min * multiplier

result.amount_max = result.amount_max * multiplier

end

end

end

end

Warning: not really tested.