forked from acmgit/cucina_vegana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rice.lua
20 lines (20 loc) · 769 Bytes
/
rice.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_rainforest_litter", "default:dirt", "default:dirt_with_grass"},
spawn_by = {"default:water_source", "default:river_water_source",
"default:water_flowing", "default:river_water_flowing", "default:papyrus", "default:jungletree"},
--biomes = {"rainforest", "rainforest_swamp", "rainforest_ocean",
-- "grassland_ocean", "deciduous_forest_shore", "deciduous_forest_ocean", "coniferous_forest_ocean"},
sidelen = 32,
noise_params = {
offset = 0,
scale = cucina_vegana.plant_settings.rice_scale,
spread = {x = 40, y = 40, z = 40},
seed = 56814,
octaves = 3,
persist = 0.6
},
y_min = -5,
y_max = 50,
decoration = "cucina_vegana:wild_rice",
})