added trees
This commit is contained in:
parent
6fe74e6f8c
commit
d4ed4bdb29
@ -87,18 +87,6 @@ minetest.register_biome({
|
||||
})
|
||||
|
||||
|
||||
minetest.register_biome({
|
||||
name = "savanna",
|
||||
node_top = "default:dry_grass",
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_top = 1,
|
||||
y_min = 1,
|
||||
y_max = 55,
|
||||
heat_point = 60,
|
||||
humidity_point = 25,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "savanna",
|
||||
node_top = "default:dry_grass",
|
||||
@ -183,6 +171,85 @@ minetest.register_decoration({
|
||||
y_max = 31000,
|
||||
decoration = "default:stones_on_floor",
|
||||
})
|
||||
|
||||
--trees
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.02,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 22,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/tree1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.01,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 21,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/tree2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.01,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 21,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"tundra"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/pinetree1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.01,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 21,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"savanna"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/drytree2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- ores
|
||||
|
||||
minetest.register_ore({
|
||||
@ -259,3 +326,4 @@ minetest.register_ore({
|
||||
y_max = -256,
|
||||
})
|
||||
|
||||
|
||||
|
@ -87,18 +87,6 @@ minetest.register_biome({
|
||||
})
|
||||
|
||||
|
||||
minetest.register_biome({
|
||||
name = "savanna",
|
||||
node_top = "default:dry_grass",
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_top = 1,
|
||||
y_min = 1,
|
||||
y_max = 55,
|
||||
heat_point = 60,
|
||||
humidity_point = 25,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "savanna",
|
||||
node_top = "default:dry_grass",
|
||||
@ -183,6 +171,85 @@ minetest.register_decoration({
|
||||
y_max = 31000,
|
||||
decoration = "default:stones_on_floor",
|
||||
})
|
||||
|
||||
--trees
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.02,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 22,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/tree1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.01,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 21,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/tree2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.01,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 21,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"tundra"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/pinetree1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.04,
|
||||
scale = 0.01,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 21,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"savanna"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/drytree2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- ores
|
||||
|
||||
minetest.register_ore({
|
||||
@ -259,3 +326,4 @@ minetest.register_ore({
|
||||
y_max = -256,
|
||||
})
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@ minetest.register_node("default:ice", {
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_1", {
|
||||
description = "leaves",
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_1.png"},
|
||||
@ -51,6 +51,36 @@ minetest.register_node("default:leaves_1", {
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_2", {
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_2.png"},
|
||||
groups = {crumbly = 3, leaves = 1},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_3", {
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_3.png"},
|
||||
groups = {crumbly = 3, leaves = 1},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_4", {
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_4.png"},
|
||||
groups = {crumbly = 3, leaves = 1},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:stones_on_floor", {
|
||||
description = "Stones on Floor",
|
||||
tiles = {"default_stones_on_floor.png"},
|
||||
|
@ -42,7 +42,7 @@ minetest.register_node("default:ice", {
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_1", {
|
||||
description = "leaves",
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_1.png"},
|
||||
@ -51,6 +51,36 @@ minetest.register_node("default:leaves_1", {
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_2", {
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_2.png"},
|
||||
groups = {crumbly = 3, leaves = 1},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_3", {
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_3.png"},
|
||||
groups = {crumbly = 3, leaves = 1},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:leaves_4", {
|
||||
description = "Leaves",
|
||||
paramtype = "light",
|
||||
drawtype = "allfaces",
|
||||
tiles = {"default_leaves_4.png"},
|
||||
groups = {crumbly = 3, leaves = 1},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
})
|
||||
|
||||
minetest.register_node("default:stones_on_floor", {
|
||||
description = "Stones on Floor",
|
||||
tiles = {"default_stones_on_floor.png"},
|
||||
|
BIN
mods/default/schematics/drytree1.mts
Normal file
BIN
mods/default/schematics/drytree1.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/drytree2.mts
Normal file
BIN
mods/default/schematics/drytree2.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/pinetree1.mts
Normal file
BIN
mods/default/schematics/pinetree1.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/pinetree2.mts
Normal file
BIN
mods/default/schematics/pinetree2.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/redtree1.mts
Normal file
BIN
mods/default/schematics/redtree1.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/redtree2.mts
Normal file
BIN
mods/default/schematics/redtree2.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/tree1.mts
Normal file
BIN
mods/default/schematics/tree1.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/tree2.mts
Normal file
BIN
mods/default/schematics/tree2.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/tree3.mts
Normal file
BIN
mods/default/schematics/tree3.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/tree4.mts
Normal file
BIN
mods/default/schematics/tree4.mts
Normal file
Binary file not shown.
BIN
mods/default/schematics/tree5.mts
Normal file
BIN
mods/default/schematics/tree5.mts
Normal file
Binary file not shown.
BIN
mods/default/textures/default_leaves_2.png
Normal file
BIN
mods/default/textures/default_leaves_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 325 B |
BIN
mods/default/textures/default_leaves_3.png
Normal file
BIN
mods/default/textures/default_leaves_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 325 B |
BIN
mods/default/textures/default_leaves_4.png
Normal file
BIN
mods/default/textures/default_leaves_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 324 B |
Loading…
x
Reference in New Issue
Block a user