Looking for some help to fix this.
Posted: Tue Aug 09, 2016 4:13 pm
There was a multi-minables mod for 12.35 that still works in 13+.
However for some reason I can't figure out it won't work for certain additional mod ores. Seems to work for bobs mods but not 5DIM.
Thanks to prg for simplifying the original mod in the past. And Bokrug as the original author of the mod/idea.
However for some reason I can't figure out it won't work for certain additional mod ores. Seems to work for bobs mods but not 5DIM.
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 = result.amount * multiplier
end
end
end
end