local tech_oil_gathering = data.raw.technology["oil-gathering"]
if py removes the tech “oil-gathering” then i need a replacement tech available in py
but i don't play py. so it's up to you to find one ;-)
this technology is used to early unlock water and crude-oil solidification
if fluid.name == "water" or fluid.name == "crude-oil" then
table.insert(tech_oil_gathering.effects, {type = "unlock-recipe", recipe = fluid.name..main_suffix_solid})
table.insert(tech_oil_gathering.effects, {type = "unlock-recipe", recipe = fluid.name..main_suffix_liquid})
end