"add script to data-final-fixes.lua"
function extendhardcrafting()
if data.raw["resource"]["rich-copper-ore"] then
data.raw["resource"]["rich-copper-ore"].minable.required_fluid = "steam"
data.raw["resource"]["rich-copper-ore"].minable.fluid_amount = 10
end
if data.raw["resource"]["rich-iron-ore"] then
data.raw["resource"]["rich-iron-ore"].minable.required_fluid = "water"
data.raw["resource"]["rich-iron-ore"].minable.fluid_amount = 10
end
end
function extendYuoki()
if data.raw["resource"]["y-res1"] then
data.raw["resource"]["y-res1"].minable.required_fluid = "water"
data.raw["resource"]["y-res1"].minable.fluid_amount = 10
end
if data.raw["resource"]["y-res2"] then
data.raw["resource"]["y-res2"].minable.required_fluid = "steam"
data.raw["resource"]["y-res2"].minable.fluid_amount = 10
end
end
function extendpyhightech()
if data.raw["resource"]["phosphate-rock"] then
data.raw["resource"]["phosphate-rock"].minable.required_fluid = "water"
data.raw["resource"]["phosphate-rock"].minable.fluid_amount = 10
end
end
extendhardcrafting()
extendYuoki()
extendpyhightech()