Mapgen for Alga added.
This commit is contained in:
parent
3766104f51
commit
094ca63c2f
2
alga.lua
2
alga.lua
@ -71,4 +71,6 @@ minetest.register_craftitem("aqua_farming:alga_item", {
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
dofile(aqua_farming.modpath .. "/mapgen_alga.lua")
|
||||
|
||||
aqua_farming.report(" module alga.lua loaded.")
|
||||
|
99
mapgen_alga.lua
Normal file
99
mapgen_alga.lua
Normal file
@ -0,0 +1,99 @@
|
||||
-- Green Alga
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:sand"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 4,
|
||||
noise_params = {
|
||||
offset = -4,
|
||||
scale = 4,
|
||||
spread = {x = 50, y = 50, z = 50},
|
||||
seed = 7013,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {
|
||||
"desert_ocean",
|
||||
"savanna_ocean",
|
||||
"rainforest_ocean",
|
||||
},
|
||||
y_max = -2,
|
||||
y_min = -8,
|
||||
flags = "force_placement",
|
||||
decoration = {"aqua_farming:sand_with_alga_6"},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 4,
|
||||
noise_params = {
|
||||
offset = -4,
|
||||
scale = 4,
|
||||
spread = {x = 50, y = 50, z = 50},
|
||||
seed = 7013,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {
|
||||
"desert_ocean",
|
||||
"savanna_ocean",
|
||||
"rainforest_ocean",
|
||||
},
|
||||
y_max = -2,
|
||||
y_min = -8,
|
||||
flags = "force_placement",
|
||||
decoration = {"aqua_farming:dirt_with_alga_6"},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:desert_sand"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 4,
|
||||
noise_params = {
|
||||
offset = -4,
|
||||
scale = 4,
|
||||
spread = {x = 50, y = 50, z = 50},
|
||||
seed = 7013,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {
|
||||
"desert_ocean",
|
||||
"savanna_ocean",
|
||||
"rainforest_ocean",
|
||||
},
|
||||
y_max = -2,
|
||||
y_min = -8,
|
||||
flags = "force_placement",
|
||||
decoration = {"aqua_farming:desert_sand_with_alga_6"},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:silver_sand"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 4,
|
||||
noise_params = {
|
||||
offset = -4,
|
||||
scale = 4,
|
||||
spread = {x = 50, y = 50, z = 50},
|
||||
seed = 7013,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {
|
||||
"desert_ocean",
|
||||
"savanna_ocean",
|
||||
"rainforest_ocean",
|
||||
},
|
||||
y_max = -2,
|
||||
y_min = -8,
|
||||
flags = "force_placement",
|
||||
decoration = {"aqua_farming:sivler_sand_with_alga_6"},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user