1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-28 22:36:45 +02:00

add random seed for each registered decoration, tidy code

This commit is contained in:
tenplus1
2022-09-13 18:30:55 +01:00
parent 97d15d3ea1
commit 6ac255d4c0
38 changed files with 170 additions and 181 deletions

View File

@ -1,3 +1,4 @@
local S = farming.intllib
-- spinach
@ -75,10 +76,10 @@ minetest.register_decoration({
noise_params = {
offset = -0.1,
scale = farming.spinach,
spread = {x = 50, y = 50, z = 50},
seed = 4242,
spread = {x = 100, y = 100, z = 100},
seed = 910,
octaves = 3,
persist = 0.7
persist = 0.6
},
biomes = {"deciduous_forest"},
y_max = 31000,