tons of small changes, and added a chaparral biome and more dry stuff

This commit is contained in:
kaadmy 2015-10-03 11:57:35 -07:00
parent 562fc9e1b8
commit 348d4aac57
9 changed files with 84 additions and 9 deletions

View File

@ -75,5 +75,5 @@ water_level = 0
# i don't really know what these numbers change, but whatever :)
# offset, scale, (spread factors), seed offset, number of octaves, persistence, lacunarity.
mg_biome_np_humidity = 50, 20, (600, 850, 600), 31478, 3, 0.5, 2.0
mgv7_np_terrain_base = 10, 30, (750, 1500, 750), 88533, 8, 0.65, 2, 2
mg_biome_np_humidity = 50, 20, (600, 850, 600), 31478, 2, 0.5, 2.0
mgv7_np_terrain_base = 10, 30, (750, 1500, 750), 88533, 6, 0.65, 2, 2

View File

@ -125,7 +125,7 @@ minetest.register_biome(
depth_filler = 6,
depth_top = 1,
y_min = 2,
y_min = 10,
y_max = 50,
heat_point = 30,
@ -166,6 +166,23 @@ minetest.register_biome(
humidity_point = 35,
})
minetest.register_biome(
{
name = "Chaparral",
node_top = "default:dirt_with_dry_grass",
node_filler = "default:dirt",
depth_filler = 0,
depth_top = 1,
y_min = 56,
y_max = 32000,
heat_point = 60,
humidity_point = 30,
})
minetest.register_biome(
{
name = "Savanna",
@ -176,11 +193,11 @@ minetest.register_biome(
depth_filler = 2,
depth_top = 1,
y_min = 0,
y_max = 32000,
y_min = 1,
y_max = 55,
heat_point = 60,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome(
@ -193,7 +210,7 @@ minetest.register_biome(
depth_filler = 8,
depth_top = 3,
y_min = 0,
y_min = 1,
y_max = 32000,
heat_point = 70,
@ -229,7 +246,7 @@ minetest.register_biome(
depth_top = 1,
y_min = -32000,
y_max = -1,
y_max = 0,
heat_point = 60,
humidity_point = 30,
@ -346,7 +363,7 @@ minetest.register_decoration(
place_on = "default:dirt_with_dry_grass",
sidelen = 16,
fill_ratio = 0.07,
biomes = {"Desert", "Savanna"},
biomes = {"Desert", "Savanna", "Chaparral"},
decoration = {"default:dry_grass"},
y_min = 10,
y_max = 500,
@ -432,4 +449,36 @@ minetest.register_decoration(
rotation = "random",
})
-- Shrubs
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
fill_ratio = 0.005,
biomes = {"Savanna", "Chaparral"},
flags = "place_center_x, place_center_z",
replacements = {["default:leaves"] = "default:dry_leaves"},
schematic = minetest.get_modpath("default").."/schematics/default_shrub.mts",
y_min = 3,
y_max = 32000,
rotation = "0",
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
fill_ratio = 0.06,
biomes = {"Chaparral"},
flags = "place_center_x, place_center_z",
replacements = {["default:leaves"] = "default:dry_leaves"},
schematic = minetest.get_modpath("default").."/schematics/default_bush.mts",
y_min = -32000,
y_max = 32000,
rotation = "0",
})
default.log("mapgen", "loaded")

View File

@ -430,6 +430,32 @@ minetest.register_node(
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node(
"default:dry_leaves",
{
description = "Dry Leaves",
drawtype = "allfaces_optional",
visual_scale = 1.3,
tiles ={"default_dry_leaves.png"},
paramtype = "light",
waving = 1,
is_ground_content = false,
groups = {snappy=3, leafdecay=3, fall_damage_add_percent=-20, leaves = 1},
drop = {
max_items = 1,
items = {
{
items = {"default:dry_leaves"},
},
{
items = {"default:dry_grass"},
rarity = 6,
}
}
},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node(
"default:cactus",
{

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.