Add in-game rewritable property "gui_mode" for infinity containers

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
x2605
Inserter
Inserter
Posts: 41
Joined: Fri Jul 31, 2020 4:08 pm
Contact:

Add in-game rewritable property "gui_mode" for infinity containers

Post by x2605 »

electric-energy-interface, infinity-chest, infinity-pipe, heat-interface. In prototype data of these 4 entities, there is "gui_mode" property, which can have "all", "none", "admins" as a value.

However, there is no way to access or modify this property during game.
Only admins can configure setting of each infinity containers. (except electric-energy-interface)
I want to give a chance to non-admin people to configure these infinity containers to make them design and test things freely together.
English is not my native language. Sorry for bad English.
My mods :
Lua API global Variable Viewer (mod portal)
Lua API Event Trace (mod portal)
My tools :
Locale String Editor (github.io webapp)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13219
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Add in-game rewritable property "gui_mode" for infinity containers

Post by Rseding91 »

Why not just set them to "all" in the prototype?
If you want to get ahold of me I'm almost always on Discord.

x2605
Inserter
Inserter
Posts: 41
Joined: Fri Jul 31, 2020 4:08 pm
Contact:

Re: Add in-game rewritable property "gui_mode" for infinity containers

Post by x2605 »

Rseding91 wrote:
Fri Jul 31, 2020 7:34 pm
Why not just set them to "all" in the prototype?
because i think to make it possible to switch it on/off per entity during game is better.
English is not my native language. Sorry for bad English.
My mods :
Lua API global Variable Viewer (mod portal)
Lua API Event Trace (mod portal)
My tools :
Locale String Editor (github.io webapp)

Post Reply

Return to “Modding interface requests”