spelling fix, better schematics, coral
42
init.lua
@ -7,7 +7,7 @@ minetest.register_node("nodebox_trees:waterlily", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
visual_scale = 0.5,
|
||||
tiles = {"waterlily_noflower.png",},
|
||||
tiles = {"nodeboxtrees_waterlily_noflower.png",},
|
||||
inventory_image = "flowers_waterlily.png",
|
||||
wield_image = "flowers_waterlily.png",
|
||||
liquids_pointable = true,
|
||||
@ -55,7 +55,7 @@ minetest.override_item("default:papyrus", {
|
||||
minetest.override_item("default:cactus", {
|
||||
drawtype = "mesh",
|
||||
mesh = "cactus.b3d",
|
||||
tiles = {"cactus.png"},
|
||||
tiles = {"nodeboxtrees_cactus.png"},
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
selection_box = {
|
||||
@ -70,15 +70,31 @@ minetest.override_item("default:cactus", {
|
||||
|
||||
minetest.override_item("flowers:waterlily", {
|
||||
drawtype = "mesh",
|
||||
tiles = {"waterlily.png"},
|
||||
tiles = {"nodeboxtrees_waterlily.png"},
|
||||
mesh = "waterlily.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
})
|
||||
|
||||
minetest.override_item("default:coral_brown", {
|
||||
drawtype = "mesh",
|
||||
tiles = {"nodeboxtrees_bcoral.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.55,
|
||||
})
|
||||
|
||||
minetest.override_item("default:coral_orange", {
|
||||
drawtype = "mesh",
|
||||
tiles = {"nodeboxtrees_ocoral.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.55,
|
||||
})
|
||||
|
||||
minetest.override_item("default:bush_leaves", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_leaves_simple.png",
|
||||
tiles = {"nodeboxtrees_leaves_simple.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -86,7 +102,7 @@ minetest.override_item("default:bush_leaves", {
|
||||
|
||||
minetest.override_item("default:acacia_bush_leaves", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_acacia_leaves_simple.png",
|
||||
tiles = {"nodeboxtrees_acacia_leaves_simple.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -94,7 +110,7 @@ minetest.override_item("default:acacia_bush_leaves", {
|
||||
|
||||
minetest.override_item("default:leaves", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_leaves.png",
|
||||
tiles = {"nodeboxtrees_leaves.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -102,7 +118,7 @@ minetest.override_item("default:leaves", {
|
||||
|
||||
minetest.override_item("default:acacia_leaves", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_acacia_leaves.png",
|
||||
tiles = {"nodeboxtrees_acacia_leaves.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -111,7 +127,7 @@ minetest.override_item("default:acacia_leaves", {
|
||||
|
||||
minetest.override_item("default:jungleleaves", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_jungleleaves.png",
|
||||
tiles = {"nodeboxtrees_jungleleaves.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -119,7 +135,7 @@ minetest.override_item("default:jungleleaves", {
|
||||
|
||||
minetest.override_item("default:pine_needles", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_pine_needles.png",
|
||||
tiles = {"nodeboxtrees_pine_needles.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -127,7 +143,7 @@ minetest.override_item("default:pine_needles", {
|
||||
|
||||
minetest.override_item("default:aspen_leaves", {
|
||||
drawtype = "mesh",
|
||||
tiles = "nodeboxtrees_aspen_leaves.png",
|
||||
tiles = {"nodeboxtrees_aspen_leaves.png"},
|
||||
mesh = "leaf.b3d",
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
@ -171,7 +187,7 @@ minetest.register_node("nodebox_trees:leaves_with_snow", {
|
||||
description = "Leaves With Snow",
|
||||
drawtype = "mesh",
|
||||
mesh = "leaf.b3d",
|
||||
tiles = {"default_leaves_snow.png", "default_snow.png", "default_snow.png",},
|
||||
tiles = {"nodeboxtrees_leaves_snow.png", "default_snow.png", "default_snow.png",},
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
groups = {snappy=1, oddly_breakable_by_hand=1, leaves=1}
|
||||
@ -181,7 +197,7 @@ minetest.register_node("nodebox_trees:bush_leaves_with_snow", {
|
||||
description = "Bush Leaves With Snow",
|
||||
drawtype = "mesh",
|
||||
mesh = "leaf.b3d",
|
||||
tiles = {"default_leaves_snow_simple.png", "default_snow.png", "default_snow.png",},
|
||||
tiles = {"nodeboxtrees_leaves_snow_simple.png", "default_snow.png", "default_snow.png",},
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
groups = {snappy=1, oddly_breakable_by_hand=1, leaves=1}
|
||||
@ -191,7 +207,7 @@ minetest.register_node("nodebox_trees:pine_needles_with_snow", {
|
||||
description = "Pine Needles With Snow",
|
||||
drawtype = "mesh",
|
||||
mesh = "leaf.b3d",
|
||||
tiles = {"default_pine_needles_snow.png",},
|
||||
tiles = {"nodeboxtrees_pine_needles_snow.png",},
|
||||
paramtype = "light",
|
||||
visual_scale = 0.5,
|
||||
groups = {snappy=1, oddly_breakable_by_hand=1, leaves=1}
|
||||
|
175
mapgen.lua
@ -410,7 +410,7 @@ minetest.clear_registered_decorations()
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"deciduous_forest"},
|
||||
biomes = {"deciduous_forest", "rainforest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/aspen_1.mts",
|
||||
@ -591,6 +591,63 @@ minetest.clear_registered_decorations()
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/bush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 137,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"snowy_grassland", "grassland", "deciduous_forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/bush1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 137,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"snowy_grassland", "grassland", "deciduous_forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/bush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 137,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"snowy_grassland", "grassland", "deciduous_forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/bush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Acacia bush
|
||||
|
||||
@ -600,7 +657,7 @@ minetest.clear_registered_decorations()
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
@ -613,6 +670,63 @@ minetest.clear_registered_decorations()
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"savanna"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/acaciabush1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"savanna"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/acaciabush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_dry_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.001,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"savanna"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/acaciabush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
--jungle bush
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
@ -632,6 +746,63 @@ minetest.clear_registered_decorations()
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/junglebush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"rainforest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/junglebush1.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"rainforest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/junglebush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 90155,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"rainforest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("nodebox_trees") .. "/schematics/junglebush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Grasses
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
schematics/acaciabush1.mts
Normal file
BIN
schematics/acaciabush2.mts
Normal file
BIN
schematics/acaciabush3.mts
Normal file
BIN
schematics/bush1.mts
Normal file
BIN
schematics/bush2.mts
Normal file
BIN
schematics/bush3.mts
Normal file
BIN
schematics/junglebush1.mts
Normal file
BIN
schematics/junglebush2.mts
Normal file
BIN
schematics/junglebush3.mts
Normal file
BIN
schematics/old/jungletree1.mts
Normal file
BIN
schematics/old/jungletree2.mts
Normal file
BIN
schematics/old/jungletree3.mts
Normal file
BIN
schematics/old/jungletree4.mts
Normal file
BIN
schematics/old/pine1.mts
Normal file
BIN
schematics/old/pine2.mts
Normal file
BIN
schematics/old/pine3.mts
Normal file
BIN
schematics/old/pine4.mts
Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 603 B After Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |