rocks give zircon

This commit is contained in:
Brevven 2021-12-30 15:54:28 -08:00
parent 2ce7597761
commit dec00dc1c2
3 changed files with 14 additions and 0 deletions

View file

@ -435,4 +435,10 @@ function add_to_product(recipe, product, amount)
end
end
function util.add_minable_result(t, name, result)
if data.raw[t] and data.raw[t][name] and data.raw[t][name].minable and data.raw[t][name].minable.results then
table.insert(data.raw[t][name].minable.results, result)
end
end
return util