[2.0.10] Add mechanism to hide surfaces list

cogito123
Inserter
Inserter
Posts: 33
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 328 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5282
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: 33
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: 298
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. Expect multiple modding-related questions, answers and other posts.
Post Reply

Return to “Implemented mod requests”