Port mod IR3 in SA

Place to get help with not working mods / modding interface.
nakoi
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Oct 02, 2025 6:07 am
Contact:

Port mod IR3 in SA

Post 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?
Post Reply

Return to “Modding help”