Compare commits
10 Commits
b31ff13cb1
...
dab93ab289
Author | SHA1 | Date | |
---|---|---|---|
|
dab93ab289 | ||
|
a49a9271ff | ||
|
f1e6ed8718 | ||
|
cef534a217 | ||
|
d785756890 | ||
|
fc3b060590 | ||
|
aa72922e67 | ||
|
1ce3378ac4 | ||
|
74fbcc7e11 | ||
|
5a82c337f9 |
1
LICENSE
@ -22,4 +22,5 @@ SOFTWARE.
|
||||
|
||||
|
||||
Textures and Models by Liil/Wilhelmine/ under (MIT) License (c) 2022
|
||||
Thanks to ShadMOrdre (https://github.com/ShadMOrdre) for fixing the schematics/leaf decay.
|
||||
|
||||
|
@ -1,10 +1,12 @@
|
||||
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_litter", {
|
||||
description = ("Alder Swamp dirt with Grass"),
|
||||
description = S("Alder Swamp dirt with Grass"),
|
||||
tiles = {"naturalbiomes_alderswamp_litter.png", "naturalbiomes_alderswamp_dirt.png",
|
||||
{name = "naturalbiomes_alderswamp_dirt.png^naturalbiomes_alderswamp_litter_side.png",
|
||||
tileable_vertical = false}},
|
||||
@ -16,7 +18,7 @@ minetest.register_node("naturalbiomes:alderswamp_litter", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_dirt", {
|
||||
description = ("Alder Swamp Dirt"),
|
||||
description = S("Alder Swamp Dirt"),
|
||||
tiles = {"naturalbiomes_alderswamp_dirt.png"},
|
||||
groups = {crumbly = 3, soil = 1, falling_node = 1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
@ -58,7 +60,7 @@ end
|
||||
|
||||
-- alder trunk
|
||||
minetest.register_node("naturalbiomes:alder_trunk", {
|
||||
description = ("Alder Trunk"),
|
||||
description = S("Alder Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_alderswamp_alder_trunk_top.png",
|
||||
"naturalbiomes_alderswamp_alder_trunk_top.png",
|
||||
@ -72,7 +74,7 @@ minetest.register_node("naturalbiomes:alder_trunk", {
|
||||
|
||||
-- alder wood
|
||||
minetest.register_node("naturalbiomes:alder_wood", {
|
||||
description = ("Alder Wood"),
|
||||
description = S("Alder Wood"),
|
||||
tiles = {"naturalbiomes_alderswamp_alder_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -85,14 +87,14 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alder_leaves", {
|
||||
description = ("Alder Leaves"),
|
||||
description = S("Alder Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_alderswamp_alder_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_alderswamp_alder_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -114,7 +116,7 @@ minetest.register_node("naturalbiomes:alder_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alder_sapling", {
|
||||
description = ("Alder Sapling"),
|
||||
description = S("Alder Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_alderswamp_sapling.png"},
|
||||
inventory_image = "naturalbiomes_alderswamp_sapling.png",
|
||||
@ -158,8 +160,8 @@ minetest.register_node("naturalbiomes:alder_sapling", {
|
||||
"naturalbiomes:alder_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_alderswamp_alder_wood.png"},
|
||||
("Alder Stair"),
|
||||
("Alder Slab"),
|
||||
S("Alder Stair"),
|
||||
S("Alder Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -168,15 +170,15 @@ minetest.register_node("naturalbiomes:alder_sapling", {
|
||||
"naturalbiomes:alder_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_alderswamp_alder_trunk_top.png", "naturalbiomes_alderswamp_alder_trunk_top.png", "naturalbiomes_alderswamp_alder_trunk.png"},
|
||||
("Alder Trunk Stair"),
|
||||
("Alder Trunk Slab"),
|
||||
S("Alder Trunk Stair"),
|
||||
S("Alder Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_alder_wood",
|
||||
{
|
||||
description = ("Alder Wood Fence Gate"),
|
||||
description = S("Alder Wood Fence Gate"),
|
||||
texture = "naturalbiomes_alderswamp_alder_wood.png",
|
||||
material = "naturalbiomes:alder_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -188,7 +190,7 @@ minetest.register_node("naturalbiomes:alder_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_alder_wood",
|
||||
{
|
||||
description = ("Alder Fence"),
|
||||
description = S("Alder Fence"),
|
||||
texture = "naturalbiomes_adler_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_alderswamp_alder_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_alderswamp_alder_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -201,7 +203,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_alder_wood",
|
||||
{
|
||||
description = ("Alder Fence Rail"),
|
||||
description = S("Alder Fence Rail"),
|
||||
texture = "naturalbiomes_adler_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_alderswamp_alder_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -259,7 +261,7 @@ minetest.register_decoration({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_reed", {
|
||||
description = "Alderswamp reed",
|
||||
description = S"Alderswamp reed",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -298,7 +300,7 @@ minetest.register_node("naturalbiomes:alderswamp_reed", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_reed", {
|
||||
description = "Alderswamp reed",
|
||||
description = S"Alderswamp reed",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -337,7 +339,7 @@ minetest.register_node("naturalbiomes:alderswamp_reed", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_reed2", {
|
||||
description = "Alderswamp reed",
|
||||
description = S"Alderswamp reed",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -376,7 +378,7 @@ minetest.register_node("naturalbiomes:alderswamp_reed2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_reed3", {
|
||||
description = "Alderswamp reed",
|
||||
description = S"Alderswamp reed",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -465,7 +467,7 @@ minetest.register_node("naturalbiomes:alderswamp_reed3", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:waterlily", {
|
||||
description = ("Waterlily"),
|
||||
description = S("Waterlily"),
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -539,7 +541,7 @@ minetest.register_node("naturalbiomes:waterlily", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_yellowflower", {
|
||||
description = "Alderswamp flower",
|
||||
description = S"Alderswamp flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -578,7 +580,7 @@ minetest.register_node("naturalbiomes:alderswamp_yellowflower", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alderswamp_brownreed", {
|
||||
description = "Alderswamp reed",
|
||||
description = S"Alderswamp reed",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
|
87
alpine.lua
@ -1,10 +1,11 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_litter", {
|
||||
description = ("Dirt with Alpine Grass"),
|
||||
description = S("Dirt with Alpine Grass"),
|
||||
tiles = {"naturalbiomes_alpine_litter.png", "default_dirt.png",
|
||||
{name = "default_dirt.png^naturalbiomes_alpine_litter_side.png",
|
||||
tileable_vertical = false}},
|
||||
@ -16,7 +17,7 @@ minetest.register_node("naturalbiomes:alpine_litter", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_rock", {
|
||||
description = ("Alpine Rock"),
|
||||
description = S("Alpine Rock"),
|
||||
tiles = {"naturalbiomes_alpine_rock.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
drop = "naturalbiomes:alpine_rock",
|
||||
@ -58,7 +59,7 @@ end
|
||||
|
||||
-- Pine1 trunk
|
||||
minetest.register_node("naturalbiomes:alppine1_trunk", {
|
||||
description = ("Silver Fir Trunk"),
|
||||
description = S("Silver Fir Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_alpine_pine1_trunk_top.png",
|
||||
"naturalbiomes_alpine_pine1_trunk_top.png",
|
||||
@ -72,7 +73,7 @@ minetest.register_node("naturalbiomes:alppine1_trunk", {
|
||||
|
||||
-- Pine wood
|
||||
minetest.register_node("naturalbiomes:alppine1_wood", {
|
||||
description = ("Silver Fir Wood"),
|
||||
description = S("Silver Fir Wood"),
|
||||
tiles = {"naturalbiomes_alpine_pine1_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -81,18 +82,18 @@ minetest.register_node("naturalbiomes:alppine1_wood", {
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:alppine1_wood 4",
|
||||
recipe = {{"naturalbiomes:allpine1_trunk"}}
|
||||
recipe = {{"naturalbiomes:alppine1_trunk"}}
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alppine1_leaves", {
|
||||
description = ("Silver Fir Leaves"),
|
||||
description = S("Silver Fir Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_alpine_pine1_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_alpine_pine1_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -114,7 +115,7 @@ minetest.register_node("naturalbiomes:alppine1_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alppine1_sapling", {
|
||||
description = ("Silver Fir Sapling"),
|
||||
description = S("Silver Fir Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_alpine_pine1_sapling.png"},
|
||||
inventory_image = "naturalbiomes_alpine_pine1_sapling.png",
|
||||
@ -151,11 +152,11 @@ minetest.register_node("naturalbiomes:alppine1_sapling", {
|
||||
|
||||
stairs.register_stair_and_slab(
|
||||
"naturalbiomes_alpine_pine1_wood",
|
||||
"naturalbiomes:allpine1_wood",
|
||||
"naturalbiomes:alppine1_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_alpine_pine1_wood.png"},
|
||||
("Silver Fir Stair"),
|
||||
("Silver Fir Slab"),
|
||||
S("Silver Fir Stair"),
|
||||
S("Silver Fir Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -164,15 +165,15 @@ minetest.register_node("naturalbiomes:alppine1_sapling", {
|
||||
"naturalbiomes:alppine1_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_alpine_pine1_trunk_top.png", "naturalbiomes_alpine_pine1_trunk_top.png", "naturalbiomes_alpine_pine1_trunk.png"},
|
||||
("Silver Fir Trunk Stair"),
|
||||
("Silver Fir Trunk Slab"),
|
||||
S("Silver Fir Trunk Stair"),
|
||||
S("Silver Fir Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_alppine1_wood",
|
||||
{
|
||||
description = ("Silver Fir Wood Fence Gate"),
|
||||
description = S("Silver Fir Wood Fence Gate"),
|
||||
texture = "naturalbiomes_alpine_pine1_wood.png",
|
||||
material = "naturalbiomes:alppine1_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -184,7 +185,7 @@ minetest.register_node("naturalbiomes:alppine1_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_alppine1_wood",
|
||||
{
|
||||
description = ("Silver Fir Fence"),
|
||||
description = S("Silver Fir Fence"),
|
||||
texture = "naturalbiomes_pine_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_alpine_pine1_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_alpine_pine1_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -197,7 +198,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_alppine1_wood",
|
||||
{
|
||||
description = ("Silver Fir Fence Rail"),
|
||||
description = S("Silver Fir Fence Rail"),
|
||||
texture = "naturalbiomes_pine_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_alpine_pine1_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -241,7 +242,7 @@ end
|
||||
|
||||
-- Pine2 trunk
|
||||
minetest.register_node("naturalbiomes:alppine2_trunk", {
|
||||
description = ("Jack Pine Trunk"),
|
||||
description = S("Jack Pine Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_alpine_pine2_trunk_top.png",
|
||||
"naturalbiomes_alpine_pine2_trunk_top.png",
|
||||
@ -255,7 +256,7 @@ minetest.register_node("naturalbiomes:alppine2_trunk", {
|
||||
|
||||
-- Pine2 wood
|
||||
minetest.register_node("naturalbiomes:alppine2_wood", {
|
||||
description = ("Jack Pine Wood"),
|
||||
description = S("Jack Pine Wood"),
|
||||
tiles = {"naturalbiomes_alpine_pine2_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -268,21 +269,21 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alppine2_leaves", {
|
||||
description = ("Jack Pine Leaves"),
|
||||
description = S("Jack Pine Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_alpine_pine2_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_alpine_pine2_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
-- player will get sapling with 1/50 chance
|
||||
items = {'naturalbiomes:alppine2_sapling'},
|
||||
rarity = 50,
|
||||
rarity = 15,
|
||||
},
|
||||
{
|
||||
-- player will get leaves only if he get no saplings,
|
||||
@ -297,7 +298,7 @@ minetest.register_node("naturalbiomes:alppine2_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alppine2_sapling", {
|
||||
description = ("Jack Pine Sapling"),
|
||||
description = S("Jack Pine Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_alpine_pine2_sapling.png"},
|
||||
inventory_image = "naturalbiomes_alpine_pine2_sapling.png",
|
||||
@ -337,8 +338,8 @@ minetest.register_node("naturalbiomes:alppine2_sapling", {
|
||||
"naturalbiomes:alppine2_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_alpine_pine2_wood.png"},
|
||||
("Jack Pine Stair"),
|
||||
("Jack Pine Slab"),
|
||||
S("Jack Pine Stair"),
|
||||
S("Jack Pine Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -347,15 +348,15 @@ minetest.register_node("naturalbiomes:alppine2_sapling", {
|
||||
"naturalbiomes:alppine2_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_alpine_pine2_trunk_top.png", "naturalbiomes_alpine_pine2_trunk_top.png", "naturalbiomes_alpine_pine2_trunk.png"},
|
||||
("Jack Pine Trunk Stair"),
|
||||
("Jack Pine Trunk Slab"),
|
||||
S("Jack Pine Trunk Stair"),
|
||||
S("Jack Pine Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_alppine2_wood",
|
||||
{
|
||||
description = ("Jack Pine Wood Fence Gate"),
|
||||
description = S("Jack Pine Wood Fence Gate"),
|
||||
texture = "naturalbiomes_alpine_pine2_wood.png",
|
||||
material = "naturalbiomes:alppine2_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -367,7 +368,7 @@ minetest.register_node("naturalbiomes:alppine2_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_pine2_wood",
|
||||
{
|
||||
description = ("Jack Pine Fence"),
|
||||
description = S("Jack Pine Fence"),
|
||||
texture = "naturalbiomes_pine2_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_alpine_pine2_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_alpine_pine2_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -380,7 +381,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_pine2_wood",
|
||||
{
|
||||
description = ("Jack Pine Fence Rail"),
|
||||
description = S("Jack Pine Fence Rail"),
|
||||
texture = "naturalbiomes_pine2_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_alpine_pine2_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -444,7 +445,7 @@ offset = -0.004,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_cowberrybush_stem", {
|
||||
description = ("Cowberry Bush Stem"),
|
||||
description = S("Cowberry Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.41,
|
||||
tiles = {"naturalbiomes_alpine_cowberry_stem.png"},
|
||||
@ -461,15 +462,15 @@ minetest.register_node("naturalbiomes:alpine_cowberrybush_stem", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_cowberrybush_leaves", {
|
||||
description = ("Cowberry Bush Leaves"),
|
||||
description = S("Cowberry Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_alpine_cowberry_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:alpine_cowberrybush_sapling"}, rarity = 5},
|
||||
{items = {"naturalbiomes:alpine_cowberrybush_sapling"}, rarity = 20},
|
||||
{items = {"naturalbiomes:cowberry"}, rarity = 2},
|
||||
{items = {"naturalbiomes:alpine_cowberrybush_leaves"}}
|
||||
}
|
||||
@ -480,7 +481,7 @@ minetest.register_node("naturalbiomes:alpine_cowberrybush_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_cowberrybush_sapling", {
|
||||
description = ("Cowberry Bush Sapling"),
|
||||
description = S("Cowberry Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_alpine_cowberry_sapling.png"},
|
||||
inventory_image = "naturalbiomes_alpine_cowberry_sapling.png",
|
||||
@ -515,7 +516,7 @@ minetest.register_node("naturalbiomes:alpine_cowberrybush_sapling", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:cowberry", {
|
||||
description = ("Cowberry"),
|
||||
description = S("Cowberry"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"naturalbiomes_alpine_cowberry_fruit.png"},
|
||||
inventory_image = "naturalbiomes_alpine_cowberry_fruit.png",
|
||||
@ -529,9 +530,9 @@ minetest.register_node("naturalbiomes:cowberry", {
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
|
||||
},
|
||||
drop = "naturalbiomes_alpine_cowberry_fruit",
|
||||
drop = "naturalbiomes:cowberry",
|
||||
on_use = minetest.item_eat(2),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = function(pos, placer)
|
||||
@ -563,7 +564,7 @@ minetest.register_node("naturalbiomes:cowberry", {
|
||||
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_mushroom", {
|
||||
description = ("Alpine Mushroom"),
|
||||
description = S("Alpine Mushroom"),
|
||||
tiles = {"naturalbiomes_alpine_mushroom.png"},
|
||||
inventory_image = "naturalbiomes_alpine_mushroom.png",
|
||||
wield_image = "naturalbiomes_alpine_mushroom.png",
|
||||
@ -602,7 +603,7 @@ minetest.register_node("naturalbiomes:alpine_mushroom", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_grass1", {
|
||||
description = "Alpine Grass",
|
||||
description = S"Alpine Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -641,7 +642,7 @@ minetest.register_node("naturalbiomes:alpine_grass1", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_grass2", {
|
||||
description = "Alpine Grass",
|
||||
description = S"Alpine Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -680,7 +681,7 @@ minetest.register_node("naturalbiomes:alpine_grass2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_grass3", {
|
||||
description = "Alpine Grass",
|
||||
description = S"Alpine Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -719,7 +720,7 @@ minetest.register_node("naturalbiomes:alpine_grass3", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_dandelion", {
|
||||
description = "Alpine Dandelion Flower",
|
||||
description = S"Alpine Dandelion Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -758,7 +759,7 @@ minetest.register_node("naturalbiomes:alpine_dandelion", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_edelweiss", {
|
||||
description = "Edelweiss Flower",
|
||||
description = S"Edelweiss Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
|
@ -1,10 +1,11 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:bambooforest_litter", {
|
||||
description = ("Bamboo Forest Litter"),
|
||||
description = S("Bamboo Forest Litter"),
|
||||
tiles = {"naturalbiomes_bambooforest_litter.png", "naturalbiomes_bambooforest_rock.png",
|
||||
{name = "naturalbiomes_bambooforest_rock.png^naturalbiomes_bambooforest_litter_side.png",
|
||||
tileable_vertical = false}},
|
||||
@ -49,7 +50,7 @@ end
|
||||
|
||||
-- bamboo trunk
|
||||
minetest.register_node("naturalbiomes:bamboo_trunk", {
|
||||
description = ("Bamboo Trunk"),
|
||||
description = S("Bamboo Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_bambooforest_bamboo_trunk_top.png",
|
||||
"naturalbiomes_bambooforest_bamboo_trunk_top.png",
|
||||
@ -63,7 +64,7 @@ minetest.register_node("naturalbiomes:bamboo_trunk", {
|
||||
|
||||
-- bamboo wood
|
||||
minetest.register_node("naturalbiomes:bamboo_wood", {
|
||||
description = ("Bamboo Wood"),
|
||||
description = S("Bamboo Wood"),
|
||||
tiles = {"naturalbiomes_bambooforest_bamboo_wood2.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -76,21 +77,21 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bamboo_leaves", {
|
||||
description = ("Bamboo Leaves"),
|
||||
description = S("Bamboo Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_Bambooforest_bamboo_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_Bambooforest_bamboo_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
-- player will get sapling with 1/50 chance
|
||||
items = {'naturalbiomes:bamboo_sapling'},
|
||||
rarity = 50,
|
||||
rarity = 10,
|
||||
},
|
||||
{
|
||||
-- player will get leaves only if he get no saplings,
|
||||
@ -105,7 +106,7 @@ minetest.register_node("naturalbiomes:bamboo_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bamboo_sapling", {
|
||||
description = ("Bamboo Sapling"),
|
||||
description = S("Bamboo Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_bambooforest_bamboo_sapling.png"},
|
||||
inventory_image = "naturalbiomes_bambooforest_bamboo_sapling.png",
|
||||
@ -145,8 +146,8 @@ minetest.register_node("naturalbiomes:bamboo_sapling", {
|
||||
"naturalbiomes:bamboo_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_bambooforest_bamboo_wood2.png"},
|
||||
("Bamboo Stair"),
|
||||
("Bamboo Slab"),
|
||||
S("Bamboo Stair"),
|
||||
S("Bamboo Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -155,15 +156,15 @@ minetest.register_node("naturalbiomes:bamboo_sapling", {
|
||||
"naturalbiomes:bamboo_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_bambooforest_bamboo_trunk_top.png", "naturalbiomes_bambooforest_bamboo_trunk_top.png", "naturalbiomes_bambooforest_bamboo_trunk.png"},
|
||||
("Bamboo Trunk Stair"),
|
||||
("Bamboo Trunk Slab"),
|
||||
S("Bamboo Trunk Stair"),
|
||||
S("Bamboo Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_bamboo_wood",
|
||||
{
|
||||
description = ("Bamboo Wood Fence Gate"),
|
||||
description = S("Bamboo Wood Fence Gate"),
|
||||
texture = "naturalbiomes_bambooforest_bamboo_wood2.png",
|
||||
material = "naturalbiomes:bamboo_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -175,7 +176,7 @@ minetest.register_node("naturalbiomes:bamboo_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_bamboo_wood",
|
||||
{
|
||||
description = ("Bamboo Fence"),
|
||||
description = S("Bamboo Fence"),
|
||||
texture = "naturalbiomes_bamboo_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_bambooforest_bamboo_wood2.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_bambooforest_bamboo_wood2.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -188,7 +189,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_bamboo_wood",
|
||||
{
|
||||
description = ("Bamboo Fence Rail"),
|
||||
description = S("Bamboo Fence Rail"),
|
||||
texture = "naturalbiomes_bamboo_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_bambooforest_bamboo_wood2.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -251,7 +252,7 @@ minetest.register_decoration({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:smallbamboo", {
|
||||
description = ("Small Bamboo Grass"),
|
||||
description = S("Small Bamboo Grass"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_bambooforest_bamboo_trunksmall.png"},
|
||||
inventory_image = "naturalbiomes_bambooforest_bamboo_trunksmall.png",
|
||||
@ -272,7 +273,7 @@ minetest.register_node("naturalbiomes:smallbamboo", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bambooforest_rock", {
|
||||
description = ("Bamboo Forest Rock"),
|
||||
description = S("Bamboo Forest Rock"),
|
||||
tiles = {"naturalbiomes_bambooforest_rock.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
drop = "naturalbiomes:bambooforest_rock",
|
||||
@ -300,7 +301,7 @@ minetest.register_node("naturalbiomes:bambooforest_rock", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bambooforest_groundgrass", {
|
||||
description = "Babmooforest Gorund Grass",
|
||||
description = S"Babmooforest Gorund Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -339,7 +340,7 @@ minetest.register_node("naturalbiomes:bambooforest_groundgrass", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bambooforest_groundgrass2", {
|
||||
description = "Babmooforest Gorund Grass",
|
||||
description = S"Babmooforest Gorund Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -376,7 +377,7 @@ end
|
||||
|
||||
-- banana trunk
|
||||
minetest.register_node("naturalbiomes:banana_trunk", {
|
||||
description = ("Banana Trunk"),
|
||||
description = S("Banana Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes__banana_trunk_top.png",
|
||||
"naturalbiomes__banana_trunk_top.png",
|
||||
@ -390,7 +391,7 @@ minetest.register_node("naturalbiomes:banana_trunk", {
|
||||
|
||||
-- banana wood
|
||||
minetest.register_node("naturalbiomes:banana_wood", {
|
||||
description = ("Banana Wood"),
|
||||
description = S("Banana Wood"),
|
||||
tiles = {"naturalbiomes__banana_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -403,21 +404,21 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:banana_leaves", {
|
||||
description = ("Banana Leaves"),
|
||||
description = S("Banana Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes__banana_leaf.png"},
|
||||
special_tiles = {"naturalbiomes__banana_leaf.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
-- player will get sapling with 1/50 chance
|
||||
items = {'naturalbiomes:banana_sapling'},
|
||||
rarity = 50,
|
||||
rarity = 10,
|
||||
},
|
||||
{
|
||||
-- player will get leaves only if he get no saplings,
|
||||
@ -432,7 +433,7 @@ minetest.register_node("naturalbiomes:banana_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:banana_sapling", {
|
||||
description = ("Banana Sapling"),
|
||||
description = S("Banana Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes__banana_tree_sapling.png"},
|
||||
inventory_image = "naturalbiomes__banana_tree_sapling.png",
|
||||
@ -472,8 +473,8 @@ minetest.register_node("naturalbiomes:banana_sapling", {
|
||||
"naturalbiomes:banana_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_banana_wood.png"},
|
||||
("Banana Stair"),
|
||||
("Banana Slab"),
|
||||
S("Banana Stair"),
|
||||
S("Banana Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -482,15 +483,15 @@ minetest.register_node("naturalbiomes:banana_sapling", {
|
||||
"naturalbiomes:banana_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_banana_trunk_top.png", "naturalbiomes_banana_trunk_top.png", "naturalbiomes_banana_trunk.png"},
|
||||
("Banana Trunk Stair"),
|
||||
("Banana Trunk Slab"),
|
||||
S("Banana Trunk Stair"),
|
||||
S("Banana Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_banana_wood",
|
||||
{
|
||||
description = ("Banana Wood Fence Gate"),
|
||||
description = S("Banana Wood Fence Gate"),
|
||||
texture = "naturalbiomes_banana_wood.png",
|
||||
material = "naturalbiomes:banana_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -502,7 +503,7 @@ minetest.register_node("naturalbiomes:banana_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_banana_wood",
|
||||
{
|
||||
description = ("Banana Fence"),
|
||||
description = S("Banana Fence"),
|
||||
texture = "naturalbiomes_banana_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_banana_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_banana_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -515,7 +516,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_banana_wood",
|
||||
{
|
||||
description = ("Banana Fence Rail"),
|
||||
description = S("Banana Fence Rail"),
|
||||
texture = "naturalbiomes_banana_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_banana_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
|
990
bushland.lua
Normal file
@ -0,0 +1,990 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_bushlandlitter2", {
|
||||
description = S("Bushland Litter"),
|
||||
tiles = {
|
||||
"naturalbiomes_bushland_bushlandlitter2_top.png",
|
||||
"naturalbiomes_bushland_bushlandlitter2_bottom.png",
|
||||
"naturalbiomes_bushland_bushlandlitter2_right.png",
|
||||
"naturalbiomes_bushland_bushlandlitter2_left.png",
|
||||
"naturalbiomes_bushland_bushlandlitter2_back.png",
|
||||
"naturalbiomes_bushland_bushlandlitter2_front.png"},
|
||||
groups = {crumbly = 3, sand = 1, falling_node = 1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_bushlandlitter3", {
|
||||
description = S("Bushland Litter"),
|
||||
tiles = {
|
||||
"naturalbiomes_bushland_bushlandlitter3_top.png",
|
||||
"naturalbiomes_bushland_bushlandlitter3_bottom.png",
|
||||
"naturalbiomes_bushland_bushlandlitter3_right.png",
|
||||
"naturalbiomes_bushland_bushlandlitter3_left.png",
|
||||
"naturalbiomes_bushland_bushlandlitter3_back.png",
|
||||
"naturalbiomes_bushland_bushlandlitter3_front.png"},
|
||||
groups = {crumbly = 3, sand = 1, falling_node = 1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "naturalbiomes:bushland",
|
||||
node_top = "naturalbiomes:bushland_bushlandlitter",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 5,
|
||||
node_riverbed = "default:sand",
|
||||
depth_riverbed = 3,
|
||||
node_dungeon = "default:cobble",
|
||||
node_dungeon_alt = "default:sandstonebrick",
|
||||
node_dungeon_stair = "stairs:stair_sandstone",
|
||||
y_max = 500,
|
||||
y_min = 1,
|
||||
heat_point = 68,
|
||||
humidity_point = 83,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_bushlandlitter", {
|
||||
description = S("Bushland Litter"),
|
||||
tiles = {"naturalbiomes_bushland_bushlandlitter.png", "default_dirt.png",
|
||||
{name = "default_dirt.png^naturalbiomes_bushland_bushlandlitter_side.png",
|
||||
tileable_vertical = false}},
|
||||
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
|
||||
drop = "default:dirt",
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||
}),
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
fill_ratio = 0.3,
|
||||
y_max = 20,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_bushlandlitter2"
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
fill_ratio = 0.3,
|
||||
y_max = 500,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_bushlandlitter3"
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
fill_ratio = 10,
|
||||
y_max = 3,
|
||||
y_min = 0,
|
||||
decoration = "default:sand"
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
tiles = {"naturalbiomes_bushland_grass.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass.png",
|
||||
wield_image = "naturalbiomes_bushland_grass.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 9478,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass2", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
tiles = {"naturalbiomes_bushland_grass2.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass2.png",
|
||||
wield_image = "naturalbiomes_bushland_grass2.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 4602,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass2",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass3", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
tiles = {"naturalbiomes_bushland_grass3.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass3.png",
|
||||
wield_image = "naturalbiomes_bushland_grass3.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter2", "naturalbiomes:bushland_bushlandlitter3"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 1549,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass3",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass4", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
tiles = {"naturalbiomes_bushland_grass4.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass4.png",
|
||||
wield_image = "naturalbiomes_bushland_grass4.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 6687,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass4",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass5", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
tiles = {"naturalbiomes_bushland_grass5.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass5.png",
|
||||
wield_image = "naturalbiomes_bushland_grass5.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter2", "naturalbiomes:bushland_bushlandlitter3"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 4663,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass5",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass6", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
tiles = {"naturalbiomes_bushland_grass6.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass6.png",
|
||||
wield_image = "naturalbiomes_bushland_grass6.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter2", "naturalbiomes:bushland_bushlandlitter3"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 4602,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass6",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_grass7", {
|
||||
description = S"Bushland Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
tiles = {"naturalbiomes_bushland_grass7.png"},
|
||||
inventory_image = "naturalbiomes_bushland_grass7.png",
|
||||
wield_image = "naturalbiomes_bushland_grass7.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flower = 1, flora = 1, attached_node = 1, flammable = 1, beautiflowers = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 9932,
|
||||
octaves = 9,
|
||||
persist = 1,
|
||||
},
|
||||
y_max = 30000,
|
||||
y_min = 3,
|
||||
decoration = "naturalbiomes:bushland_grass7",
|
||||
})
|
||||
|
||||
-- New blackberry bush
|
||||
|
||||
local function grow_new_blackberry_bush(pos)
|
||||
if not default.can_grow(pos) then
|
||||
-- try a bit later again
|
||||
minetest.get_node_timer(pos):start(math.random(240, 600))
|
||||
return
|
||||
end
|
||||
minetest.remove_node(pos)
|
||||
minetest.place_schematic({x = pos.x - 2, y = pos.y - 0, z = pos.z - 2}, modpath.."/schematics/naturalbiomes_bushland_blackberrybush.mts", "0", nil, false)
|
||||
end
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 697,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_blackberrybush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 697,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_blackberrybush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 697,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_blackberrybush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_blackberry_stem", {
|
||||
description = S("Blackberry Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"naturalbiomes_bushland_blackberry_stem.png"},
|
||||
inventory_image = "naturalbiomes_bushland_blackberry_stem.png",
|
||||
wield_image = "naturalbiomes_bushland_blackberry_stem.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.5, 7 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_blackberry_leaves2", {
|
||||
description = S("Blackberry Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_bushland_blackberry_leaves2.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_blackberrybush_sapling"}, rarity = 3},
|
||||
{items = {"naturalbiomes:blackberry"}, rarity = 2},
|
||||
{items = {"naturalbiomes:bushland_blackberry_leaves2"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_blackberry_leaves", {
|
||||
description = S("Blackberry Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_bushland_blackberry_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_blackberrybush_sapling"}, rarity = 25},
|
||||
{items = {"naturalbiomes:blackberry"}, rarity = 2},
|
||||
{items = {"naturalbiomes:bushland_blackberry_leaves"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_blackberrybush_sapling", {
|
||||
description = S("Blackberry Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_bushland_blackberry_sapling.png"},
|
||||
inventory_image = "naturalbiomes_bushland_blackberry_sapling.png",
|
||||
wield_image = "naturalbiomes_bushland_blackberry_sapling.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
on_timer = grow_new_blackberry_bush,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 2 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||
end,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
itemstack = default.sapling_on_place(itemstack, placer, pointed_thing,
|
||||
"naturalbiomes:bushland_blackberrybush_sapling",
|
||||
-- minp, maxp to be checked, relative to sapling pos
|
||||
{x = -1, y = 0, z = -1},
|
||||
{x = 1, y = 1, z = 1},
|
||||
-- maximum interval of interior volume check
|
||||
2)
|
||||
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:blackberry", {
|
||||
description = S("Blackberry"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"naturalbiomes_bushland_blackberries.png"},
|
||||
inventory_image = "naturalbiomes_bushland_blackberries.png",
|
||||
wield_image = "naturalbiomes_bushland_blackberries.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.31, -0.5, -0.31, 0.31, 0.5, 0.31}
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
},
|
||||
drop = "naturalbiomes:blackberry",
|
||||
on_use = minetest.item_eat(2),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = function(pos, placer)
|
||||
if placer:is_player() then
|
||||
minetest.set_node(pos, {name = "naturalbiomes:blackberry", param2 = 1})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
-- New wildrose bush
|
||||
|
||||
local function grow_new_wildrose_bush(pos)
|
||||
if not default.can_grow(pos) then
|
||||
-- try a bit later again
|
||||
minetest.get_node_timer(pos):start(math.random(240, 600))
|
||||
return
|
||||
end
|
||||
minetest.remove_node(pos)
|
||||
minetest.place_schematic({x = pos.x - 1, y = pos.y - 0, z = pos.z - 1}, modpath.."/schematics/naturalbiomes_bushland_wildrosebush.mts", "0", nil, false)
|
||||
end
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = 1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 697,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_wildrosebush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = 1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 697,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_wildrosebush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = 1,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 697,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_wildrosebush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_wildrose_stem", {
|
||||
description = S("Wildrose Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.40,
|
||||
tiles = {"naturalbiomes_bushland_wildrose_stem.png"},
|
||||
inventory_image = "naturalbiomes_bushland_wildrose_stem.png",
|
||||
wield_image = "naturalbiomes_bushland_wildrose_stem.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.5, 7 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_wildrose_leaves2", {
|
||||
description = S("Wildrose Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_bushland_wildrose_leaves2.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_wildrosebush_sapling"}, rarity = 3},
|
||||
{items = {"naturalbiomes:wildrose"}, rarity = 2},
|
||||
{items = {"naturalbiomes:bushland_wildrose_leaves2"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_wildrose_leaves", {
|
||||
description = S("Wildrose Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_bushland_wildrose_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_wildrosebush_sapling"}, rarity = 25},
|
||||
{items = {"naturalbiomes:wildrose"}, rarity = 2},
|
||||
{items = {"naturalbiomes:bushland_wildrose_leaves"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_wildrosebush_sapling", {
|
||||
description = S("Wildrose Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_bushland_wildrose_sapling.png"},
|
||||
inventory_image = "naturalbiomes_bushland_wildrose_sapling.png",
|
||||
wield_image = "naturalbiomes_bushland_wildrose_sapling.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
on_timer = grow_new_wildrose_bush,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 2 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||
end,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
itemstack = default.sapling_on_place(itemstack, placer, pointed_thing,
|
||||
"naturalbiomes:bushland_wildrosebush_sapling",
|
||||
-- minp, maxp to be checked, relative to sapling pos
|
||||
{x = -1, y = 0, z = -1},
|
||||
{x = 1, y = 1, z = 1},
|
||||
-- maximum interval of interior volume check
|
||||
2)
|
||||
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:wildrose", {
|
||||
description = S("Wildrose"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"naturalbiomes_bushland_wildrose.png"},
|
||||
inventory_image = "naturalbiomes_bushland_wildrose.png",
|
||||
wield_image = "naturalbiomes_bushland_wildrose.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.31, -0.5, -0.31, 0.31, 0.5, 0.31}
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
},
|
||||
drop = "naturalbiomes:wildrose",
|
||||
on_use = minetest.item_eat(2),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = function(pos, placer)
|
||||
if placer:is_player() then
|
||||
minetest.set_node(pos, {name = "naturalbiomes:wildrose", param2 = 1})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
-- New hazelnut bush
|
||||
|
||||
local function grow_new_hazelnut_bush(pos)
|
||||
if not default.can_grow(pos) then
|
||||
-- try a bit later again
|
||||
minetest.get_node_timer(pos):start(math.random(240, 600))
|
||||
return
|
||||
end
|
||||
minetest.remove_node(pos)
|
||||
minetest.place_schematic({x = pos.x - 3, y = pos.y - 0, z = pos.z - 3}, modpath.."/schematics/naturalbiomes_bushland_hazelnutbush.mts", "0", nil, false)
|
||||
end
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -3,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.00215,
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_hazelnutbush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -3,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.00215,
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_hazelnutbush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -3,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.00215,
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_hazelnutbush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_hazelnut_stem", {
|
||||
description = S("Hazelnut Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"naturalbiomes_bushland_hazelnut_stem.png"},
|
||||
inventory_image = "naturalbiomes_bushland_hazelnut_stem.png",
|
||||
wield_image = "naturalbiomes_bushland_hazelnut_stem.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.5, 7 / 16},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_hazelnut_leaves2", {
|
||||
description = S("Hazelnut Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_bushland_hazelnut_leaves2.png"},
|
||||
paramtype = "light",
|
||||
waving = 1,
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_hazelnutbush_sapling"}, rarity = 25},
|
||||
{items = {"naturalbiomes:hazelnut"}, rarity = 2},
|
||||
{items = {"naturalbiomes:bushland_hazelnut_leaves2"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_hazelnut_leaves", {
|
||||
description = S("Hazelnut Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_bushland_hazelnut_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_hazelnutbush_sapling"}, rarity = 25},
|
||||
{items = {"naturalbiomes:hazelnut"}, rarity = 2},
|
||||
{items = {"naturalbiomes:bushland_hazelnut_leaves"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_hazelnutbush_sapling", {
|
||||
description = S("Hazelnut Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_bushland_hazelnut_sapling.png"},
|
||||
inventory_image = "naturalbiomes_bushland_hazelnut_sapling.png",
|
||||
wield_image = "naturalbiomes_bushland_hazelnut_sapling.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
on_timer = grow_new_hazelnut_bush,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 2 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||
end,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
itemstack = default.sapling_on_place(itemstack, placer, pointed_thing,
|
||||
"naturalbiomes:bushland_hazelnutbush_sapling",
|
||||
-- minp, maxp to be checked, relative to sapling pos
|
||||
{x = -1, y = 0, z = -1},
|
||||
{x = 1, y = 1, z = 1},
|
||||
-- maximum interval of interior volume check
|
||||
2)
|
||||
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:hazelnut", {
|
||||
description = S("Hazelnut"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"naturalbiomes_bushland_hazelnut.png"},
|
||||
inventory_image = "naturalbiomes_bushland_hazelnut.png",
|
||||
wield_image = "naturalbiomes_bushland_hazelnut.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.31, -0.5, -0.31, 0.31, 0.5, 0.31}
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
},
|
||||
drop = "naturalbiomes:hazelnut",
|
||||
on_use = minetest.item_eat(2),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = function(pos, placer)
|
||||
if placer:is_player() then
|
||||
minetest.set_node(pos, {name = "naturalbiomes:hazelnut", param2 = 1})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
--- dead bush
|
||||
|
||||
minetest.register_node("naturalbiomes:bushland_deadbush_leaves", {
|
||||
description = S("Dead Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_bushland_deadbush_leaves.png"},
|
||||
paramtype = "light",
|
||||
waving = 1,
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:bushland_deadbush_leaves"}}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
after_place_node = after_place_leaves,
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.00115,
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_deadbush3.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.00115,
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_deadbush2.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"naturalbiomes:bushland_bushlandlitter"},
|
||||
place_offset_y = -1,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.00115,
|
||||
biomes = {"naturalbiomes:bushland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("naturalbiomes") .. "/schematics/naturalbiomes_bushland_deadbush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- cracked hazelnut
|
||||
minetest.register_craftitem("naturalbiomes:hazelnut_cracked", {
|
||||
description = S("Cracked Hazelnut"),
|
||||
inventory_image = "naturalbiomes_bushland_hazelnut_cracked.png",
|
||||
on_use = minetest.item_eat(5),
|
||||
groups = {food = 1, flammable = 2},
|
||||
})
|
||||
|
||||
xpanes.register_pane("hazelnut_pane", {
|
||||
description = S("Hazelnut Woven Fence"),
|
||||
textures = {"naturalbiomes_bushland_hazelnut_fence.png", "", "naturalbiomes_bushland_hazelnut_fence.png"},
|
||||
inventory_image = "naturalbiomes_bushland_hazelnut_fence.png",
|
||||
wield_image = "naturalbiomes_bushland_hazelnut_fence.png",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
recipe = {
|
||||
{"", "farming:string", ""},
|
||||
{"naturalbiomes:bushland_hazelnut_stem", "naturalbiomes:bushland_hazelnut_stem", "naturalbiomes:bushland_hazelnut_stem"}
|
||||
}
|
||||
})
|
518
crafting.lua
@ -1,10 +1,12 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
stairs.register_stair_and_slab(
|
||||
"naturalbiomes_adler_reed_bundle",
|
||||
"naturalbiomes:reed_bundle",
|
||||
{snappy = 3, oddly_breakable_by_hand = 0, flammable = 0},
|
||||
{"naturalbiomes_adler_reed_bundle.png"},
|
||||
("Reed Bundle Stair"),
|
||||
("Reed Bundle Slab"),
|
||||
S("Reed Bundle Stair"),
|
||||
S("Reed Bundle Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -13,8 +15,8 @@
|
||||
"naturalbiomes:alpine_brick",
|
||||
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
|
||||
{"naturalbiomes_alpine_rock_brick.png"},
|
||||
("Alpine Brick Stair"),
|
||||
("Alpine Brick Slab"),
|
||||
S("Alpine Brick Stair"),
|
||||
S("Alpine Brick Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -24,8 +26,8 @@
|
||||
"naturalbiomes:bamboo_brick",
|
||||
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
|
||||
{"naturalbiomes_bambooforest_rock_brick.png"},
|
||||
("Bamboo Brick Stair"),
|
||||
("Bamboo Brick Slab"),
|
||||
S("Bamboo Brick Stair"),
|
||||
S("Bamboo Brick Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -35,8 +37,8 @@
|
||||
"naturalbiomes:beach_brick",
|
||||
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
|
||||
{"naturalbiomes_beach_rock_brick.png"},
|
||||
("Beach Brick Stair"),
|
||||
("Beach Brick Slab"),
|
||||
S("Beach Brick Stair"),
|
||||
S("Beach Brick Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -46,8 +48,8 @@
|
||||
"naturalbiomes:med_brick",
|
||||
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
|
||||
{"naturalbiomes_mediterran_rock_brick.png"},
|
||||
("Med Brick Stair"),
|
||||
("Med Brick Slab"),
|
||||
S("Med Brick Stair"),
|
||||
S("Med Brick Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -57,28 +59,28 @@
|
||||
"naturalbiomes:outback_brick",
|
||||
{cracky = 1, oddly_breakable_by_hand = 0, flammable = 0},
|
||||
{"naturalbiomes_outback_rock_brick.png"},
|
||||
("Outback Brick Stair"),
|
||||
("Outback Brick Slab"),
|
||||
S("Outback Brick Stair"),
|
||||
S("Outback Brick Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
walls.register(":naturalbiomes:alpine_brick_wall", "Alpine Brick Wall", "naturalbiomes_alpine_rock_brick.png",
|
||||
walls.register(":naturalbiomes:alpine_brick_wall", S"Alpine Brick Wall", "naturalbiomes_alpine_rock_brick.png",
|
||||
"naturalbiomes:alpine_brick_wall", default.node_sound_stone_defaults())
|
||||
|
||||
walls.register(":naturalbiomes:bamboo_brick_wall", "Bambooforest Wall", "naturalbiomes_bambooforest_rock_brick.png",
|
||||
walls.register(":naturalbiomes:bamboo_brick_wall", S"Bambooforest Wall", "naturalbiomes_bambooforest_rock_brick.png",
|
||||
"naturalbiomes:bamboo_brick_wall", default.node_sound_stone_defaults())
|
||||
|
||||
walls.register(":naturalbiomes:med_brick_wall", "Mediterranean Wall", "naturalbiomes_mediterran_rock_brick.png",
|
||||
walls.register(":naturalbiomes:med_brick_wall", S"Mediterranean Wall", "naturalbiomes_mediterran_rock_brick.png",
|
||||
"naturalbiomes:med_brick_wall", default.node_sound_stone_defaults())
|
||||
|
||||
walls.register(":naturalbiomes:outback_brick_wall", "Outback Wall", "naturalbiomes_outback_rock_brick.png",
|
||||
walls.register(":naturalbiomes:outback_brick_wall", S"Outback Wall", "naturalbiomes_outback_rock_brick.png",
|
||||
"naturalbiomes:outback_brick_wall", default.node_sound_stone_defaults())
|
||||
|
||||
walls.register(":naturalbiomes:beach_brick_wall", "Palmbeach Wall", "naturalbiomes_beach_rock_brick.png",
|
||||
walls.register(":naturalbiomes:beach_brick_wall", S"Palmbeach Wall", "naturalbiomes_beach_rock_brick.png",
|
||||
"naturalbiomes:beach_brick_wall", default.node_sound_stone_defaults())
|
||||
|
||||
minetest.register_node("naturalbiomes:reed_bundle", {
|
||||
description = ("Reed Bundle"),
|
||||
description = S("Reed Bundle"),
|
||||
tiles = {
|
||||
"naturalbiomes_adler_reed_bundle_top.png",
|
||||
"naturalbiomes_adler_reed_bundle_top.png",
|
||||
@ -90,7 +92,7 @@ minetest.register_node("naturalbiomes:reed_bundle", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:alpine_brick", {
|
||||
description = ("Alpine Brick"),
|
||||
description = S("Alpine Brick"),
|
||||
tiles = {"naturalbiomes_alpine_rock_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 2},
|
||||
@ -98,7 +100,7 @@ minetest.register_node("naturalbiomes:alpine_brick", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:bamboo_brick", {
|
||||
description = ("Bambooforest Brick"),
|
||||
description = S("Bambooforest Brick"),
|
||||
tiles = {"naturalbiomes_bambooforest_rock_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 2},
|
||||
@ -106,7 +108,7 @@ minetest.register_node("naturalbiomes:bamboo_brick", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:beach_brick", {
|
||||
description = ("Beach Brick"),
|
||||
description = S("Beach Brick"),
|
||||
tiles = {"naturalbiomes_beach_rock_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 2},
|
||||
@ -114,7 +116,7 @@ minetest.register_node("naturalbiomes:beach_brick", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_brick", {
|
||||
description = ("Meditteranean Brick"),
|
||||
description = S("Meditteranean Brick"),
|
||||
tiles = {"naturalbiomes_mediterran_rock_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 2},
|
||||
@ -122,7 +124,7 @@ minetest.register_node("naturalbiomes:med_brick", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_brick", {
|
||||
description = ("Outback Brick"),
|
||||
description = S("Outback Brick"),
|
||||
tiles = {"naturalbiomes_outback_rock_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 2},
|
||||
@ -133,7 +135,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:reed_bundle",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:alderswamp_reed", "naturalbiomes:alderswamp_reed", "naturalbiomes:alderswamp_reed", "naturalbiomes:alderswamp_reed"}
|
||||
{"naturalbiomes:alderswamp_reed", "naturalbiomes:alderswamp_reed"}
|
||||
|
||||
})
|
||||
|
||||
@ -141,7 +143,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:reed_bundle",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:alderswamp_reed2", "naturalbiomes:alderswamp_reed2", "naturalbiomes:alderswamp_reed2", "naturalbiomes:alderswamp_reed2"}
|
||||
{"naturalbiomes:alderswamp_reed2", "naturalbiomes:alderswamp_reed2"}
|
||||
|
||||
})
|
||||
|
||||
@ -149,7 +151,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:reed_bundle",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:alderswamp_reed3", "naturalbiomes:alderswamp_reed3", "naturalbiomes:alderswamp_reed3", "naturalbiomes:alderswamp_reed3"}
|
||||
{"naturalbiomes:alderswamp_reed3", "naturalbiomes:alderswamp_reed3"}
|
||||
|
||||
})
|
||||
|
||||
@ -157,7 +159,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:alpine_brick",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:alpine_rock", "naturalbiomes:alpine_rock", "naturalbiomes:alpine_rock", "naturalbiomes:alpine_rock"}
|
||||
{"naturalbiomes:alpine_rock", "naturalbiomes:alpine_rock"}
|
||||
|
||||
|
||||
})
|
||||
@ -166,7 +168,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:bamboo_brick",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:bambooforest_rock", "naturalbiomes:bambooforest_rock", "naturalbiomes:bambooforest_rock", "naturalbiomes:bambooforest_rock"}
|
||||
{"naturalbiomes:bambooforest_rock", "naturalbiomes:bambooforest_rock"}
|
||||
|
||||
|
||||
})
|
||||
@ -175,7 +177,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:beach_brick",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:palmbeach_rock", "naturalbiomes:palmbeach_rock", "naturalbiomes:palmbeach_rock", "naturalbiomes:palmbeach_rock"}
|
||||
{"naturalbiomes:palmbeach_rock", "naturalbiomes:palmbeach_rock"}
|
||||
|
||||
|
||||
})
|
||||
@ -184,7 +186,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:med_brick",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:mediterran_rock", "naturalbiomes:mediterran_rock", "naturalbiomes:mediterran_rock", "naturalbiomes:mediterran_rock"}
|
||||
{"naturalbiomes:mediterran_rock", "naturalbiomes:mediterran_rock"}
|
||||
|
||||
|
||||
})
|
||||
@ -193,7 +195,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:outback_brick",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:outback_rock", "naturalbiomes:outback_rock", "naturalbiomes:outback_rock", "naturalbiomes:outback_rock"}
|
||||
{"naturalbiomes:outback_rock", "naturalbiomes:outback_rock"}
|
||||
|
||||
|
||||
})
|
||||
@ -204,7 +206,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:alpine_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:alpine_brick", "naturalbiomes:alpine_brick", "naturalbiomes:alpine_brick", "naturalbiomes:alpine_brick", "naturalbiomes:alpine_brick", "naturalbiomes:alpine_brick"}
|
||||
{"naturalbiomes:alpine_brick"}
|
||||
|
||||
|
||||
})
|
||||
@ -213,7 +215,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:bamboo_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:bamboo_brick", "naturalbiomes:bamboo_brick", "naturalbiomes:bamboo_brick", "naturalbiomes:bamboo_brick", "naturalbiomes:bamboo_brick", "naturalbiomes:bamboo_brick"}
|
||||
{"naturalbiomes:bamboo_brick"}
|
||||
|
||||
|
||||
})
|
||||
@ -222,7 +224,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:beach_brick",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:beach_brick", "naturalbiomes:beach_brick", "naturalbiomes:beach_brick", "naturalbiomes:beach_brick", "naturalbiomes:beach_brick", "naturalbiomes:beach_brick"}
|
||||
{"naturalbiomes:beach_brick"}
|
||||
|
||||
|
||||
})
|
||||
@ -231,7 +233,7 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:med_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:med_brick", "naturalbiomes:med_brick", "naturalbiomes:med_brick", "naturalbiomes:med_brick", "naturalbiomes:med_brick", "naturalbiomes:med_brick"}
|
||||
{"naturalbiomes:med_brick"}
|
||||
|
||||
|
||||
})
|
||||
@ -240,7 +242,451 @@ minetest.register_craft({
|
||||
output = "naturalbiomes:outback_brick_wall",
|
||||
type = "shapeless",
|
||||
recipe =
|
||||
{"naturalbiomes:outback_brick", "naturalbiomes:outback_brick", "naturalbiomes:outback_brick", "naturalbiomes:outback_brick", "naturalbiomes:outback_brick", "naturalbiomes:outback_brick"}
|
||||
{"naturalbiomes:outback_brick"}
|
||||
|
||||
|
||||
})
|
||||
|
||||
--- doors
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:acacia_trapdoor", {
|
||||
description = S"Wet Savanna Acacia Trapdoor",
|
||||
inventory_image = "naturalbiomes_acacia_trapdoor.png",
|
||||
wield_image = "naturalbiomes_acacia_trapdoor.png",
|
||||
tile_front = "naturalbiomes_acacia_trapdoor.png",
|
||||
tile_side = "naturalbiomes_acacia_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:acacia_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:acacia_wood", "naturalbiomes:acacia_wood", "naturalbiomes:acacia_wood"},
|
||||
{"naturalbiomes:acacia_wood", "naturalbiomes:acacia_trunk", "naturalbiomes:acacia_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_acacia_door", {
|
||||
tiles = {{ name = "naturalbiomes_acacia_door.png", backface_culling = true }},
|
||||
description = S"Wet Savanna Acacia Door",
|
||||
inventory_image = "naturalbiomes_item_acacia_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:acacia_wood", "naturalbiomes:acacia_wood"},
|
||||
{"naturalbiomes:acacia_trunk", "naturalbiomes:acacia_trunk"},
|
||||
{"naturalbiomes:acacia_wood", "naturalbiomes:acacia_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:alder_trapdoor", {
|
||||
description = S"Alder Trapdoor",
|
||||
inventory_image = "naturalbiomes_alder_trapdoor.png",
|
||||
wield_image = "naturalbiomes_alder_trapdoor.png",
|
||||
tile_front = "naturalbiomes_alder_trapdoor.png",
|
||||
tile_side = "naturalbiomes_alder_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:alder_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:alder_wood", "naturalbiomes:alder_wood", "naturalbiomes:alder_wood"},
|
||||
{"naturalbiomes:alder_wood", "naturalbiomes:alder_trunk", "naturalbiomes:alder_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_alder_door", {
|
||||
tiles = {{ name = "naturalbiomes_alder_door.png", backface_culling = true }},
|
||||
description = S"Alder Door",
|
||||
inventory_image = "naturalbiomes_item_alder_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:alder_wood", "naturalbiomes:alder_wood"},
|
||||
{"naturalbiomes:alder_trunk", "naturalbiomes:alder_trunk"},
|
||||
{"naturalbiomes:alder_wood", "naturalbiomes:alder_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:alpine_trapdoor", {
|
||||
description = S"Alpine Underground Trapdoor",
|
||||
inventory_image = "naturalbiomes_alpine1_trapdoor.png",
|
||||
wield_image = "naturalbiomes_alpine1_trapdoor.png",
|
||||
tile_front = "naturalbiomes_alpine1_trapdoor.png",
|
||||
tile_side = "naturalbiomes_alpine1_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:alpine_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:alppine1_wood", "naturalbiomes:alppine1_wood", "naturalbiomes:alppine1_wood"},
|
||||
{"naturalbiomes:alppine1_wood", "naturalbiomes:alppine1_trunk", "naturalbiomes:alppine1_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_alpine_door", {
|
||||
tiles = {{ name = "naturalbiomes_alpine1_door.png", backface_culling = true }},
|
||||
description = S"Alpine Underground Door",
|
||||
inventory_image = "naturalbiomes_item_alpine1_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:alppine1_wood", "naturalbiomes:alppine1_wood"},
|
||||
{"naturalbiomes:alppine1_trunk", "naturalbiomes:alppine1_trunk"},
|
||||
{"naturalbiomes:alppine1_wood", "naturalbiomes:alppine1_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:alpine2_trapdoor", {
|
||||
description = S"Alpine Trapdoor",
|
||||
inventory_image = "naturalbiomes_alpine2_trapdoor.png",
|
||||
wield_image = "naturalbiomes_alpine2_trapdoor.png",
|
||||
tile_front = "naturalbiomes_alpine2_trapdoor.png",
|
||||
tile_side = "naturalbiomes_alpine2_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:alpine2_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:alppine2_wood", "naturalbiomes:alppine2_wood", "naturalbiomes:alppine2_wood"},
|
||||
{"naturalbiomes:alppine2_wood", "naturalbiomes:alppine2_trunk", "naturalbiomes:alppine2_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_alpine2_door", {
|
||||
tiles = {{ name = "naturalbiomes_alpine2_door.png", backface_culling = true }},
|
||||
description = S"Alpine Door",
|
||||
inventory_image = "naturalbiomes_item_alpine2_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:alppine2_wood", "naturalbiomes:alppine2_wood"},
|
||||
{"naturalbiomes:alppine2_trunk", "naturalbiomes:alppine2_trunk"},
|
||||
{"naturalbiomes:alppine2_wood", "naturalbiomes:alppine2_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:bamboo_trapdoor", {
|
||||
description = S"Bamboo Trapdoor",
|
||||
inventory_image = "naturalbiomes_bamboo_trapdoor.png",
|
||||
wield_image = "naturalbiomes_bamboo_trapdoor.png",
|
||||
tile_front = "naturalbiomes_bamboo_trapdoor.png",
|
||||
tile_side = "naturalbiomes_bamboo_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:bamboo_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:bamboo_wood", "naturalbiomes:bamboo_wood", "naturalbiomes:bamboo_wood"},
|
||||
{"naturalbiomes:bamboo_wood", "naturalbiomes:bamboo_trunk", "naturalbiomes:bamboo_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_bamboo_door", {
|
||||
tiles = {{ name = "naturalbiomes_bamboo_door.png", backface_culling = true }},
|
||||
description = S"Bamboo Door",
|
||||
inventory_image = "naturalbiomes_item_bamboo_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:bamboo_wood", "naturalbiomes:bamboo_wood"},
|
||||
{"naturalbiomes:bamboo_trunk", "naturalbiomes:bamboo_trunk"},
|
||||
{"naturalbiomes:bamboo_wood", "naturalbiomes:bamboo_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:banana_trapdoor", {
|
||||
description = S"Banana Trapdoor",
|
||||
inventory_image = "naturalbiomes_banana_trapdoor.png",
|
||||
wield_image = "naturalbiomes_banana_trapdoor.png",
|
||||
tile_front = "naturalbiomes_banana_trapdoor.png",
|
||||
tile_side = "naturalbiomes_banana_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:banana_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:banana_wood", "naturalbiomes:banana_wood", "naturalbiomes:banana_wood"},
|
||||
{"naturalbiomes:banana_wood", "naturalbiomes:banana_trunk", "naturalbiomes:banana_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_banana_door", {
|
||||
tiles = {{ name = "naturalbiomes_banana_door.png", backface_culling = true }},
|
||||
description = S"Banana Door",
|
||||
inventory_image = "naturalbiomes_item_banana_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:banana_wood", "naturalbiomes:banana_wood"},
|
||||
{"naturalbiomes:banana_trunk", "naturalbiomes:banana_trunk"},
|
||||
{"naturalbiomes:banana_wood", "naturalbiomes:banana_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:birch_trapdoor", {
|
||||
description = S"Birch Trapdoor",
|
||||
inventory_image = "naturalbiomes_birch_trapdoor.png",
|
||||
wield_image = "naturalbiomes_birch_trapdoor.png",
|
||||
tile_front = "naturalbiomes_birch_trapdoor.png",
|
||||
tile_side = "naturalbiomes_birch_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:birch_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heath_birch_wood", "naturalbiomes:heath_birch_wood", "naturalbiomes:heath_birch_wood"},
|
||||
{"naturalbiomes:heath_birch_wood", "naturalbiomes:heath_birch_trunk", "naturalbiomes:heath_birch_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_birch_door", {
|
||||
tiles = {{ name = "naturalbiomes_birch_door.png", backface_culling = true }},
|
||||
description = S"Birch Door",
|
||||
inventory_image = "naturalbiomes_item_birch_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:heath_birch_wood", "naturalbiomes:heath_birch_wood"},
|
||||
{"naturalbiomes:heath_birch_trunk", "naturalbiomes:heath_birch_trunk"},
|
||||
{"naturalbiomes:heath_birch_wood", "naturalbiomes:heath_birch_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:coconut_trapdoor", {
|
||||
description = S"Coconut Trapdoor",
|
||||
inventory_image = "naturalbiomes_cocopalm_trapdoor.png",
|
||||
wield_image = "naturalbiomes_cocopalm_trapdoor.png",
|
||||
tile_front = "naturalbiomes_cocopalm_trapdoor.png",
|
||||
tile_side = "naturalbiomes_cocopalm_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:coconut_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:palm_wood", "naturalbiomes:palm_wood", "naturalbiomes:palm_wood"},
|
||||
{"naturalbiomes:palm_wood", "naturalbiomes:palm_trunk", "naturalbiomes:palm_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_coconut_door", {
|
||||
tiles = {{ name = "naturalbiomes_cocopalm_door.png", backface_culling = true }},
|
||||
description = S"Coconut Door",
|
||||
inventory_image = "naturalbiomes_item_cocopalm_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:palm_wood", "naturalbiomes:palm_wood"},
|
||||
{"naturalbiomes:palm_trunk", "naturalbiomes:palm_trunk"},
|
||||
{"naturalbiomes:palm_wood", "naturalbiomes:palm_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:juniper_trapdoor", {
|
||||
description = S"Juniper Trapdoor",
|
||||
inventory_image = "naturalbiomes_juniper_trapdoor.png",
|
||||
wield_image = "naturalbiomes_juniper_trapdoor.png",
|
||||
tile_front = "naturalbiomes_juniper_trapdoor.png",
|
||||
tile_side = "naturalbiomes_juniper_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:juniper_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heath_juniper_wood", "naturalbiomes:heath_juniper_wood", "naturalbiomes:heath_juniper_wood"},
|
||||
{"naturalbiomes:heath_juniper_wood", "naturalbiomes:heath_juniper_trunk", "naturalbiomes:heath_juniper_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_juniper_door", {
|
||||
tiles = {{ name = "naturalbiomes_juniper_door.png", backface_culling = true }},
|
||||
description = S"Juniper Door",
|
||||
inventory_image = "naturalbiomes_item_juniper_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:heath_juniper_wood", "naturalbiomes:heath_juniper_wood"},
|
||||
{"naturalbiomes:heath_juniper_trunk", "naturalbiomes:heath_juniper_trunk"},
|
||||
{"naturalbiomes:heath_juniper_wood", "naturalbiomes:heath_juniper_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:medpine_trapdoor", {
|
||||
description = S"Mediterranean Pine Trapdoor",
|
||||
inventory_image = "naturalbiomes_medpine_trapdoor.png",
|
||||
wield_image = "naturalbiomes_medpine_trapdoor.png",
|
||||
tile_front = "naturalbiomes_medpine_trapdoor.png",
|
||||
tile_side = "naturalbiomes_medpine_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:medpine_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:pine_wood", "naturalbiomes:pine_wood", "naturalbiomes:pine_wood"},
|
||||
{"naturalbiomes:pine_wood", "naturalbiomes:pine_trunk", "naturalbiomes:pine_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_medpine_door", {
|
||||
tiles = {{ name = "naturalbiomes_medpine_door.png", backface_culling = true }},
|
||||
description = S"Mediterranean Pine Door",
|
||||
inventory_image = "naturalbiomes_item_medpine_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:pine_wood", "naturalbiomes:pine_wood"},
|
||||
{"naturalbiomes:pine_trunk", "naturalbiomes:pine_trunk"},
|
||||
{"naturalbiomes:pine_wood", "naturalbiomes:pine_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:olive_trapdoor", {
|
||||
description = S"Olive Trapdoor",
|
||||
inventory_image = "naturalbiomes_olive_trapdoor.png",
|
||||
wield_image = "naturalbiomes_olive_trapdoor.png",
|
||||
tile_front = "naturalbiomes_olive_trapdoor.png",
|
||||
tile_side = "naturalbiomes_olive_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:olive_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:olive_wood", "naturalbiomes:olive_wood", "naturalbiomes:olive_wood"},
|
||||
{"naturalbiomes:olive_wood", "naturalbiomes:olive_trunk", "naturalbiomes:olive_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_olive_door", {
|
||||
tiles = {{ name = "naturalbiomes_olive_door.png", backface_culling = true }},
|
||||
description = S"Olive Door",
|
||||
inventory_image = "naturalbiomes_item_olive_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:olive_wood", "naturalbiomes:olive_wood"},
|
||||
{"naturalbiomes:olive_trunk", "naturalbiomes:olive_trunk"},
|
||||
{"naturalbiomes:olive_wood", "naturalbiomes:olive_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:eucalyptus_trapdoor", {
|
||||
description = S"Eucalyptus Trapdoor",
|
||||
inventory_image = "naturalbiomes_outback_trapdoor.png",
|
||||
wield_image = "naturalbiomes_outback_trapdoor.png",
|
||||
tile_front = "naturalbiomes_outback_trapdoor.png",
|
||||
tile_side = "naturalbiomes_outback_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:eucalyptus_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:outback_wood", "naturalbiomes:outback_wood", "naturalbiomes:outback_wood"},
|
||||
{"naturalbiomes:outback_wood", "naturalbiomes:outback_trunk", "naturalbiomes:outback_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_eucalyptus_door", {
|
||||
tiles = {{ name = "naturalbiomes_outback_door.png", backface_culling = true }},
|
||||
description = S"Eucalyptus Door",
|
||||
inventory_image = "naturalbiomes_item_outback_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:outback_wood", "naturalbiomes:outback_wood"},
|
||||
{"naturalbiomes:outback_trunk", "naturalbiomes:outback_trunk"},
|
||||
{"naturalbiomes:outback_wood", "naturalbiomes:outback_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register_trapdoor("naturalbiomes:willow_trapdoor", {
|
||||
description = S"Willow Trapdoor",
|
||||
inventory_image = "naturalbiomes_willow_trapdoor.png",
|
||||
wield_image = "naturalbiomes_willow_trapdoor.png",
|
||||
tile_front = "naturalbiomes_willow_trapdoor.png",
|
||||
tile_side = "naturalbiomes_willow_trapdoor_side.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, door = 1},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "naturalbiomes:willow_trapdoor 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heath_willow_wood", "naturalbiomes:heath_willow_wood", "naturalbiomes:heath_willow_wood"},
|
||||
{"naturalbiomes:heath_willow_wood", "naturalbiomes:heath_willow_trunk", "naturalbiomes:heath_willow_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("naturalbiomes_willow_door", {
|
||||
tiles = {{ name = "naturalbiomes_willow_door.png", backface_culling = true }},
|
||||
description = S"Willow Door",
|
||||
inventory_image = "naturalbiomes_item_willow_door.png",
|
||||
groups = {node = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
gain_open = 0.06,
|
||||
gain_close = 0.13,
|
||||
recipe = {
|
||||
{"naturalbiomes:heath_willow_wood", "naturalbiomes:heath_willow_wood"},
|
||||
{"naturalbiomes:heath_willow_trunk", "naturalbiomes:heath_willow_trunk"},
|
||||
{"naturalbiomes:heath_willow_wood", "naturalbiomes:heath_willow_wood"},
|
||||
}
|
||||
})
|
@ -1,5 +1,6 @@
|
||||
default
|
||||
stairs
|
||||
doors
|
||||
xpanes
|
||||
hunger_ng?
|
||||
ethereal?
|
||||
|
127
dye.lua
Normal file
@ -0,0 +1,127 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:yellow 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:alderswamp_yellowflower"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:orange 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:alpine_dandelion"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:red 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:cowberry"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:white 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:alpine_edelweiss"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:pink 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:med_flower1"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:violet 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:med_flower3"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:brown 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:med_grass2"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:brown 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:med_grass1"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:orange 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:outback_grass6"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:brown 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:savanna_flowergrass"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:green 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:palmbeach_grass1"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:violet 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heatherflower"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:magenta 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heatherflower2"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:violet 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heatherflower3"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:pink 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:heatherflower4"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:white 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:med_flower2"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:grey 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:outback_grass5"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:dark_green 2",
|
||||
recipe = {
|
||||
{"naturalbiomes:outback_grass2"}
|
||||
},
|
||||
})
|
113
heath.lua
@ -1,10 +1,11 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_litter", {
|
||||
description = ("Heath sand with dirt"),
|
||||
description = S("Heath sand with dirt"),
|
||||
tiles = {"naturalbiomes_heath_litter.png", "default_sand.png",
|
||||
{name = "default_sand.png^naturalbiomes_heath_litter_side.png",
|
||||
tileable_vertical = false}},
|
||||
@ -16,7 +17,7 @@ minetest.register_node("naturalbiomes:heath_litter", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_litter2", {
|
||||
description = ("Heath sand with dirt"),
|
||||
description = S("Heath sand with dirt"),
|
||||
tiles = {"naturalbiomes_heath_litter2.png", "default_sand.png",
|
||||
{name = "default_sand.png^naturalbiomes_heath_litter_side2.png",
|
||||
tileable_vertical = false}},
|
||||
@ -47,7 +48,7 @@ minetest.register_node("naturalbiomes:heath_litter2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_litter3", {
|
||||
description = ("Heath sand with dirt"),
|
||||
description = S("Heath sand with dirt"),
|
||||
tiles = {"naturalbiomes_heath_litter3.png", "default_sand.png",
|
||||
{name = "default_sand.png^naturalbiomes_heath_litter_side3.png",
|
||||
tileable_vertical = false}},
|
||||
@ -108,7 +109,7 @@ minetest.register_biome({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_grass", {
|
||||
description = "Wood Anemone",
|
||||
description = S"Heath Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 2,
|
||||
visual_scale = 1.0,
|
||||
@ -140,7 +141,7 @@ minetest.register_node("naturalbiomes:heath_grass", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_grass2", {
|
||||
description = "Periwinkle",
|
||||
description = S"Heath Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -173,7 +174,7 @@ minetest.register_node("naturalbiomes:heath_grass2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_grass3", {
|
||||
description = "Heath Grass",
|
||||
description = S"Heath Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -206,7 +207,7 @@ minetest.register_node("naturalbiomes:heath_grass3", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower", {
|
||||
description = "Heather Flower",
|
||||
description = S"Heather Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -239,7 +240,7 @@ minetest.register_node("naturalbiomes:heatherflower", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower2", {
|
||||
description = "Heather Flower",
|
||||
description = S"Heather Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -272,7 +273,7 @@ minetest.register_node("naturalbiomes:heatherflower2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower3", {
|
||||
description = "Heather Flower",
|
||||
description = S"Heather Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.5,
|
||||
@ -305,7 +306,7 @@ minetest.register_node("naturalbiomes:heatherflower3", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower4", {
|
||||
description = "Heather Flower",
|
||||
description = S"Heather Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.5,
|
||||
@ -338,7 +339,7 @@ minetest.register_node("naturalbiomes:heatherflower4", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:swampgrass", {
|
||||
description = "Swamp Grass",
|
||||
description = S"Swamp Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -371,7 +372,7 @@ minetest.register_node("naturalbiomes:swampgrass", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:swampgrass2", {
|
||||
description = "Swamp Grass",
|
||||
description = S"Swamp Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 2.0,
|
||||
@ -408,7 +409,7 @@ end
|
||||
|
||||
-- willow trunk
|
||||
minetest.register_node("naturalbiomes:heath_willow_trunk", {
|
||||
description = ("Willow Trunk"),
|
||||
description = S("Willow Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_heath_willow_trunk_top.png",
|
||||
"naturalbiomes_heath_willow_trunk_top.png",
|
||||
@ -422,7 +423,7 @@ minetest.register_node("naturalbiomes:heath_willow_trunk", {
|
||||
|
||||
-- willow wood
|
||||
minetest.register_node("naturalbiomes:heath_willow_wood", {
|
||||
description = ("Willow Wood"),
|
||||
description = S("Willow Wood"),
|
||||
tiles = {"naturalbiomes_heath_willow_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -435,7 +436,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_willow_leaves", {
|
||||
description = ("Willow Leaves"),
|
||||
description = S("Willow Leaves"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 4.0,
|
||||
waving = 1,
|
||||
@ -443,7 +444,7 @@ minetest.register_node("naturalbiomes:heath_willow_leaves", {
|
||||
special_tiles = {"naturalbiomes_heath_willow_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -465,7 +466,7 @@ minetest.register_node("naturalbiomes:heath_willow_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_willow_leaves2", {
|
||||
description = ("Willow Leaves"),
|
||||
description = S("Willow Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
visual_scale = 1.0,
|
||||
waving = 1,
|
||||
@ -473,7 +474,7 @@ minetest.register_node("naturalbiomes:heath_willow_leaves2", {
|
||||
special_tiles = {"naturalbiomes_heath_willow_leaves2.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -495,7 +496,7 @@ minetest.register_node("naturalbiomes:heath_willow_leaves2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:willow_sapling", {
|
||||
description = ("Willow Sapling"),
|
||||
description = S("Willow Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_heath_willow_sapling.png"},
|
||||
inventory_image = "naturalbiomes_heath_willow_sapling.png",
|
||||
@ -539,8 +540,8 @@ minetest.register_node("naturalbiomes:willow_sapling", {
|
||||
"naturalbiomes:heath_willow_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_heath_willow_wood.png"},
|
||||
("Willow Stair"),
|
||||
("Willow Slab"),
|
||||
S("Willow Stair"),
|
||||
S("Willow Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -549,15 +550,15 @@ minetest.register_node("naturalbiomes:willow_sapling", {
|
||||
"naturalbiomes:heath_willow_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_heath_willow_trunk_top.png", "naturalbiomes_heath_willow_trunk_top.png", "naturalbiomes_heath_willow_trunk.png"},
|
||||
("Willow Trunk Stair"),
|
||||
("Willow Trunk Slab"),
|
||||
S("Willow Trunk Stair"),
|
||||
S("Willow Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_willow_wood",
|
||||
{
|
||||
description = ("Willow Wood Fence Gate"),
|
||||
description = S("Willow Wood Fence Gate"),
|
||||
texture = "naturalbiomes_heath_willow_wood.png",
|
||||
material = "naturalbiomes:heath_willow_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -569,7 +570,7 @@ minetest.register_node("naturalbiomes:willow_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_willow_wood",
|
||||
{
|
||||
description = ("Willow Fence"),
|
||||
description = S("Willow Fence"),
|
||||
texture = "naturalbiomes_adler_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_heath_willow_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_heath_willow_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -582,7 +583,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_willow_wood",
|
||||
{
|
||||
description = ("Willow Fence Rail"),
|
||||
description = S("Willow Fence Rail"),
|
||||
texture = "naturalbiomes_heath_willow_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_heath_willow_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -639,7 +640,7 @@ end
|
||||
|
||||
-- juniper trunk
|
||||
minetest.register_node("naturalbiomes:heath_juniper_trunk", {
|
||||
description = ("Juniper Trunk"),
|
||||
description = S("Juniper Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_heath_juniper_trunk_top.png",
|
||||
"naturalbiomes_heath_juniper_trunk_top.png",
|
||||
@ -653,7 +654,7 @@ minetest.register_node("naturalbiomes:heath_juniper_trunk", {
|
||||
|
||||
-- juniper wood
|
||||
minetest.register_node("naturalbiomes:heath_juniper_wood", {
|
||||
description = ("Juniper Wood"),
|
||||
description = S("Juniper Wood"),
|
||||
tiles = {"naturalbiomes_heath_juniper_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -666,7 +667,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_juniper_leaves", {
|
||||
description = ("Juniper Leaves"),
|
||||
description = S("Juniper Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
visual_scale = 1.0,
|
||||
waving = 1,
|
||||
@ -674,14 +675,14 @@ minetest.register_node("naturalbiomes:heath_juniper_leaves", {
|
||||
special_tiles = {"naturalbiomes_heath_juniper_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
-- player will get sapling with 1/50 chance
|
||||
items = {'naturalbiomes:juniper_sapling'},
|
||||
rarity = 50,
|
||||
rarity = 6,
|
||||
},
|
||||
{
|
||||
-- player will get leaves only if he get no saplings,
|
||||
@ -696,7 +697,7 @@ minetest.register_node("naturalbiomes:heath_juniper_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:juniper_sapling", {
|
||||
description = ("Juniper Sapling"),
|
||||
description = S("Juniper Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_heath_juniper_sapling.png"},
|
||||
inventory_image = "naturalbiomes_heath_juniper_sapling.png",
|
||||
@ -740,8 +741,8 @@ minetest.register_node("naturalbiomes:juniper_sapling", {
|
||||
"naturalbiomes:heath_juniper_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_heath_juniper_wood.png"},
|
||||
("Juniper Stair"),
|
||||
("Juniper Slab"),
|
||||
S("Juniper Stair"),
|
||||
S("Juniper Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -750,15 +751,15 @@ minetest.register_node("naturalbiomes:juniper_sapling", {
|
||||
"naturalbiomes:heath_juniper_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_heath_juniper_trunk_top.png", "naturalbiomes_heath_juniper_trunk_top.png", "naturalbiomes_heath_juniper_trunk.png"},
|
||||
("Juniper Trunk Stair"),
|
||||
("Juniper Trunk Slab"),
|
||||
S("Juniper Trunk Stair"),
|
||||
S("Juniper Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_juniper_wood",
|
||||
{
|
||||
description = ("Juniper Wood Fence Gate"),
|
||||
description = S("Juniper Wood Fence Gate"),
|
||||
texture = "naturalbiomes_heath_juniper_wood.png",
|
||||
material = "naturalbiomes:heath_juniper_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -770,7 +771,7 @@ minetest.register_node("naturalbiomes:juniper_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_juniper_wood",
|
||||
{
|
||||
description = ("Juniper Fence"),
|
||||
description = S("Juniper Fence"),
|
||||
texture = "naturalbiomes_adler_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_heath_juniper_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_heath_juniper_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -783,7 +784,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_juniper_wood",
|
||||
{
|
||||
description = ("Juniper Fence Rail"),
|
||||
description = S("Juniper Fence Rail"),
|
||||
texture = "naturalbiomes_heath_juniper_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_heath_juniper_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -840,7 +841,7 @@ end
|
||||
|
||||
-- birch trunk
|
||||
minetest.register_node("naturalbiomes:heath_birch_trunk", {
|
||||
description = ("Birch Trunk"),
|
||||
description = S("Birch Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_heath_birch_trunk_top.png",
|
||||
"naturalbiomes_heath_birch_trunk_top.png",
|
||||
@ -854,7 +855,7 @@ minetest.register_node("naturalbiomes:heath_birch_trunk", {
|
||||
|
||||
-- birch wood
|
||||
minetest.register_node("naturalbiomes:heath_birch_wood", {
|
||||
description = ("Birch Wood"),
|
||||
description = S("Birch Wood"),
|
||||
tiles = {"naturalbiomes_heath_birch_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -867,7 +868,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heath_birch_leaves", {
|
||||
description = ("Birch Leaves"),
|
||||
description = S("Birch Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
visual_scale = 1.0,
|
||||
waving = 1,
|
||||
@ -875,14 +876,14 @@ minetest.register_node("naturalbiomes:heath_birch_leaves", {
|
||||
special_tiles = {"naturalbiomes_heath_birch_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
-- player will get sapling with 1/50 chance
|
||||
items = {'naturalbiomes:birch_sapling'},
|
||||
rarity = 50,
|
||||
rarity = 40,
|
||||
},
|
||||
{
|
||||
-- player will get leaves only if he get no saplings,
|
||||
@ -897,7 +898,7 @@ minetest.register_node("naturalbiomes:heath_birch_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:birch_sapling", {
|
||||
description = ("Birch Sapling"),
|
||||
description = S("Birch Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_heath_birch_sapling.png"},
|
||||
inventory_image = "naturalbiomes_heath_birch_sapling.png",
|
||||
@ -941,8 +942,8 @@ minetest.register_node("naturalbiomes:birch_sapling", {
|
||||
"naturalbiomes:heath_birch_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_heath_birch_wood.png"},
|
||||
("Birch Stair"),
|
||||
("Birch Slab"),
|
||||
S("Birch Stair"),
|
||||
S("Birch Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -951,15 +952,15 @@ minetest.register_node("naturalbiomes:birch_sapling", {
|
||||
"naturalbiomes:heath_birch_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_heath_birch_trunk_top.png", "naturalbiomes_heath_birch_trunk_top.png", "naturalbiomes_heath_birch_trunk.png"},
|
||||
("Birch Trunk Stair"),
|
||||
("Birch Trunk Slab"),
|
||||
S("Birch Trunk Stair"),
|
||||
S("Birch Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_birch_wood",
|
||||
{
|
||||
description = ("Birch Wood Fence Gate"),
|
||||
description = S("Birch Wood Fence Gate"),
|
||||
texture = "naturalbiomes_heath_birch_wood.png",
|
||||
material = "naturalbiomes:heath_birch_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -971,7 +972,7 @@ minetest.register_node("naturalbiomes:birch_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_birch_wood",
|
||||
{
|
||||
description = ("Birch Fence"),
|
||||
description = S("Birch Fence"),
|
||||
texture = "naturalbiomes_adler_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_heath_birch_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_heath_birch_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -984,7 +985,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_birch_wood",
|
||||
{
|
||||
description = ("Birch Fence Rail"),
|
||||
description = S("Birch Fence Rail"),
|
||||
texture = "naturalbiomes_heath_birch_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_heath_birch_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -1048,7 +1049,7 @@ minetest.register_decoration({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflowernode", {
|
||||
description = "Heather Flower Node",
|
||||
description = S"Heather Flower Node",
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -1089,7 +1090,7 @@ minetest.register_node("naturalbiomes:heatherflowernode", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower2node", {
|
||||
description = "Heather Flower Node",
|
||||
description = S"Heather Flower Node",
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
visual_scale = 1,
|
||||
@ -1130,7 +1131,7 @@ minetest.register_node("naturalbiomes:heatherflower2node", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower3node", {
|
||||
description = "Heather Flower Node",
|
||||
description = S"Heather Flower Node",
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
visual_scale = 1,
|
||||
@ -1171,7 +1172,7 @@ minetest.register_node("naturalbiomes:heatherflower3node", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:heatherflower4node", {
|
||||
description = "Heather Flower Node",
|
||||
description = S"Heather Flower Node",
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
visual_scale = 1,
|
||||
|
12
hunger.lua
@ -27,4 +27,16 @@ if minetest.get_modpath("hunger_ng") ~= nil then
|
||||
satiates = 1.0,
|
||||
})
|
||||
|
||||
hunger_ng.add_hunger_data('naturalbiomes:blackberry', {
|
||||
satiates = 1.0,
|
||||
})
|
||||
|
||||
hunger_ng.add_hunger_data('naturalbiomes:wildrose', {
|
||||
satiates = 1.0,
|
||||
})
|
||||
|
||||
hunger_ng.add_hunger_data('naturalbiomes:hazelnut_cracked', {
|
||||
satiates = 2.0,
|
||||
})
|
||||
|
||||
end
|
||||
|
2
init.lua
@ -40,6 +40,8 @@ dofile(path .. "outback.lua") --
|
||||
dofile(path .. "mediterranean.lua") --
|
||||
dofile(path .. "crafting.lua") --
|
||||
dofile(path .. "heath.lua") --
|
||||
dofile(path .. "dye.lua") --
|
||||
dofile(path .. "bushland.lua") --
|
||||
dofile(path .. "leafdecay.lua") --
|
||||
dofile(path .. "hunger.lua") --
|
||||
|
||||
|
@ -20,13 +20,13 @@ default.register_leafdecay({
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:bamboo_trunk"},
|
||||
leaves = {"naturalbiomes:bamboo_leaves"},
|
||||
radius = 6
|
||||
radius = 4
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:banana_trunk"},
|
||||
leaves = {"naturalbiomes:banana_leaves", "naturalbiomes:banana", "naturalbiomes:banana_bunch"},
|
||||
radius = 6
|
||||
radius = 4
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
@ -38,13 +38,13 @@ default.register_leafdecay({
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:pine_trunk"},
|
||||
leaves = {"naturalbiomes:pine_leaves"},
|
||||
radius = 6
|
||||
radius = 8
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:med_bush_stem"},
|
||||
leaves = {"naturalbiomes:med_bush_leaves"},
|
||||
radius = 6
|
||||
radius = 16
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
@ -74,12 +74,12 @@ default.register_leafdecay({
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:acacia_trunk"},
|
||||
leaves = {"naturalbiomes:acacia_leaves"},
|
||||
radius = 6
|
||||
radius = 7
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:heath_willow_trunk"},
|
||||
leaves = {"naturalbiomes:heath_willow_leaves"},
|
||||
leaves = {"naturalbiomes:heath_willow_leaves2"},
|
||||
radius = 6
|
||||
})
|
||||
|
||||
@ -94,3 +94,21 @@ default.register_leafdecay({
|
||||
leaves = {"naturalbiomes:heath_birch_leaves"},
|
||||
radius = 6
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:bushland_hazelnut_stem"},
|
||||
leaves = {"naturalbiomes:bushland_hazelnut_leaves", "naturalbiomes:bushland_hazelnut_leaves2"},
|
||||
radius = 4
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:bushland_wildrose_stem"},
|
||||
leaves = {"naturalbiomes:bushland_wildrose_leaves2", "naturalbiomes:bushland_wildrose_leaves"},
|
||||
radius = 4
|
||||
})
|
||||
|
||||
default.register_leafdecay({
|
||||
trunks = {"naturalbiomes:bushland_blackberry_stem"},
|
||||
leaves = {"naturalbiomes:bushland_blackberry_leaves2", "naturalbiomes:bushland_blackberry_leaves"},
|
||||
radius = 4
|
||||
})
|
||||
|
280
locale/naturalbiomes.de.tr
Normal file
@ -0,0 +1,280 @@
|
||||
# textdomain: naturalbiomes
|
||||
|
||||
Alder Swamp dirt with Grass=Erlensumpfschlamm mit Gras
|
||||
Alder Swamp Dirt=Erlensumpfschlamm
|
||||
Alder Trunk=Erlenstamm
|
||||
Alder Wood=Erlenholz
|
||||
Alder Leaves=Erlenblätter
|
||||
Alder Sapling=Erlensetzling
|
||||
Alder Stair=Erlenholztreppe
|
||||
Alder Slab=Erlenholzplatte
|
||||
Alder Trunk Stair=Erlenstamm Treppe
|
||||
Alder Trunk Slab=Erlenstamm Platte
|
||||
Alder Wood Fence Gate=Erlenholz Zauntor
|
||||
Alder Fence=Erlenzaun
|
||||
Alder Fence Rail=Erlenholz Geländer
|
||||
Alderswamp reed=Erlensumpf Schilf
|
||||
Waterlily=Kleine Seerosen
|
||||
Alderswamp flower=Sumpfdotterblume
|
||||
Dirt with Alpine Grass=Dreck mit Alpinem Gras
|
||||
Alpine Rock=Alpiner Stein
|
||||
Silver Fir Trunk=Weißtannenstamm
|
||||
Silver Fir Wood=Weißtannenholz
|
||||
Silver Fir Leaves=Weißtannen Nadeln
|
||||
Silver Fir Sapling=Weißtannensetzling
|
||||
Silver Fir Stair=Weißtannentreppe
|
||||
Silver Fir Slab=Weißtannenplatte
|
||||
Silver Fir Trunk Stair=Weißtannen Stamm Treppe
|
||||
Silver Fir Trunk Slab=Weißtannen Stamm Platte
|
||||
Silver Fir Wood Fence Gate=Weißtannen Holzzauntor
|
||||
Silver Fir Fence=Weißtannenzaun
|
||||
Silver Fir Fence Rail=Weißtannengeländer
|
||||
Jack Pine Trunk=Banks Kiefer Stamm
|
||||
Jack Pine Wood=Banks Kiefer Holz
|
||||
Jack Pine Leaves=Banks Kiefer Nadeln
|
||||
Jack Pine Sapling=Banks Kiefer Setzling
|
||||
Jack Pine Stair=Banks Kiefer Holztreppe
|
||||
Jack Pine Slab=Banks Kiefer Holzplatte
|
||||
Jack Pine Trunk Stair=Banks Kiefer Stamm Treppe
|
||||
Jack Pine Trunk Slab=Banks Kiefer Stamm Platte
|
||||
Jack Pine Wood Fence Gate=Banks Kiefer Holzzauntor
|
||||
Jack Pine Fence=Banks Kiefer Holzzaun
|
||||
Jack Pine Fence Rail=Banks Kiefer Geländer
|
||||
Cowberry Bush Stem=Preiselbeerstamm
|
||||
Cowberry Bush Leaves=Preiselbeerblätter
|
||||
Cowberry Bush Sapling=Preiselbeer Setzling
|
||||
Cowberry=Preiselbeeren
|
||||
Alpine Mushroom=Alpiner Pilz
|
||||
Alpine Grass=Alpines Gras
|
||||
Alpine Dandelion Flower=Alpiner Löwenzahn
|
||||
Edelweiss Flower=Eidelweiss
|
||||
Bamboo Forest Litter=Bumbuswald Boden
|
||||
Bamboo Trunk=Bambusstamm
|
||||
Bamboo Wood=Bambusholz
|
||||
Bamboo Leaves=Bambusblätter
|
||||
Bamboo Sapling=Bambussetzling
|
||||
Bamboo Stair=Bambus Holztreppe
|
||||
Bamboo Slab=Bambus Holzplatte
|
||||
Bamboo Trunk Stair=Bambus Stammtreppe
|
||||
Bamboo Trunk Slab=Bambus Stammplatte
|
||||
Bamboo Wood Fence Gate=Bambus Holzzauntor
|
||||
Bamboo Fence=Bambuszaun
|
||||
Bamboo Fence Rail=Bambusgeländer
|
||||
Small Bamboo Grass=Kleiner Bambus
|
||||
Bamboo Forest Rock=Bambuswald Fels
|
||||
Babmooforest Gorund Grass=Bambuswald Bodenbewuchs
|
||||
Banana Trunk=Bananenstamm
|
||||
Banana Wood=Bananenholz
|
||||
Banana Leaves=Bananenwedel
|
||||
Banana Sapling=Bananensetzling
|
||||
Banana Stair=Bananenholz Treppe
|
||||
Banana Slab=Bananenholz Platte
|
||||
Banana Trunk Stair=Bananenstamm Streppe
|
||||
Banana Trunk Slab=Bananenstamm Platte
|
||||
Banana Wood Fence Gate=Bananen Holzzauntor
|
||||
Banana Fence=Bananenzaun
|
||||
Banana Fence Rail=Bananengeländer
|
||||
Reed Bundle Stair=Schilfbündeltreppe
|
||||
Reed Bundle Slab=Schilfbündelplatte
|
||||
Alpine Brick Stair=Alpine Ziegeltreppe
|
||||
Alpine Brick Slab=Alpine Ziegelplatte
|
||||
Bamboo Brick Stair=Bambuswald Ziegeltreppe
|
||||
Bamboo Brick Slab=Bambuswald Ziegelplatte
|
||||
Beach Brick Stair=Strandziegel Treppe
|
||||
Beach Brick Slab=Strandziegel Platte
|
||||
Med Brick Stair=Mediterrane Ziegeltreppe
|
||||
Med Brick Slab=Mediterrane Ziegelplatte
|
||||
Outback Brick Stair=Outback Ziegeltreppe
|
||||
Outback Brick Slab=Outback Ziegelplatte
|
||||
Alpine Brick Wall=Alpine Ziegelmauer
|
||||
Bambooforest Wall=Bambuswald Ziegelmauer
|
||||
Mediterranean Wall=Mediterrane Ziegelmauer
|
||||
Outback Wall=Outback Ziegelmauer
|
||||
Palmbeach Wall=Strand Ziegelmauer
|
||||
Reed Bundle=Schilfbündel
|
||||
Alpine Brick=Alpine Ziegel
|
||||
Bambooforest Brick=Bambuswald Ziegel
|
||||
Beach Brick=Strandziegel
|
||||
Meditteranean Brick=Mediterrane Ziegel
|
||||
Outback Brick=Outback Ziegel
|
||||
Heath sand with dirt=Heidesand mit Dreck
|
||||
Heath Grass=Heidegras
|
||||
Heather Flower=Heideblume
|
||||
Swamp Grass=Sumpfgras
|
||||
Willow Trunk=Weidenstamm
|
||||
Willow Wood=Weidenholz
|
||||
Willow Leaves=Weidenblätter
|
||||
Willow Sapling=Weidensetzling
|
||||
Willow Stair=Weidenholztreppe
|
||||
Willow Slab=Weidenholzplatte
|
||||
Willow Trunk Stair=Weidenstamm Treppe
|
||||
Willow Trunk Slab=Weidenstamm Platte
|
||||
Willow Wood Fence Gate=Weiden Holzzauntor
|
||||
Willow Fence=Weidenholzzaun
|
||||
Willow Fence Rail=Weidengeländer
|
||||
Juniper Trunk=Wacholder Stamm
|
||||
Juniper Wood=Wacholder Holz
|
||||
Juniper Leaves=Wacholder Nadeln
|
||||
Juniper Sapling=Wacholder Setzling
|
||||
Juniper Stair=Wacholder Treppe
|
||||
Juniper Slab=Wacholder Platte
|
||||
Juniper Trunk Stair=Wacholder Stammtreppe
|
||||
Juniper Trunk Slab=Wacholder Stammplatte
|
||||
Juniper Wood Fence Gate=Wacholder Holzzauntor
|
||||
Juniper Fence=Wacholderzaun
|
||||
Juniper Fence Rail= Wacholder Geländer
|
||||
Birch Trunk=Birkenstamm
|
||||
Birch Wood=Birkenholz
|
||||
Birch Leaves=Birkenblätter
|
||||
Birch Sapling=Birkensetzling
|
||||
Birch Stair=Birkenholz Treppe
|
||||
Birch Slab=Birkenholz Platte
|
||||
Birch Trunk Stair=Birkenstamm Treppe
|
||||
Birch Trunk Slab=Birkenstamm Platte
|
||||
Birch Wood Fence Gate=Birken Zauntor
|
||||
Birch Fence=Birkenzaun
|
||||
Birch Fence Rail=Birkengeländer
|
||||
Heather Flower Node=Heidekrautblock
|
||||
Mediterranean litter with grass=Mediterraner Boden mit Gras
|
||||
Mediterranean Rock=Mediterraner Fels
|
||||
Mediterranean Ruin=Mediterrane Ruine
|
||||
Mediterranean Ruin Column=Mediterrane Säule
|
||||
Olive Trunk=Olivenstamm
|
||||
Olive Wood=Olivenholz
|
||||
Olive Leaves=Olivenblätter
|
||||
Olive Sapling=Olivensetzling
|
||||
Olive Stair=Olivenholz Treppe
|
||||
Olive Slab=Olivenholz Platte
|
||||
Alder Trunk Stair=Olivenstamm Treppe
|
||||
Alder Trunk Slab=Olivenstamm Platte
|
||||
Olive Wood Fence Gate=Oliven Holzzauntor
|
||||
Olive Fence=Olivenzaun
|
||||
Olive Fence Rail=Olivengeländer
|
||||
Mediterranean Pine Trunk=Mediterraner Kiefernstamm
|
||||
Mediterranean Pine Wood=Mediterranes Kiefernholz
|
||||
Mediterranean Pine Leaves=Mediterrane Kiefernnadeln
|
||||
Mediterranean Pine Sapling=Mediterraner Kiefernsetzling
|
||||
Mediterranean Pine Stair=Mediterrane Kiefernholz Treppe
|
||||
Mediterranean Pine Slab=Mediterrane Kiefernholz Platte
|
||||
Mediterranean Pine Trunk Stair=Mediterrane Kiefernstamm Treppe
|
||||
Mediterranean Pine Trunk Slab=Mediterrane Kiefernstamm Platte
|
||||
Mediterranean Pine Wood Fence Gate=Mediterranes Kiefernholztor
|
||||
Mediterranean Pine Fence=Mediterraner Kiefernzaun
|
||||
Mediterranean Pine Fence Rail=Mediterranes Kieferngeländer
|
||||
Cypress Bush Stem=Zypressenstamm
|
||||
Cypress Bush Leaves=Zypressennadeln
|
||||
Cypress Bush Sapling=Zypressensetzling
|
||||
Mediterranean Flower=Mediterrane Blume
|
||||
Lavender=Lavendel
|
||||
Mediterranean Grass=Mediterranes Gras
|
||||
Fresh Olives=Frische Oliven
|
||||
Outback ground with grass=Outback Boden
|
||||
Outback Rock=Outback Fels
|
||||
Outback Ground Sand=Outback Bodensand
|
||||
Outback Eucalyptus Trunk=Eukalyptus Stamm
|
||||
Outback Eucalyptus Wood=Eukalyptus Holz
|
||||
Outback Eucalyptus Leaves=Eukalyptus Blätter
|
||||
Outback Eucalyptus Sapling=Eukalyptus Setzling
|
||||
Outback Eucalyptus Stair=Eukalyptus Holztreppe
|
||||
Outback Eucalyptus Slab=Eukalyptus Holzplatte
|
||||
Outback Eucalyptus Trunk Stair=Eukalyptus Stammtreppe
|
||||
Outback Eucalyptus Trunk Slab=Eukalyptus Stammplatte
|
||||
Outback Eucalyptus Wood Fence Gate=Eukalyptus Holzzauntor
|
||||
Outback Eucalyptus Fence=Eukalyptus Zaun
|
||||
Outback Eucalyptus Fence Rail=Eukalyptus Geländer
|
||||
Outback Bush Stem=Outback Buschstamm
|
||||
Outback Bush Leaves=Outback Buschblätter
|
||||
Outback Bush Sapling=Outback Buschsetzling
|
||||
Outback Grass=Outback Gras
|
||||
Outback Rock Formation=Outback Fels
|
||||
Beach Sand=Strandsand
|
||||
Beach Rock=Strandfels
|
||||
Coconut Palm Trunk=Kokospalmen Stamm
|
||||
Coconut Palm Wood=Kokospalmen Holz
|
||||
Coconut Palm Leaves=Kokospalmen Wedel
|
||||
Coconut Palm Sapling=Kokospalmen Setzling
|
||||
Coconut Palm Stair=Kokospalmen Holztreppe
|
||||
Coconut Palm Slab=Kokospalmen Holzplatte
|
||||
Coconut Palm Trunk Stair=Kokospalmen Stammtreppe
|
||||
Coconut Palm Trunk Slab=Kokospalmen Stammplatte
|
||||
Coconut Palm Wood Fence Gate=Kokospalmen Holzzauntor
|
||||
Coconut Palm Fence=Kokospalmenzaun
|
||||
Coconut Palm Fence Rail=Kokospalmengeländer
|
||||
Beach Bush Stem=Strandbuschstamm
|
||||
Beach Bush Leaves=Strandbuschblätter
|
||||
Beach Bush Sapling=Strandbuschsetzling
|
||||
Palmbeach Grass=Strandgras
|
||||
Banana Bunch=Bananenstaude
|
||||
Banana=Banane
|
||||
Coconut Slice=Kokosnusstück
|
||||
Coconut=Kokosnuss
|
||||
Wet Savanna dirt with Grass=Feuchtsavannenboden mit Gras
|
||||
Acacia Trunk=Akazienstamm
|
||||
Acacia Wood=Akazienholz
|
||||
Acacia Leaves=Akazienblätter
|
||||
Acacia Sapling=Akaziensetzling
|
||||
Acacia Stair=Akazien Holztreppe
|
||||
Acacia Slab=Akazien Holzplatte
|
||||
Acacia Trunk Stair=Akazien Stammtreppe
|
||||
Acacia Trunk Slab=Akazien Stammplatte
|
||||
Acacia Wood Fence Gate=Akazien Holzzauntor
|
||||
Acacia Fence=Akazienzaun
|
||||
Acacia Fence Rail=Akaziengeländer
|
||||
Savanna Grass=Savannengras
|
||||
Savanna Flowergrass=Savannen Blumengras
|
||||
Bushland Litter=Buschland Boden
|
||||
Bushland Grass=Buschland Gras
|
||||
Blackberry Bush Stem=Brombeerbusch Stamm
|
||||
Blackberry Bush Leaves=Brombeerblätter
|
||||
Blackberry Bush Sapling=Brombeerbusch Setzling
|
||||
Blackberry=Brombeere
|
||||
Wildrose Bush Stem=Wildrosenbusch Stamm
|
||||
Wildrose Bush Leaves=Wildrosenbusch Blätter
|
||||
Wildrose Bush Sapling=Wildrosenbusch Setzling
|
||||
Wildrose=Hagebutte
|
||||
Hazelnut Bush Stem=Haselnussbusch Stamm
|
||||
Hazelnut Bush Leaves=Haselnussbusch Blätter
|
||||
Hazelnut Bush Sapling=Haselnussbusch Setzling
|
||||
Hazelnut=Haselnuss
|
||||
Dead Bush Leaves=Verwelkte Buschblätter
|
||||
Cracked Hazelnut=Geknackte Haselnuss
|
||||
Hazelnut Woven Fence=Haselnuss Flechtzaun
|
||||
Wet Savanna Acacia Trapdoor=Akazien Falltür
|
||||
Wet Savanna Acacia Door=Akazientür
|
||||
Alder Trapdoor=Erlen Falltür
|
||||
Alder Door=Erlentür
|
||||
Alpine Underground Door=Alpine Untergrundtür
|
||||
Alpine Underground Trapdoor=Alpine Untergrundfalltür
|
||||
Alpine Trapdoor=Alm Falltür
|
||||
Alpine Door=Almtür
|
||||
Bamboo Trapdoor=Bambus Falltür
|
||||
Bamboo Door=Bambustür
|
||||
Banana Door=Bananentür
|
||||
Banana Trapdoor=Bananen Falltür
|
||||
Birch Trapdoor=Birken Falltür
|
||||
Birch Door=Birkentür
|
||||
Coconut Trapdoor=Kokospalmen Falltür
|
||||
Coconut Door=Kokospalmentür
|
||||
Juniper Trapdoor=Wacholder Falltür
|
||||
Juniper Door=Wacholder Tür
|
||||
Mediterranean Pine Trapdoor=Mediterrane Pinien Falltür
|
||||
Mediterranean Pine Door=Mediterrane Pinientür
|
||||
Olive Trapdoor=Oliven Falltür
|
||||
Olive Door=Oliventür
|
||||
Eucalyptus Trapdoor=Eukalyptus Falltür
|
||||
Eucalyptus Door=Eukalyptus Tür
|
||||
Willow Trapdoor=Weiden Falltür
|
||||
Willow Door=Weidentür
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:mediterran_litter", {
|
||||
description = ("Mediterranean litter with grass"),
|
||||
description = S("Mediterranean litter with grass"),
|
||||
tiles = {"naturalbiomes_mediterran_litter.png", "default_dirt.png",
|
||||
{name = "default_dirt.png^naturalbiomes_mediterran_litte_side.png",
|
||||
tileable_vertical = false}},
|
||||
@ -16,7 +17,7 @@ minetest.register_node("naturalbiomes:mediterran_litter", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:mediterran_rock", {
|
||||
description = ("Mediterranean Rock"),
|
||||
description = S("Mediterranean Rock"),
|
||||
tiles = {"naturalbiomes_mediterran_rock.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
legacy_mineral = true,
|
||||
@ -24,7 +25,7 @@ legacy_mineral = true,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:mediterran_ruin", {
|
||||
description = ("Mediterranean Ruin"),
|
||||
description = S("Mediterranean Ruin"),
|
||||
tiles = {"naturalbiomes_mediterran_ruins.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
legacy_mineral = true,
|
||||
@ -32,7 +33,7 @@ legacy_mineral = true,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:mediterran_ruin2", {
|
||||
description = ("Mediterranean Ruin Column"),
|
||||
description = S("Mediterranean Ruin Column"),
|
||||
tiles = {"naturalbiomes_mediterran_ruins2.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
legacy_mineral = true,
|
||||
@ -73,7 +74,7 @@ end
|
||||
|
||||
-- olive trunk
|
||||
minetest.register_node("naturalbiomes:olive_trunk", {
|
||||
description = ("Olive Trunk"),
|
||||
description = S("Olive Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_mediterran_olive_trunk_top.png",
|
||||
"naturalbiomes_mediterran_olive_trunk_top.png",
|
||||
@ -87,7 +88,7 @@ minetest.register_node("naturalbiomes:olive_trunk", {
|
||||
|
||||
-- olive wood
|
||||
minetest.register_node("naturalbiomes:olive_wood", {
|
||||
description = ("Olive Wood"),
|
||||
description = S("Olive Wood"),
|
||||
tiles = {"naturalbiomes_mediterran_olive_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -100,14 +101,14 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:olive_leaves", {
|
||||
description = ("Olive Leaves"),
|
||||
description = S("Olive Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_mediterran_olive_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_mediterran_olive_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -129,7 +130,7 @@ minetest.register_node("naturalbiomes:olive_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:olive_sapling", {
|
||||
description = ("Olive Sapling"),
|
||||
description = S("Olive Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_mediterran_olive_sapling.png"},
|
||||
inventory_image = "naturalbiomes_mediterran_olive_sapling.png",
|
||||
@ -169,8 +170,8 @@ minetest.register_node("naturalbiomes:olive_sapling", {
|
||||
"naturalbiomes:olive_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_mediterran_olive_wood.png"},
|
||||
("Olive Stair"),
|
||||
("Olive Slab"),
|
||||
S("Olive Stair"),
|
||||
S("Olive Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -179,15 +180,15 @@ minetest.register_node("naturalbiomes:olive_sapling", {
|
||||
"naturalbiomes:olive_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_mediterran_olive_trunk_top.png", "naturalbiomes_mediterran_olive_trunk_top.png", "naturalbiomes_mediterran_olive_trunk.png"},
|
||||
("Alder Trunk Stair"),
|
||||
("Alder Trunk Slab"),
|
||||
S("Alder Trunk Stair"),
|
||||
S("Alder Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_olive_wood",
|
||||
{
|
||||
description = ("Olive Wood Fence Gate"),
|
||||
description = S("Olive Wood Fence Gate"),
|
||||
texture = "naturalbiomes_mediterran_olive_wood.png",
|
||||
material = "naturalbiomes:olive_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -199,7 +200,7 @@ minetest.register_node("naturalbiomes:olive_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_olive_wood",
|
||||
{
|
||||
description = ("Olive Fence"),
|
||||
description = S("Olive Fence"),
|
||||
texture = "naturalbiomes_olive_fence_woode.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_mediterran_olive_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_mediterran_olive_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -212,7 +213,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_olive_wood",
|
||||
{
|
||||
description = ("Olive Fence Rail"),
|
||||
description = S("Olive Fence Rail"),
|
||||
texture = "naturalbiomes_olive_fence_woode.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_mediterran_olive_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -257,7 +258,7 @@ end
|
||||
|
||||
-- pine trunk
|
||||
minetest.register_node("naturalbiomes:pine_trunk", {
|
||||
description = ("Mediterranean Pine Trunk"),
|
||||
description = S("Mediterranean Pine Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_mediterran_pine_trunk_top.png",
|
||||
"naturalbiomes_mediterran_pine_trunk_top.png",
|
||||
@ -271,7 +272,7 @@ minetest.register_node("naturalbiomes:pine_trunk", {
|
||||
|
||||
-- pine wood
|
||||
minetest.register_node("naturalbiomes:pine_wood", {
|
||||
description = ("Mediterranean Pine Wood"),
|
||||
description = S("Mediterranean Pine Wood"),
|
||||
tiles = {"naturalbiomes_mediterran_pine_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -284,14 +285,14 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:pine_leaves", {
|
||||
description = ("Mediterranean Pine Leaves"),
|
||||
description = S("Mediterranean Pine Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_mediterran_pine_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_mediterran_pine_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -313,7 +314,7 @@ minetest.register_node("naturalbiomes:pine_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:pine_sapling", {
|
||||
description = ("Mediterranean Pine Sapling"),
|
||||
description = S("Mediterranean Pine Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_mediterran_pine_sapling.png"},
|
||||
inventory_image = "naturalbiomes_mediterran_pine_sapling.png",
|
||||
@ -352,8 +353,8 @@ minetest.register_node("naturalbiomes:pine_sapling", {
|
||||
"naturalbiomes:pine_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_mediterran_pine_wood.png"},
|
||||
("Mediterranean Pine Stair"),
|
||||
("Mediterranean Pine Slab"),
|
||||
S("Mediterranean Pine Stair"),
|
||||
S("Mediterranean Pine Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -361,16 +362,16 @@ minetest.register_node("naturalbiomes:pine_sapling", {
|
||||
"naturalbiomes_mediterran_pine_trunk",
|
||||
"naturalbiomes:pine_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_mediterran_pine_trunk_top.png", "naturalbiomes_mediterran_pine_trunk_top.png", "naturalbiomes_mediterran_pine_wood.png"},
|
||||
("Mediterranean Pine Trunk Stair"),
|
||||
("Mediterranean Pine Trunk Slab"),
|
||||
{"naturalbiomes_mediterran_pine_trunk_top.png", "naturalbiomes_mediterran_pine_trunk_top.png", "naturalbiomes_mediterran_pine_trunk.png"},
|
||||
S("Mediterranean Pine Trunk Stair"),
|
||||
S("Mediterranean Pine Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_pine_wood",
|
||||
{
|
||||
description = ("Mediterranean Pine Wood Fence Gate"),
|
||||
description = S("Mediterranean Pine Wood Fence Gate"),
|
||||
texture = "naturalbiomes_mediterran_pine_wood.png",
|
||||
material = "naturalbiomes:pine_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -382,7 +383,7 @@ minetest.register_node("naturalbiomes:pine_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_pine_wood",
|
||||
{
|
||||
description = ("Mediterranean Pine Fence"),
|
||||
description = S("Mediterranean Pine Fence"),
|
||||
texture = "naturalbiomes_medpine_fence_woode.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_mediterran_pine_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_mediterran_pine_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -395,7 +396,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_pine_wood",
|
||||
{
|
||||
description = ("Mediterranean Pine Fence Rail"),
|
||||
description = S("Mediterranean Pine Fence Rail"),
|
||||
texture = "naturalbiomes_medpine_fence_woode.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_mediterran_pine_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -474,7 +475,7 @@ offset = -0.004,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_bush_stem", {
|
||||
description = ("Cypress Bush Stem"),
|
||||
description = S("Cypress Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.41,
|
||||
tiles = {"naturalbiomes_mediterran_cypress_stem.png"},
|
||||
@ -491,15 +492,15 @@ minetest.register_node("naturalbiomes:med_bush_stem", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_bush_leaves", {
|
||||
description = ("Cypress Bush Leaves"),
|
||||
description = S("Cypress Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_mediterran_cypress_leavese.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:med_bush_sapling"}, rarity = 5},
|
||||
{items = {"naturalbiomes:med_bush_sapling"}, rarity = 25},
|
||||
{items = {"naturalbiomes:med_bush_leaves"}}
|
||||
}
|
||||
},
|
||||
@ -509,7 +510,7 @@ minetest.register_node("naturalbiomes:med_bush_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_bush_sapling", {
|
||||
description = ("Cypress Bush Sapling"),
|
||||
description = S("Cypress Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_mediterran_cypress_stem.png"},
|
||||
inventory_image = "naturalbiomes_mediterran_cypress_stem.png",
|
||||
@ -563,7 +564,7 @@ minetest.register_node("naturalbiomes:med_bush_sapling", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_flower1", {
|
||||
description = "Mediterranean Flower",
|
||||
description = S"Mediterranean Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -602,7 +603,7 @@ minetest.register_node("naturalbiomes:med_flower1", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_flower2", {
|
||||
description = "Mediterranean Flower",
|
||||
description = S"Mediterranean Flower",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -641,7 +642,7 @@ minetest.register_node("naturalbiomes:med_flower2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_flower3", {
|
||||
description = "Lavender",
|
||||
description = S"Lavender",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -680,7 +681,7 @@ minetest.register_node("naturalbiomes:med_flower3", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_grass1", {
|
||||
description = "Mediterranean Grass",
|
||||
description = S"Mediterranean Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -719,7 +720,7 @@ minetest.register_node("naturalbiomes:med_grass1", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:med_grass2", {
|
||||
description = "Mediterranean Grass",
|
||||
description = S"Mediterranean Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -806,7 +807,7 @@ offset = -0.004,
|
||||
|
||||
-- Olives
|
||||
minetest.register_node("naturalbiomes:olives", {
|
||||
description = ("Fresh Olives"),
|
||||
description = S("Fresh Olives"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes__fresholives.png"},
|
||||
inventory_image = "naturalbiomes__fresholives.png",
|
||||
@ -820,7 +821,7 @@ minetest.register_node("naturalbiomes:olives", {
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
|
||||
},
|
||||
drop = "naturalbiomes:olives",
|
||||
on_use = minetest.item_eat(6),
|
||||
|
2
mod.conf
@ -1,4 +1,4 @@
|
||||
name = naturalbiomes
|
||||
description = 7 New Biomes
|
||||
depends = default, stairs, doors
|
||||
depends = default, stairs, doors, xpanes
|
||||
optional_depends = hunger_ng, ethereal
|
55
outback.lua
@ -1,10 +1,11 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_litter", {
|
||||
description = ("Outback ground with grass"),
|
||||
description = S("Outback ground with grass"),
|
||||
tiles = {"naturalbiomes_outbacklitter.png", "naturalbiomes_outback_ground.png",
|
||||
{name = "naturalbiomes_outback_ground.png^naturalbiomes_outbacklitter_side.png",
|
||||
tileable_vertical = false}},
|
||||
@ -16,7 +17,7 @@ minetest.register_node("naturalbiomes:outback_litter", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_rock", {
|
||||
description = ("Outback Rock"),
|
||||
description = S("Outback Rock"),
|
||||
tiles = {"naturalbiomes_outback_rock.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
legacy_mineral = true,
|
||||
@ -24,7 +25,7 @@ legacy_mineral = true,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_ground", {
|
||||
description = ("Outback Ground Sand"),
|
||||
description = S("Outback Ground Sand"),
|
||||
tiles = {"naturalbiomes_outback_ground.png"},
|
||||
groups = {crumbly = 3, falling_node = 1, sand = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
@ -64,7 +65,7 @@ end
|
||||
|
||||
-- outback trunk
|
||||
minetest.register_node("naturalbiomes:outback_trunk", {
|
||||
description = ("Outback Eucalyptus Trunk"),
|
||||
description = S("Outback Eucalyptus Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_outbackeukalyptus_trunk_top.png",
|
||||
"naturalbiomes_outbackeukalyptus_trunk_top.png",
|
||||
@ -78,7 +79,7 @@ minetest.register_node("naturalbiomes:outback_trunk", {
|
||||
|
||||
-- outback wood
|
||||
minetest.register_node("naturalbiomes:outback_wood", {
|
||||
description = ("Outback Eucalyptus Wood"),
|
||||
description = S("Outback Eucalyptus Wood"),
|
||||
tiles = {"naturalbiomes_outback_eukalyptus_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -91,14 +92,14 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_leaves", {
|
||||
description = ("Outback Eucalyptus Leaves"),
|
||||
description = S("Outback Eucalyptus Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_outbackeukalyptus_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_outbackeukalyptus_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -120,7 +121,7 @@ minetest.register_node("naturalbiomes:outback_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_sapling", {
|
||||
description = ("Outback Eucalyptus Sapling"),
|
||||
description = S("Outback Eucalyptus Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_outbackeukaplyptus_sapling.png"},
|
||||
inventory_image = "naturalbiomes_outbackeukaplyptus_sapling.png",
|
||||
@ -160,8 +161,8 @@ minetest.register_node("naturalbiomes:outback_sapling", {
|
||||
"naturalbiomes:outback_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_outback_eukalyptus_wood.png"},
|
||||
("Outback Eucalyptus Stair"),
|
||||
("Outback Eucalyptus Slab"),
|
||||
S("Outback Eucalyptus Stair"),
|
||||
S("Outback Eucalyptus Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -170,15 +171,15 @@ minetest.register_node("naturalbiomes:outback_sapling", {
|
||||
"naturalbiomes:outback_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_outbackeukalyptus_trunk_top.png", "naturalbiomes_outbackeukalyptus_trunk_top.png", "naturalbiomes_outbackeucalyptus_trunk.png"},
|
||||
("Outback Eucalyptus Trunk Stair"),
|
||||
("Outback Eucalyptus Trunk Slab"),
|
||||
S("Outback Eucalyptus Trunk Stair"),
|
||||
S("Outback Eucalyptus Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_outback_wood",
|
||||
{
|
||||
description = ("Outback Eucalyptus Wood Fence Gate"),
|
||||
description = S("Outback Eucalyptus Wood Fence Gate"),
|
||||
texture = "naturalbiomes_outback_eukalyptus_wood.png",
|
||||
material = "naturalbiomes:outback_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -190,7 +191,7 @@ minetest.register_node("naturalbiomes:outback_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_outback_wood",
|
||||
{
|
||||
description = ("Outback Eucalyptus Fence"),
|
||||
description = S("Outback Eucalyptus Fence"),
|
||||
texture = "naturalbiomes_eukalyptus_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_outback_eukalyptus_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_outback_eukalyptus_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -203,7 +204,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_outback_wood",
|
||||
{
|
||||
description = ("Outback Eucalyptus Fence Rail"),
|
||||
description = S("Outback Eucalyptus Fence Rail"),
|
||||
texture = "naturalbiomes_eukalyptus_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_outback_eukalyptus_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -305,7 +306,7 @@ offset = -0.004,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_bush_stem", {
|
||||
description = ("Outback Bush Stem"),
|
||||
description = S("Outback Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.41,
|
||||
tiles = {"naturalbiomes_outback_bush_stem.png"},
|
||||
@ -322,15 +323,15 @@ minetest.register_node("naturalbiomes:outback_bush_stem", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_bush_leaves", {
|
||||
description = ("Outback Bush Leaves"),
|
||||
description = S("Outback Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_outbackbush_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:outback_bush_sapling"}, rarity = 5},
|
||||
{items = {"naturalbiomes:outback_bush_sapling"}, rarity = 50},
|
||||
{items = {"naturalbiomes:outback_bush_leaves"}}
|
||||
}
|
||||
},
|
||||
@ -340,7 +341,7 @@ minetest.register_node("naturalbiomes:outback_bush_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_bush_sapling", {
|
||||
description = ("Outback Bush Sapling"),
|
||||
description = S("Outback Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_outback_bush_stem.png"},
|
||||
inventory_image = "naturalbiomes_outback_bush_stem.png",
|
||||
@ -394,7 +395,7 @@ minetest.register_node("naturalbiomes:outback_bush_sapling", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_grass", {
|
||||
description = "Outback Grass",
|
||||
description = S"Outback Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -433,7 +434,7 @@ minetest.register_node("naturalbiomes:outback_grass", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_grass2", {
|
||||
description = "Outback Grass",
|
||||
description = S"Outback Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -472,7 +473,7 @@ minetest.register_node("naturalbiomes:outback_grass2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_grass3", {
|
||||
description = "Outback Grass",
|
||||
description = S"Outback Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -511,7 +512,7 @@ minetest.register_node("naturalbiomes:outback_grass3", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_grass4", {
|
||||
description = "Outback Grass",
|
||||
description = S"Outback Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -550,7 +551,7 @@ minetest.register_node("naturalbiomes:outback_grass4", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_grass5", {
|
||||
description = "Outback Grass",
|
||||
description = S"Outback Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
noise_params = {
|
||||
@ -596,7 +597,7 @@ minetest.register_node("naturalbiomes:outback_grass5", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_grass6", {
|
||||
description = "Outback Grass",
|
||||
description = S"Outback Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -616,7 +617,7 @@ minetest.register_node("naturalbiomes:outback_grass6", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:outback_rockformation1", {
|
||||
description = ("Outback Rock Formation"),
|
||||
description = S("Outback Rock Formation"),
|
||||
tiles = {"naturalbiomes_beach_rock.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
drop = "naturalbiomes:palmbeach_rock",
|
||||
|
@ -1,10 +1,11 @@
|
||||
local S = minetest.get_translator("naturalbiomes")
|
||||
|
||||
local modname = "naturalbiomes"
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
minetest.register_node("naturalbiomes:palmbeach_sand", {
|
||||
description = ("Beach Sand"),
|
||||
description = S("Beach Sand"),
|
||||
tiles = {"naturalbiomes_beach_sand.png"},
|
||||
groups = {crumbly = 3, sand = 1, falling_node = 1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
@ -28,7 +29,7 @@ minetest.register_biome({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:palmbeach_rock", {
|
||||
description = ("Beach Rock"),
|
||||
description = S("Beach Rock"),
|
||||
tiles = {"naturalbiomes_beach_rock.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
drop = "naturalbiomes:palmbeach_rock",
|
||||
@ -145,7 +146,7 @@ end
|
||||
|
||||
-- palm trunk
|
||||
minetest.register_node("naturalbiomes:palm_trunk", {
|
||||
description = ("Coconut Palm Trunk"),
|
||||
description = S("Coconut Palm Trunk"),
|
||||
tiles = {
|
||||
"naturalbiomes_savannapalm_trunk_top.png",
|
||||
"naturalbiomes_savannapalm_trunk_top.png",
|
||||
@ -159,7 +160,7 @@ minetest.register_node("naturalbiomes:palm_trunk", {
|
||||
|
||||
-- palm wood
|
||||
minetest.register_node("naturalbiomes:palm_wood", {
|
||||
description = ("Coconut Palm Wood"),
|
||||
description = S("Coconut Palm Wood"),
|
||||
tiles = {"naturalbiomes_savannapalm_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
@ -172,21 +173,21 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:palm_leaves", {
|
||||
description = ("Coconut Palm Leaves"),
|
||||
description = S("Coconut Palm Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 1,
|
||||
tiles = {"naturalbiomes_savannapalm_leaves.png"},
|
||||
special_tiles = {"naturalbiomes_savannapalm_leaves.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
-- player will get sapling with 1/50 chance
|
||||
items = {'naturalbiomes:palm_sapling'},
|
||||
rarity = 50,
|
||||
rarity = 35,
|
||||
},
|
||||
{
|
||||
-- player will get leaves only if he get no saplings,
|
||||
@ -201,7 +202,7 @@ minetest.register_node("naturalbiomes:palm_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:palm_sapling", {
|
||||
description = ("Coconut Palm Sapling"),
|
||||
description = S("Coconut Palm Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_savannapalm_sapling.png"},
|
||||
inventory_image = "naturalbiomes_savannapalm_sapling.png",
|
||||
@ -241,8 +242,8 @@ minetest.register_node("naturalbiomes:palm_sapling", {
|
||||
"naturalbiomes:palm_wood",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_savannapalm_wood.png"},
|
||||
("Coconut Palm Stair"),
|
||||
("Coconut Palm Slab"),
|
||||
S("Coconut Palm Stair"),
|
||||
S("Coconut Palm Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
@ -251,15 +252,15 @@ minetest.register_node("naturalbiomes:palm_sapling", {
|
||||
"naturalbiomes:palm_trunk",
|
||||
{choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
{"naturalbiomes_savannapalm_trunk_top.png", "naturalbiomes_savannapalm_trunk_top.png", "naturalbiomes_savannapalm_trunk.png"},
|
||||
("Coconut Palm Trunk Stair"),
|
||||
("Coconut Palm Trunk Slab"),
|
||||
S("Coconut Palm Trunk Stair"),
|
||||
S("Coconut Palm Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
doors.register_fencegate(
|
||||
"naturalbiomes:gate_palm_wood",
|
||||
{
|
||||
description = ("Coconut Palm Wood Fence Gate"),
|
||||
description = S("Coconut Palm Wood Fence Gate"),
|
||||
texture = "naturalbiomes_savannapalm_wood.png",
|
||||
material = "naturalbiomes:palm_wood",
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
@ -271,7 +272,7 @@ minetest.register_node("naturalbiomes:palm_sapling", {
|
||||
default.register_fence(
|
||||
"naturalbiomes:fence_palm_wood",
|
||||
{
|
||||
description = ("Coconut Palm Fence"),
|
||||
description = S("Coconut Palm Fence"),
|
||||
texture = "naturalbiomes_palm_fence_wood.png",
|
||||
inventory_image = "default_fence_overlay.png^naturalbiomes_savannapalm_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
wield_image = "default_fence_overlay.png^naturalbiomes_savannapalm_wood.png^default_fence_overlay.png^[makealpha:255,126,126",
|
||||
@ -284,7 +285,7 @@ default.register_fence(
|
||||
default.register_fence_rail(
|
||||
"naturalbiomes:fence_rail_palm_wood",
|
||||
{
|
||||
description = ("Coconut Palm Fence Rail"),
|
||||
description = S("Coconut Palm Fence Rail"),
|
||||
texture = "naturalbiomes_palm_fence_wood.png",
|
||||
inventory_image = "default_fence_rail_overlay.png^naturalbiomes_savannapalm_wood.png^" ..
|
||||
"default_fence_rail_overlay.png^[makealpha:255,126,126",
|
||||
@ -347,7 +348,7 @@ offset = -0.004,
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:beach_bush_stem", {
|
||||
description = ("Beach Bush Stem"),
|
||||
description = S("Beach Bush Stem"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.41,
|
||||
tiles = {"naturalbiomes_beach_bush_stem.png"},
|
||||
@ -364,15 +365,15 @@ minetest.register_node("naturalbiomes:beach_bush_stem", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:beach_bush_leaves", {
|
||||
description = ("Beach Bush Leaves"),
|
||||
description = S("Beach Bush Leaves"),
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"naturalbiomes_beach_bush_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, winleafdecay = 3},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"naturalbiomes:beach_bush_sapling"}, rarity = 5},
|
||||
{items = {"naturalbiomes:beach_bush_sapling"}, rarity = 3},
|
||||
{items = {"naturalbiomes:beach_bush_leaves"}}
|
||||
}
|
||||
},
|
||||
@ -382,7 +383,7 @@ minetest.register_node("naturalbiomes:beach_bush_leaves", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:beach_bush_sapling", {
|
||||
description = ("Beach Bush Sapling"),
|
||||
description = S("Beach Bush Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_beach_bush_stem.png"},
|
||||
inventory_image = "naturalbiomes_beach_bush_stem.png",
|
||||
@ -436,7 +437,7 @@ minetest.register_node("naturalbiomes:beach_bush_sapling", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:palmbeach_grass1", {
|
||||
description = "Palmbeach Grass",
|
||||
description = S"Palmbeach Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -475,7 +476,7 @@ minetest.register_node("naturalbiomes:palmbeach_grass1", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:palmbeach_grass2", {
|
||||
description = "Palmbeach Grass",
|
||||
description = S"Palmbeach Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -514,7 +515,7 @@ minetest.register_node("naturalbiomes:palmbeach_grass2", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:palmbeach_grass3", {
|
||||
description = "Palmbeach Grass",
|
||||
description = S"Palmbeach Grass",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
@ -535,7 +536,7 @@ minetest.register_node("naturalbiomes:palmbeach_grass3", {
|
||||
|
||||
-- Banana Bunch
|
||||
minetest.register_node("naturalbiomes:banana_bunch", {
|
||||
description = ("Banana Bunch"),
|
||||
description = S("Banana Bunch"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_banana_bunch.png"},
|
||||
inventory_image = "naturalbiomes_banana_bunch.png",
|
||||
@ -549,7 +550,7 @@ minetest.register_node("naturalbiomes:banana_bunch", {
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
|
||||
},
|
||||
drop = "naturalbiomes:banana_bunch",
|
||||
on_use = minetest.item_eat(6),
|
||||
@ -575,7 +576,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:banana", {
|
||||
description = ("Banana"),
|
||||
description = S("Banana"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"naturalbiomes_banana_single.png"},
|
||||
inventory_image = "naturalbiomes_banana_single.png",
|
||||
@ -602,7 +603,7 @@ minetest.register_node("naturalbiomes:banana", {
|
||||
})
|
||||
|
||||
minetest.register_node("naturalbiomes:coconut_slice", {
|
||||
description = ("Coconut Slice"),
|
||||
description = S("Coconut Slice"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"naturalbiomes_coconut_slice.png"},
|
||||
inventory_image = "naturalbiomes_coconut_slice.png",
|
||||
@ -630,7 +631,7 @@ minetest.register_node("naturalbiomes:coconut_slice", {
|
||||
|
||||
-- Coco
|
||||
minetest.register_node("naturalbiomes:coconut", {
|
||||
description = ("Coconut"),
|
||||
description = S("Coconut"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"naturalbiomes_coconut.png"},
|
||||
inventory_image = "naturalbiomes_coconut.png",
|
||||
@ -644,7 +645,7 @@ minetest.register_node("naturalbiomes:coconut", {
|
||||
},
|
||||
groups = {
|
||||
fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||
leafdecay = 1, leafdecay_drop = 1
|
||||
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
|
||||
},
|
||||
drop = "naturalbiomes:coconut",
|
||||
on_use = minetest.item_eat(6),
|
||||
|
BIN
schematics/naturalbiomes_acaciatree3.mts
Normal file
BIN
schematics/naturalbiomes_acaciatree4.mts
Normal file
BIN
schematics/naturalbiomes_bushland_blackberrybush.mts
Normal file
BIN
schematics/naturalbiomes_bushland_blackberrybush2.mts
Normal file
BIN
schematics/naturalbiomes_bushland_blackberrybush3.mts
Normal file
BIN
schematics/naturalbiomes_bushland_deadbush.mts
Normal file
BIN
schematics/naturalbiomes_bushland_deadbush2.mts
Normal file
BIN
schematics/naturalbiomes_bushland_deadbush3.mts
Normal file
BIN
schematics/naturalbiomes_bushland_hazelnutbush.mts
Normal file
BIN
schematics/naturalbiomes_bushland_hazelnutbush2.mts
Normal file
BIN
schematics/naturalbiomes_bushland_hazelnutbush3.mts
Normal file
BIN
schematics/naturalbiomes_bushland_wildrosebush.mts
Normal file
BIN
schematics/naturalbiomes_bushland_wildrosebush2.mts
Normal file
BIN
schematics/naturalbiomes_bushland_wildrosebush3.mts
Normal file
BIN
textures/naturalbiomes_acacia_door.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
textures/naturalbiomes_acacia_trapdoor.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
textures/naturalbiomes_acacia_trapdoor_side.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
textures/naturalbiomes_alder_door.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
textures/naturalbiomes_alder_trapdoor.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
textures/naturalbiomes_alder_trapdoor_side.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
BIN
textures/naturalbiomes_alpine1_door.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
textures/naturalbiomes_alpine1_trapdoor.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
textures/naturalbiomes_alpine1_trapdoor_side.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
textures/naturalbiomes_alpine2_door.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
textures/naturalbiomes_alpine2_trapdoor.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
textures/naturalbiomes_alpine2_trapdoor_side.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 6.9 KiB |
BIN
textures/naturalbiomes_bamboo_door.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
textures/naturalbiomes_bamboo_trapdoor.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
textures/naturalbiomes_bamboo_trapdoor_side.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.3 KiB |
BIN
textures/naturalbiomes_banana_door.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
textures/naturalbiomes_banana_trapdoor.png
Normal file
After Width: | Height: | Size: 6.0 KiB |