Skip to content

Commit

Permalink
fix resource autoplace
Browse files Browse the repository at this point in the history
  • Loading branch information
przemo1232 committed Oct 17, 2024
1 parent 7861ebf commit 2e2d068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/world-generation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end
---Data stage only. Gets a noise constant which can be accessed inside a named_noise_expression.
---@param i integer
py.get_noise_constant = function(i)
return "var('control-setting:py-autoplace-control-'" .. i .. ":richness:multiplier"
return "var('control:py-autoplace-control-'" .. i .. ":richness"
end

---Returns a noise expression which is an approximation of perlin noise. The output ranges from -1.2 to 1.2.
Expand Down

0 comments on commit 2e2d068

Please sign in to comment.