Page 1 of 1

Port mod IR3 in SA

Posted: Thu Oct 02, 2025 6:16 am
by nakoi
Hello.
I'm trying to port a mod to version 2.0.
I've encountered a problem and don't know how to fix it.
with "noise"

Code: Select all

if properties.autoplace then
		local v = "ir-fissure-type-noise"
		local band_condition = noise.less_than(noise.var("v"), (properties.high_band*2)-1) * noise.less_or_equal((properties.low_band*2)-1, noise.var("v"))
		fissure_prototype.autoplace = {
			control = autoplace_template.control,
			order = autoplace_template.name,
			richness_expression = autoplace_template.richness_expression,
			probability_expression = autoplace_template.probability_expression * band_condition * min_distance_expr(properties.min_distance or 300),
			
		}
how to fix?