The Moisture and Terrain Type (Aux) controls are already exposed.
I'm trying to add Temperature:
Code: Select all
{
type = "autoplace-control",
name = "temperature",
order = "z",
category = "terrain",
richness = true,
},
{
type = "noise-expression",
name = "control-setting:temperature:frequency:multiplier",
expression = noise.to_noise_expression(1)
},
{
type = "noise-expression",
name = "control-setting:temperature:bias",
expression = noise.to_noise_expression(0.1)
},
{
type = "noise-expression",
name = "debug-temperature",
intended_property = "temperature",
expression = noise.define_noise_function( function(x,y,tile,map)
return clamp_temperature(x * (1 / 4) * noise.var("control-setting:temperature:frequency:multiplier")
+ noise.var("control-setting:temperature:bias") * 100
end)
},
I'm using the debug temperature expression. The Scale slider works but the Coverage one does not, the "control-setting:temperature:bias" value does not affect anything.
Also, when I change the temperature generator from Normal to Debug the Water control changes to Island Size and the coverage is locked?