12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- local modname = minetest.get_current_modname()
- local wherein =
- {
- modname .. ":stone",
- modname .. ":sand",
- modname .. ":grass",
- modname .. ":dirt",
- }
- minetest.register_ore(
- {
- ore_type = "scatter",
- ore = modname .. ":river_water_source",
- wherein = wherein,
- clust_scarcity = 2,
- clust_num_ores = 25,
- clust_size = 3,
- y_min = -31000,
- y_max = 0,
- noise_threshold = 0.3,
- noise_params =
- {
- offset = 0,
- scale = 0.3,
- spread = {x = 20, y = 200, z = 20},
- seed = 48294,
- octaves = 2,
- persist = 0.6,
- }
- })
- minetest.register_ore(
- {
- ore_type = "scatter",
- ore = "air",
- wherein = wherein,
- clust_scarcity = 2,
- clust_num_ores = 13,
- clust_size = 3,
- y_min = 0,
- y_max = 20,
- noise_threshold = 0.3,
- noise_params =
- {
- offset = 0,
- scale = 0.3,
- spread = {x = 20, y = 200, z = 20},
- seed = 48294,
- octaves = 2,
- persist = 0.6,
- }
- })
|