Companion Drones 2.0 [WIP]

by kubiixx

Adds friends - now to Factorio 2.0 WORK IN PROGRESS - crashes may occur - use with caution !

Content
11 days ago
2.0
2.44K

i [INVESTIGATE] Hide Surface

25 days ago
(updated 25 days ago)

I suggest the following should be added to events on_force_created and oninit.
Additionally, this would need to be run if surface is created for the first time in function get_secret_surface.

local name = "secret_companion_surface_please_dont_touch"
  local surface = game.surfaces[name]
  if surface then
    for _, force in pairs(game.forces) do
        force.set_surface_hidden(surface,true)
    end
end

So the hidden surface doesn't appear in remote view.

20 days ago

Strange I don't see this Surface in Remote veiw
Can you post me a Save, where I can see it?

Thanks

New response