Page 1 of 1

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

Posted: Fri Jul 31, 2020 4:30 pm
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.

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

Posted: Fri Jul 31, 2020 7:34 pm
by Rseding91
Why not just set them to "all" in the prototype?

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

Posted: Sat Aug 01, 2020 9:33 am
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.