Page 1 of 1

[2.0.10] Add mechanism to hide surfaces list

Posted: Fri Oct 25, 2024 4:46 pm
by cogito123
Hi, currently in base 2.0 there is no mechanism to hide surfaces list in remote view or at least I have not found it. There is no use of this list in our scenario and it takes up a lot of space pushing already heavy GUI to the middle of the screen. There is also "jail/gulag" surface exposed which looks comical, but for sure will be confusing to new players. Same with other options that are not used.

I request an API to toggle it off/on, for example LuaGameScript::show_surfaces_list(bool)
surface.png
surface.png (36.67 KiB) Viewed 863 times

Re: [2.0.10] Add mechanism to hide surfaces list

Posted: Fri Oct 25, 2024 5:21 pm
by Klonan
Hi,

You can hide surfaces per force using this LuaForce API:
https://lua-api.factorio.com/latest/cla ... ace_hidden

Re: [2.0.10] Add mechanism to hide surfaces list

Posted: Fri Oct 25, 2024 6:02 pm
by cogito123
Nice, thanks for quick response

Re: [2.0.10] Add mechanism to hide surfaces list

Posted: Thu Oct 31, 2024 4:10 pm
by BraveCaperCat
Is it just me, or should this go in already implemented?

Re: [2.0.10] Add mechanism to hide surfaces list

Posted: Tue Mar 11, 2025 9:46 pm
by Usul
I wish this were a feature in vanilla. A simple button to collapse/expand the list would do it.

Re: [2.0.10] Add mechanism to hide surfaces list

Posted: Wed Mar 12, 2025 12:52 pm
by Orum
Usul wrote: Tue Mar 11, 2025 9:46 pm I wish this were a feature in vanilla. A simple button to collapse/expand the list would do it.
Definitely. Is there a mod that makes use of the API to do it yet? If not I'm thinking of making one...