[Genhis][2.0.33] Writing to autoplace_settings does nothing
Posted: Wed Jan 29, 2025 3:25 pm
I am not sure where this belongs, maybe this is also intended.
My goal is to decrease the richness of certain resources, e.g. stone, when generating.
does not change the richness. I have to change that in the autoplace_controls table. BUT: For e.g. Gleba, the corresponding autoplace_control name is "gleba_stone". This is what I don't know universally. There is no safe correlation between the name of the autoplace control and the actual entity.
For Gleba, I know that I could access the property_expression_names table, but not for nauvis, so that is not universal too.
As I want this to work with surfaces generated runtime, I can't do that in the data stage by creating my own expressions.
My goal is to decrease the richness of certain resources, e.g. stone, when generating.
Code: Select all
mgs = surface.map_gen_settings
mgs.autoplace_settings.entity.settings.stone.richness = 0.1
surface.map_gen_settings = mgs
For Gleba, I know that I could access the property_expression_names table, but not for nauvis, so that is not universal too.
As I want this to work with surfaces generated runtime, I can't do that in the data stage by creating my own expressions.