Birch, not aspen
|
@ -153,7 +153,7 @@ BlockMen (CC BY-SA 3.0):
|
|||
torch_*.obj
|
||||
|
||||
sofar (CC BY-SA 3.0):
|
||||
default_aspen_*.png
|
||||
default_birch_*.png
|
||||
|
||||
Neuromancer (CC BY-SA 2.0):
|
||||
default_cobble.png, based on texture by Brane praefect
|
||||
|
|
|
@ -29,9 +29,9 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:aspen_wood 4',
|
||||
output = 'default:birch_wood 4',
|
||||
recipe = {
|
||||
{'default:aspen_tree'},
|
||||
{'default:birch_tree'},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -568,7 +568,7 @@ minetest.register_decoration({
|
|||
rotation = "random",
|
||||
})
|
||||
|
||||
-- Aspen tree
|
||||
-- Birch tree
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
|
@ -584,7 +584,7 @@ minetest.register_decoration({
|
|||
biomes = {"deciduous_forest"},
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
schematic = minetest.get_modpath("default").."/schematics/aspen_tree.mts",
|
||||
schematic = minetest.get_modpath("default").."/schematics/birch_tree.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
rotation = "random",
|
||||
})
|
||||
|
|
|
@ -71,14 +71,14 @@ default.register_leaves("default:acacia_leaves", {
|
|||
}
|
||||
})
|
||||
|
||||
default.register_leaves("default:aspen_leaves", {
|
||||
description = "Aspen Leaves",
|
||||
tiles = {"default_aspen_leaves.png"},
|
||||
default.register_leaves("default:birch_leaves", {
|
||||
description = "Birch Leaves",
|
||||
tiles = {"default_birch_leaves.png"},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"default:aspen_sapling"}, rarity = 20},
|
||||
{items = {"default:aspen_leaves"}}
|
||||
{items = {"default:birch_sapling"}, rarity = 20},
|
||||
{items = {"default:birch_leaves"}}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -45,10 +45,10 @@ minetest.register_node("default:acacia_tree", {
|
|||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
minetest.register_node("default:aspen_tree", {
|
||||
description = "Aspen Tree",
|
||||
tiles = {"default_aspen_tree_top.png", "default_aspen_tree_top.png",
|
||||
"default_aspen_tree.png"},
|
||||
minetest.register_node("default:birch_tree", {
|
||||
description = "Birch Tree",
|
||||
tiles = {"default_birch_tree_top.png", "default_birch_tree_top.png",
|
||||
"default_birch_tree.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
|
|
|
@ -30,9 +30,9 @@ minetest.register_node("default:acacia_wood", {
|
|||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:aspen_wood", {
|
||||
description = "Aspen Wood Planks",
|
||||
tiles = {"default_aspen_wood.png"},
|
||||
minetest.register_node("default:birch_wood", {
|
||||
description = "Birch Wood Planks",
|
||||
tiles = {"default_birch_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
|
|
@ -74,13 +74,13 @@ minetest.register_node("default:acacia_sapling", {
|
|||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:aspen_sapling", {
|
||||
description = "Aspen Tree Sapling",
|
||||
minetest.register_node("default:birch_sapling", {
|
||||
description = "Birch Tree Sapling",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"default_aspen_sapling.png"},
|
||||
inventory_image = "default_aspen_sapling.png",
|
||||
wield_image = "default_aspen_sapling.png",
|
||||
tiles = {"default_birch_sapling.png"},
|
||||
inventory_image = "default_birch_sapling.png",
|
||||
wield_image = "default_birch_sapling.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
|
|
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 761 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
|
@ -29,7 +29,7 @@ end
|
|||
minetest.register_abm({
|
||||
nodenames = {"default:sapling", "default:junglesapling",
|
||||
"default:pine_sapling", "default:acacia_sapling",
|
||||
"default:aspen_sapling"},
|
||||
"default:birch_sapling"},
|
||||
interval = 10,
|
||||
chance = 50,
|
||||
action = function(pos, node)
|
||||
|
@ -66,10 +66,10 @@ minetest.register_abm({
|
|||
minetest.log("action", "An acacia sapling grows into a tree at "..
|
||||
minetest.pos_to_string(pos))
|
||||
default.grow_new_acacia_tree(pos)
|
||||
elseif node.name == "default:aspen_sapling" then
|
||||
minetest.log("action", "An aspen sapling grows into a tree at "..
|
||||
elseif node.name == "default:birch_sapling" then
|
||||
minetest.log("action", "An birch sapling grows into a tree at "..
|
||||
minetest.pos_to_string(pos))
|
||||
default.grow_new_aspen_tree(pos)
|
||||
default.grow_new_birch_tree(pos)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
@ -401,10 +401,10 @@ function default.grow_new_acacia_tree(pos)
|
|||
path, random, nil, false)
|
||||
end
|
||||
|
||||
-- New aspen tree
|
||||
-- New birch tree
|
||||
|
||||
function default.grow_new_aspen_tree(pos)
|
||||
local path = minetest.get_modpath("default") .. "/schematics/aspen_tree_from_sapling.mts"
|
||||
function default.grow_new_birch_tree(pos)
|
||||
local path = minetest.get_modpath("default") .. "/schematics/birch_tree_from_sapling.mts"
|
||||
minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2},
|
||||
path, 0, nil, false)
|
||||
end
|
||||
|
|
|
@ -287,11 +287,11 @@ stairs.register_stair_and_slab("acacia_wood", "default:acacia_wood",
|
|||
"Acacia Wood Slab",
|
||||
default.node_sound_wood_defaults())
|
||||
|
||||
stairs.register_stair_and_slab("aspen_wood", "default:aspen_wood",
|
||||
stairs.register_stair_and_slab("birch_wood", "default:birch_wood",
|
||||
{snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
{"default_aspen_wood.png"},
|
||||
"Aspen Wood Stair",
|
||||
"Aspen Wood Slab",
|
||||
{"default_birch_wood.png"},
|
||||
"Birch Wood Stair",
|
||||
"Birch Wood Slab",
|
||||
default.node_sound_wood_defaults())
|
||||
|
||||
stairs.register_stair_and_slab("stone", "default:stone",
|
||||
|
|