[Genhis][2.0.33] Writing to autoplace_settings does nothing

Natha
Filter Inserter
Filter Inserter
Posts: 267
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

[Genhis][2.0.33] Writing to autoplace_settings does nothing

Post by Natha »

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.

Code: Select all

mgs = surface.map_gen_settings
mgs.autoplace_settings.entity.settings.stone.richness = 0.1
surface.map_gen_settings = mgs
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.
Post Reply

Return to “Assigned”