[2.0.10] Add mechanism to hide surfaces list

cogito123
Inserter
Inserter
Posts: 37
Joined: Thu Feb 28, 2019 7:05 pm
Contact:

[2.0.10] Add mechanism to hide surfaces list

Post 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 755 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5369
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [2.0.10] Add mechanism to hide surfaces list

Post by Klonan »

Hi,

You can hide surfaces per force using this LuaForce API:
https://lua-api.factorio.com/latest/cla ... ace_hidden
cogito123
Inserter
Inserter
Posts: 37
Joined: Thu Feb 28, 2019 7:05 pm
Contact:

Re: [2.0.10] Add mechanism to hide surfaces list

Post by cogito123 »

Nice, thanks for quick response
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 425
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: [2.0.10] Add mechanism to hide surfaces list

Post by BraveCaperCat »

Is it just me, or should this go in already implemented?
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
User avatar
Usul
Fast Inserter
Fast Inserter
Posts: 243
Joined: Mon Oct 31, 2016 5:05 pm
Contact:

Re: [2.0.10] Add mechanism to hide surfaces list

Post by Usul »

I wish this were a feature in vanilla. A simple button to collapse/expand the list would do it.
Orum
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Thu Jul 11, 2019 6:23 am
Contact:

Re: [2.0.10] Add mechanism to hide surfaces list

Post 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...
Post Reply

Return to “Implemented mod requests”