This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
spawn_aquatic.lua
78 lines (72 loc) · 1.66 KB
/
spawn_aquatic.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
-----------------------------------
--Underwater decorations
-------------------------
--Pipi shellfish beds
minetest.register_ore({
ore_type = "puff",
ore = "aotearoa:sand_with_pipi",
wherein = {"default:sand"},
clust_scarcity = 16 * 16 * 16,
clust_size = 3,
y_min = -7,
y_max = 0,
noise_threshold = 0.19,
noise_params = {
offset = 0,
scale = 0.7,
spread = {x = 32, y = 32, z = 32},
seed = 4661,
octaves = 2,
persist = 0.5
},
biomes = {
"sandy_beach",
"shelly_beach",
"gravel_beach",
},
})
minetest.register_ore({
ore_type = "puff",
ore = "aotearoa:iron_sand_with_pipi",
wherein = {"aotearoa:iron_sand"},
clust_scarcity = 16 * 16 * 16,
clust_size = 3,
y_min = -7,
y_max = 0,
noise_threshold = 0.19,
noise_params = {
offset = 0,
scale = 0.7,
spread = {x = 32, y = 32, z = 32},
seed = 4661,
octaves = 2,
persist = 0.5
},
biomes = {
"iron_sand_beach",
},
})
-------------------------
--cockle shellfish beds
minetest.register_ore({
ore_type = "puff",
ore = "aotearoa:mud_with_cockles",
wherein = {"aotearoa:mud"},
clust_scarcity = 16 * 16 * 16,
clust_size = 3,
y_min = -7,
y_max = 0,
noise_threshold = 0.19,
noise_params = {
offset = 0,
scale = 0.8,
spread = {x = 32, y = 32, z = 32},
seed = 4607,
octaves = 2,
persist = 0.4
},
biomes = {
"northern_estuary",
"southern_estuary",
},
})