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

Bugs that are actually features.
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 242 times
09-06-2026, 14-28-17.png
09-06-2026, 14-28-17.png (77.84 KiB) Viewed 242 times
09-06-2026, 14-28-37.png
09-06-2026, 14-28-37.png (105.43 KiB) Viewed 242 times
09-06-2026, 14-28-48.png
09-06-2026, 14-28-48.png (141.93 KiB) Viewed 242 times
09-06-2026, 14-29-09.png
09-06-2026, 14-29-09.png (62.15 KiB) Viewed 242 times
09-06-2026, 14-29-50.png
09-06-2026, 14-29-50.png (741.71 KiB) Viewed 242 times
Powerscooter
Burner Inserter
Burner Inserter
Posts: 9
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!
Rseding91
Factorio Staff
Factorio Staff
Posts: 17574
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report however this is simply how properties are implemented. Every one of those tooltips uses the values defined in the prototypes and does not try to show the current runtime information. Maybe some day that will change - but for now runtime changing of the values won't be reflected in these tooltips.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”