With this code in a data.lua (no other code anywhere else, no other mods. Game version 2.0.66):
Code: Select all
local copper = data.raw["noise-expression"]["default-copper-ore-patches"]
copper.expression = copper.expression
:gsub("regular_rq_factor = 0.11", "regular_rq_factor = 0.03")
:gsub("regular_patch_set_index = 1", "regular_patch_set_index = 0")
It looks like both the iron and copper have been shrunk. A normal iron patch should have like 4 times that radius (and be less regular and all that).
So it looks like changing the index in the copper noise expression somehow influenced the iron noise expression or something? No idea if that's a bug, missing documentation, or just me misunderstanding something big time.
I would love some ideas on how to debug this, or just... any solution really.