Mining Fluids - Every Ore needs fluids to mine.


Every Ore needs fluids to mine, and you get offshore pumps and pipes when start the game.

Content
5 years ago
0.16 - 0.17
10
Mining

i Add

6 years ago
(updated 6 years ago)

"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()

5 years ago

THANKS!

New response