[2.1.17] Properties UI text don't update after using "set_property" command

Post your bugs and problems so we can fix them.
Talandar99
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 10, 2026 10:16 am
Contact:

[2.1.17] Properties UI text don't update after using "set_property" command

Post by Talandar99 »

Issue:
It is possible in control stage to change surface property using command, but changing surface properties don't change displayed UI text, which will easly confuse player / make it more difficult to communicate if such mod would change property

Prerequisite: Base game + Space Age

How to replicate / how I found it:
1. make new empty save
2. enter a set of commands to make sure property was in fact changed

Code: Select all

/c game.print(game.surfaces["nauvis"].get_property("pressure"))

Code: Select all

/c game.surfaces["nauvis"].set_property("pressure", 0)

Code: Select all

/c game.print(game.surfaces["nauvis"].get_property("pressure"))
3. Attempt to place asteroid collector, crusher and biolab on nauvis to be 100% sure that property was in fact changed
4. You should be able to place asteroid collector, crusher and not biolab. So property was in fact changed in code.
5. Check descriptions in few places and see that it was not changed to reflect new property change
09-06-2026, 14-27-48.png
09-06-2026, 14-27-48.png (97.42 KiB) Viewed 63 times
09-06-2026, 14-28-17.png
09-06-2026, 14-28-17.png (77.84 KiB) Viewed 63 times
09-06-2026, 14-28-37.png
09-06-2026, 14-28-37.png (105.43 KiB) Viewed 63 times
09-06-2026, 14-28-48.png
09-06-2026, 14-28-48.png (141.93 KiB) Viewed 63 times
09-06-2026, 14-29-09.png
09-06-2026, 14-29-09.png (62.15 KiB) Viewed 63 times
09-06-2026, 14-29-50.png
09-06-2026, 14-29-50.png (741.71 KiB) Viewed 63 times
Powerscooter
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Mar 31, 2026 12:57 pm
Contact:

Re: [2.1.17] Properties UI text don't update after using "set_property" command

Post by Powerscooter »

+1

I didn't expect tooltips to change with surface conditions but this would be lovely to have and open up a lot of cool possibilities!
Post Reply

Return to “Bug Reports”