function GetGlobalGrids() for _,surface in pairs(game.surfaces) do local grids = surface.has_global_electric_network --log("Surface: "..surface.name.." has global electric network: "..tostring(grids)) end end