add swamp water pools and change version number to 1.26
This commit is contained in:
parent
7a1a8728b0
commit
2b951a73d3
@ -16,7 +16,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
|||||||
- 1 in 10 chance of sakura sapling growing into white sakura
|
- 1 in 10 chance of sakura sapling growing into white sakura
|
||||||
- Bamboo grows in higher elevation while sakura grows in lower
|
- Bamboo grows in higher elevation while sakura grows in lower
|
||||||
- Added sakura wood, stairs, fence, gate and door
|
- Added sakura wood, stairs, fence, gate and door
|
||||||
- Added 5.0 checks to add new biomes and decoration
|
- Added 5.0 checks to add new biomes and decorations
|
||||||
|
|
||||||
### 1.25
|
### 1.25
|
||||||
|
|
||||||
|
2
init.lua
2
init.lua
@ -11,7 +11,7 @@
|
|||||||
-- DO NOT change settings below, use the settings.conf file instead
|
-- DO NOT change settings below, use the settings.conf file instead
|
||||||
ethereal = {
|
ethereal = {
|
||||||
|
|
||||||
version = "1.25",
|
version = "1.26",
|
||||||
leaftype = 0, -- 0 for 2D plantlike, 1 for 3D allfaces
|
leaftype = 0, -- 0 for 2D plantlike, 1 for 3D allfaces
|
||||||
leafwalk = false, -- true for walkable leaves, false to fall through
|
leafwalk = false, -- true for walkable leaves, false to fall through
|
||||||
cavedirt = true, -- caves chop through dirt when true
|
cavedirt = true, -- caves chop through dirt when true
|
||||||
|
32
mapgen.lua
32
mapgen.lua
@ -422,6 +422,38 @@ add_schem({"ethereal:bamboo_dirt"}, 0.08, {"bamboo"}, 1, 100, ethereal.bush, eth
|
|||||||
-- vine tree
|
-- vine tree
|
||||||
add_schem({"default:dirt_with_grass"}, 0.02, {"swamp"}, 1, 100, ethereal.vinetree, ethereal.swamp)
|
add_schem({"default:dirt_with_grass"}, 0.02, {"swamp"}, 1, 100, ethereal.vinetree, ethereal.swamp)
|
||||||
|
|
||||||
|
-- water pools in swamp areas if 5.0 detected
|
||||||
|
if minetest.registered_nodes["default:permafrost"] then
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
place_offset_y = -1,
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.01,
|
||||||
|
biomes = {"swamp"},
|
||||||
|
y_max = 2,
|
||||||
|
y_min = 1,
|
||||||
|
flags = "force_placement",
|
||||||
|
decoration = "default:water_source",
|
||||||
|
spawn_by = "default:dirt_with_grass",
|
||||||
|
num_spawn_by = 8,
|
||||||
|
})
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
place_offset_y = -1,
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.1,
|
||||||
|
biomes = {"swamp"},
|
||||||
|
y_max = 2,
|
||||||
|
y_min = 1,
|
||||||
|
flags = "force_placement",
|
||||||
|
decoration = "default:water_source",
|
||||||
|
spawn_by = {"default:dirt_with_grass", "default:water_source"},
|
||||||
|
num_spawn_by = 8,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- bush
|
-- bush
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "schematic",
|
deco_type = "schematic",
|
||||||
|
@ -12,7 +12,7 @@ ethereal.papyruswalk = true -- papyrus can be walked on
|
|||||||
ethereal.lilywalk = true -- waterlilies can be walked on
|
ethereal.lilywalk = true -- waterlilies can be walked on
|
||||||
ethereal.xcraft = true -- allow cheat crafts for cobble->gravel->dirt->sand, ice->snow, dry dirt->desert sand
|
ethereal.xcraft = true -- allow cheat crafts for cobble->gravel->dirt->sand, ice->snow, dry dirt->desert sand
|
||||||
|
|
||||||
-- Set following to 1 to enable biome or 0 to disable
|
-- Set following to 1 to enable biome or false to disable
|
||||||
ethereal.glacier = 1 -- Ice glaciers with snow
|
ethereal.glacier = 1 -- Ice glaciers with snow
|
||||||
ethereal.bamboo = 1 -- Bamboo with sprouts
|
ethereal.bamboo = 1 -- Bamboo with sprouts
|
||||||
ethereal.mesa = 1 -- Mesa red and orange clay with giant redwood
|
ethereal.mesa = 1 -- Mesa red and orange clay with giant redwood
|
||||||
|
Loading…
Reference in New Issue
Block a user