Add ferns. Fix muddy water bucket.
@ -20,6 +20,182 @@ minetest.register_biome({
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Ferns
|
||||
--
|
||||
|
||||
-- Big Tree Fern
|
||||
local n1 = { name = "air", prob = 0 }
|
||||
local n2 = { name = "australia:tree_fern_leaf_big_end" }
|
||||
local n3 = { name = "australia:tree_fern_leaf_big" }
|
||||
local n4 = { name = "australia:fern_trunk_big" }
|
||||
local n5 = { name = "australia:tree_fern_leaf_big_end", param2 = 1 }
|
||||
local n6 = { name = "australia:fern_trunk_big_top" }
|
||||
local n7 = { name = "australia:tree_fern_leaf_big_end", param2 = 3 }
|
||||
local n8 = { name = "australia:tree_fern_leaves_giant" }
|
||||
local n9 = { name = "australia:tree_fern_leaf_big_end", param2 = 2 }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 6,
|
||||
y_max = 20,
|
||||
fill_ratio = 0.003,
|
||||
biomes = {"far_north_queensland"},
|
||||
schematic = {
|
||||
size = {y = 7, x = 9, z = 9},
|
||||
data = {
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n2, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n5,
|
||||
n1, n1, n1, n6, n1, n1, n1, n7, n1, n3, n1, n3, n8, n3, n1, n3, n1,
|
||||
n1, n1, n3, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n9, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Giant Tree Fern
|
||||
local n1 = { name = "air", prob = 0 }
|
||||
local n2 = { name = "australia:tree_fern_leaf_big_end" }
|
||||
local n3 = { name = "australia:tree_fern_leaf_big" }
|
||||
local n4 = { name = "australia:fern_trunk_big" }
|
||||
local n5 = { name = "australia:tree_fern_leaf_big_end", param2 = 1 }
|
||||
local n6 = { name = "australia:fern_trunk_big_top" }
|
||||
local n7 = { name = "australia:tree_fern_leaf_big_end", param2 = 3 }
|
||||
local n8 = { name = "australia:tree_fern_leaves_giant" }
|
||||
local n9 = { name = "australia:tree_fern_leaf_big_end", param2 = 2 }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 7,
|
||||
y_max = 18,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"far_north_queensland"},
|
||||
schematic = {
|
||||
size = {y = 13, x = 9, z = 9},
|
||||
data = {
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n2, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n5, n1, n1,
|
||||
n1, n6, n1, n1, n1, n7, n1, n3, n1, n3, n8, n3, n1, n3, n1, n1, n1,
|
||||
n3, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n9, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Small Tree Fern
|
||||
local f1 = { name = "australia:fern_trunk" }
|
||||
local f2 = { name = "australia:tree_fern_leaves_02" }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 6,
|
||||
y_max = 21,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"far_north_queensland"},
|
||||
schematic = {
|
||||
size = {y = 4, x = 1, z = 1},
|
||||
data = {
|
||||
f1, f1, f1, f2,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Decorations
|
||||
--
|
||||
@ -77,6 +253,13 @@ register_dry_grass_decoration(0.03, 0.03, 4)
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Ferns
|
||||
--
|
||||
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Trees
|
||||
--
|
||||
|
@ -20,6 +20,131 @@ minetest.register_biome({
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Ferns
|
||||
--
|
||||
|
||||
-- Big Tree Fern
|
||||
local n1 = { name = "air", prob = 0 }
|
||||
local n2 = { name = "australia:tree_fern_leaf_big_end" }
|
||||
local n3 = { name = "australia:tree_fern_leaf_big" }
|
||||
local n4 = { name = "australia:fern_trunk_big" }
|
||||
local n5 = { name = "australia:tree_fern_leaf_big_end", param2 = 1 }
|
||||
local n6 = { name = "australia:fern_trunk_big_top" }
|
||||
local n7 = { name = "australia:tree_fern_leaf_big_end", param2 = 3 }
|
||||
local n8 = { name = "australia:tree_fern_leaves_giant" }
|
||||
local n9 = { name = "australia:tree_fern_leaf_big_end", param2 = 2 }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 36,
|
||||
y_max = 70,
|
||||
fill_ratio = 0.002,
|
||||
biomes = {"great_dividing_range"},
|
||||
schematic = {
|
||||
size = {y = 7, x = 9, z = 9},
|
||||
data = {
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n2, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n5,
|
||||
n1, n1, n1, n6, n1, n1, n1, n7, n1, n3, n1, n3, n8, n3, n1, n3, n1,
|
||||
n1, n1, n3, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n9, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Small Tree Fern
|
||||
local f1 = { name = "australia:fern_trunk" }
|
||||
local f2 = { name = "australia:tree_fern_leaves_02" }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 36,
|
||||
y_max = 80,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {"great_dividing_range"},
|
||||
schematic = {
|
||||
size = {y = 4, x = 1, z = 1},
|
||||
data = {
|
||||
f1, f1, f1, f2,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
})
|
||||
|
||||
-- Ruddy Ground Fern
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.005,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 80,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"great_dividing_range"},
|
||||
y_min = 36,
|
||||
y_max = 160,
|
||||
decoration = "australia:fern",
|
||||
})
|
||||
|
||||
-- Sickle Fern
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.007,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 81,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"great_dividing_range"},
|
||||
y_min = 36,
|
||||
y_max = 140,
|
||||
decoration = "australia:small_fern",
|
||||
})
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Decorations
|
||||
--
|
||||
|
@ -19,6 +19,130 @@ minetest.register_biome({
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
-- Ferns
|
||||
--
|
||||
|
||||
-- Big Tree Fern
|
||||
local n1 = { name = "air", prob = 0 }
|
||||
local n2 = { name = "australia:tree_fern_leaf_big_end" }
|
||||
local n3 = { name = "australia:tree_fern_leaf_big" }
|
||||
local n4 = { name = "australia:fern_trunk_big" }
|
||||
local n5 = { name = "australia:tree_fern_leaf_big_end", param2 = 1 }
|
||||
local n6 = { name = "australia:fern_trunk_big_top" }
|
||||
local n7 = { name = "australia:tree_fern_leaf_big_end", param2 = 3 }
|
||||
local n8 = { name = "australia:tree_fern_leaves_giant" }
|
||||
local n9 = { name = "australia:tree_fern_leaf_big_end", param2 = 2 }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 36,
|
||||
y_max = 70,
|
||||
fill_ratio = 0.006,
|
||||
biomes = {"tasmania"},
|
||||
schematic = {
|
||||
size = {y = 7, x = 9, z = 9},
|
||||
data = {
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n2, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n5,
|
||||
n1, n1, n1, n6, n1, n1, n1, n7, n1, n3, n1, n3, n8, n3, n1, n3, n1,
|
||||
n1, n1, n3, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n9, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Small Tree Fern
|
||||
local f1 = { name = "australia:fern_trunk" }
|
||||
local f2 = { name = "australia:tree_fern_leaves_02" }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 36,
|
||||
y_max = 80,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"tasmania"},
|
||||
schematic = {
|
||||
size = {y = 4, x = 1, z = 1},
|
||||
data = {
|
||||
f1, f1, f1, f2,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
})
|
||||
|
||||
-- Ruddy Ground Fern
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.006,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 80,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"tasmania"},
|
||||
y_min = 36,
|
||||
y_max = 160,
|
||||
decoration = "australia:fern",
|
||||
})
|
||||
|
||||
-- Sickle Fern
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.008,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 81,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"tasmania"},
|
||||
y_min = 36,
|
||||
y_max = 140,
|
||||
decoration = "australia:small_fern",
|
||||
})
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Decorations
|
||||
|
@ -20,6 +20,131 @@ minetest.register_biome({
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Ferns
|
||||
--
|
||||
|
||||
-- Big Tree Fern
|
||||
local n1 = { name = "air", prob = 0 }
|
||||
local n2 = { name = "australia:tree_fern_leaf_big_end" }
|
||||
local n3 = { name = "australia:tree_fern_leaf_big" }
|
||||
local n4 = { name = "australia:fern_trunk_big" }
|
||||
local n5 = { name = "australia:tree_fern_leaf_big_end", param2 = 1 }
|
||||
local n6 = { name = "australia:fern_trunk_big_top" }
|
||||
local n7 = { name = "australia:tree_fern_leaf_big_end", param2 = 3 }
|
||||
local n8 = { name = "australia:tree_fern_leaves_giant" }
|
||||
local n9 = { name = "australia:tree_fern_leaf_big_end", param2 = 2 }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 36,
|
||||
y_max = 70,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {"victorian_forests"},
|
||||
schematic = {
|
||||
size = {y = 7, x = 9, z = 9},
|
||||
data = {
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n2, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n4, n1, n1, n1, n1, n1, n1, n1, n1, n4, n1, n1, n1, n1, n5,
|
||||
n1, n1, n1, n6, n1, n1, n1, n7, n1, n3, n1, n3, n8, n3, n1, n3, n1,
|
||||
n1, n1, n3, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n3, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n9, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1, n1,
|
||||
n1, n1, n1, n1, n1, n1,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Small Tree Fern
|
||||
local f1 = { name = "australia:fern_trunk" }
|
||||
local f2 = { name = "australia:tree_fern_leaves_02" }
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
sidelen = 80,
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
y_min = 36,
|
||||
y_max = 80,
|
||||
fill_ratio = 0.008,
|
||||
biomes = {"victorian_forests"},
|
||||
schematic = {
|
||||
size = {y = 4, x = 1, z = 1},
|
||||
data = {
|
||||
f1, f1, f1, f2,
|
||||
},
|
||||
yslice_prob = {},
|
||||
},
|
||||
})
|
||||
|
||||
-- Ruddy Ground Fern
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.005,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 80,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"victorian_forests"},
|
||||
y_min = 36,
|
||||
y_max = 160,
|
||||
decoration = "australia:fern",
|
||||
})
|
||||
|
||||
-- Sickle Fern
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 0.007,
|
||||
spread = {x = 200, y = 200, z = 200},
|
||||
seed = 81,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"victorian_forests"},
|
||||
y_min = 36,
|
||||
y_max = 140,
|
||||
decoration = "australia:small_fern",
|
||||
})
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Decorations
|
||||
--
|
||||
|
59
crafting.lua
@ -16,6 +16,36 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
-- Fences
|
||||
for i in ipairs(aus.treelist) do
|
||||
local treename = aus.treelist[i][1]
|
||||
minetest.register_craft({
|
||||
output = "australia:fence_"..treename.."_wood 4",
|
||||
recipe = {
|
||||
{"australia:"..treename.."_wood", "group:stick", "australia:"..treename.."_wood"},
|
||||
{"australia:"..treename.."_wood", "group:stick", "australia:"..treename.."_wood"},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "australia:fiddlehead 3",
|
||||
recipe = {"australia:fern_01"},
|
||||
replacements = {
|
||||
{"australia:fern_01", "australia:ferntuber"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "australia:fiddlehead 3",
|
||||
recipe = {"australia:tree_fern_leaves"},
|
||||
replacements = {
|
||||
{"australia:tree_fern_leaves", "australia:sapling_tree_fern"}
|
||||
},
|
||||
})
|
||||
|
||||
-- Wood planks
|
||||
for i in ipairs(aus.treelist) do
|
||||
local treename = aus.treelist[i][1]
|
||||
@ -33,6 +63,12 @@ end
|
||||
-- Cooking recipes
|
||||
--
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "australia:bluestone",
|
||||
recipe = "australia:bluestone_cobble",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "australia:red_stone",
|
||||
@ -41,21 +77,17 @@ minetest.register_craft({
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "australia:bluestone",
|
||||
recipe = "australia:bluestone_cobble",
|
||||
output = "australia:ferntuber_roasted",
|
||||
recipe = "australia:ferntuber",
|
||||
cooktime = 3,
|
||||
})
|
||||
|
||||
-- Fences
|
||||
for i in ipairs(aus.treelist) do
|
||||
local treename = aus.treelist[i][1]
|
||||
minetest.register_craft({
|
||||
output = "australia:fence_"..treename.."_wood 4",
|
||||
recipe = {
|
||||
{"australia:"..treename.."_wood", "group:stick", "australia:"..treename.."_wood"},
|
||||
{"australia:"..treename.."_wood", "group:stick", "australia:"..treename.."_wood"},
|
||||
}
|
||||
})
|
||||
end
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "australia:fiddlehead_roasted",
|
||||
recipe = "australia:fiddlehead",
|
||||
cooktime = 1,
|
||||
})
|
||||
|
||||
|
||||
|
||||
@ -63,4 +95,3 @@ end
|
||||
-- Fuels
|
||||
--
|
||||
|
||||
|
||||
|
@ -1,13 +1,41 @@
|
||||
-- mods/australia/craftitems.lua
|
||||
|
||||
-- Fiddlehead
|
||||
minetest.register_craftitem("australia:fiddlehead", {
|
||||
description = "Fiddlehead",
|
||||
inventory_image = "australia_fiddlehead.png",
|
||||
on_use = minetest.item_eat(-1), -- slightly poisonous when raw
|
||||
})
|
||||
|
||||
minetest.register_craftitem("australia:fiddlehead_roasted", {
|
||||
description = "Roasted Fiddlehead",
|
||||
inventory_image = "australia_fiddlehead_roasted.png",
|
||||
on_use = minetest.item_eat(1), -- edible when cooked
|
||||
})
|
||||
|
||||
-- Fern tuber
|
||||
minetest.register_craftitem("australia:ferntuber", {
|
||||
description = "Fern Tuber",
|
||||
inventory_image = "australia_ferntuber.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("australia:ferntuber_roasted", {
|
||||
description = "Roasted Fern Tuber",
|
||||
inventory_image = "australia_ferntuber_roasted.png",
|
||||
on_use = minetest.item_eat(3),
|
||||
})
|
||||
|
||||
-- Bucket muddy_water
|
||||
bucket.register_liquid(
|
||||
"australia:muddy_water_source",
|
||||
"australia:muddy_water_flow",
|
||||
"australia:bucket_muddy_water",
|
||||
"australia_bucket_muddy_water.png",
|
||||
"Muddy Water Bucket"
|
||||
"australia:muddy_river_water_source",
|
||||
"australia:muddy_river_water_flowing",
|
||||
"australia:bucket_muddy_river_water",
|
||||
"aus_bucket_muddy_water.png",
|
||||
"Muddy Water Bucket",
|
||||
{water_bucket = 1}
|
||||
)
|
||||
|
||||
-- Stairs and slabs
|
||||
for i in ipairs(aus.treelist) do
|
||||
local treename = aus.treelist[i][1]
|
||||
local treedesc = aus.treelist[i][2]
|
||||
|
@ -1,4 +1,3 @@
|
||||
default
|
||||
bucket
|
||||
stairs
|
||||
walls
|
311
nodes.lua
@ -275,6 +275,317 @@ for i in ipairs(aus.treelist) do
|
||||
end
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Ferns
|
||||
--
|
||||
|
||||
-- Fern
|
||||
minetest.register_node("australia:fern", {
|
||||
description = "Hypolepis rugosula: Ruddy Ground Fern",
|
||||
inventory_image = "aus_fern.png",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 2,
|
||||
paramtype = "light",
|
||||
tiles = {"aus_fern_mid.png"},
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,attached_node=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
drop = "australia:fern",
|
||||
})
|
||||
|
||||
-- Small Fern
|
||||
minetest.register_node("australia:small_fern", {
|
||||
description = "Pellaea falcata: Sickle Fern",
|
||||
inventory_image = "aus_fern.png",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1,
|
||||
paramtype = "light",
|
||||
tiles = {"aus_fern.png"},
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,attached_node=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
drop = "australia:small_fern",
|
||||
})
|
||||
|
||||
-- Tree fern leaves
|
||||
minetest.register_node("australia:tree_fern_leaves", {
|
||||
description = "Dicksonia Antarctica: Tree Fern Crown",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 2,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
tiles = {"aus_fern_tree.png"},
|
||||
inventory_image = "aus_fern_tree_inv.png",
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=2,attached_node=1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
items = {"autralia:sapling_tree_fern"},
|
||||
rarity = 20,
|
||||
},
|
||||
{
|
||||
items = {"australia:tree_fern_leaves"},
|
||||
}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
})
|
||||
minetest.register_node("australia:tree_fern_leaves_02", {
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 2,
|
||||
paramtype = "light",
|
||||
tiles = {"aus_fern_big.png"},
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=2,attached_node=1,not_in_creative_inventory=1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
items = {"australia:sapling_tree_fern"},
|
||||
rarity = 20,
|
||||
},
|
||||
{
|
||||
items = {"australia:tree_fern_leaves"},
|
||||
}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
})
|
||||
|
||||
-- Fern trunk
|
||||
minetest.register_node("australia:fern_trunk", {
|
||||
description = "Dicksonia Antarctica: Tree Fern Trunk",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
"aus_fern_trunk_top.png",
|
||||
"aus_fern_trunk_top.png",
|
||||
"aus_fern_trunk.png"
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
||||
},
|
||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
after_destruct = function(pos,oldnode)
|
||||
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||
if node.name == "australia:fern_trunk" then
|
||||
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||
minetest.add_item(pos,"australia:fern_trunk")
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
-- Giant tree fern leaves
|
||||
minetest.register_node("australia:tree_fern_leaves_giant", {
|
||||
description = "Dicksonia Antarctica: Tree Fern Crown",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = math.sqrt(8),
|
||||
wield_scale = {x=0.175, y=0.175, z=0.175},
|
||||
paramtype = "light",
|
||||
tiles = {"aus_fern_tree_giant.png"},
|
||||
inventory_image = "aus_fern_tree.png",
|
||||
walkable = false,
|
||||
groups = {
|
||||
snappy=3,
|
||||
flammable=2,
|
||||
attached_node=1,
|
||||
not_in_creative_inventory=1
|
||||
},
|
||||
drop = {
|
||||
max_items = 2,
|
||||
items = {
|
||||
{
|
||||
-- occasionally, drop a second sapling instead of leaves
|
||||
-- (extra saplings can also be obtained by replanting and
|
||||
-- reharvesting leaves)
|
||||
items = {"australia:sapling_giant_tree_fern"},
|
||||
rarity = 10,
|
||||
},
|
||||
{
|
||||
items = {"australia:sapling_giant_tree_fern"},
|
||||
},
|
||||
{
|
||||
items = {"australia:tree_fern_leaves_giant"},
|
||||
}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
})
|
||||
|
||||
-- Giant tree fern leaf part
|
||||
minetest.register_node("australia:tree_fern_leaf_big", {
|
||||
description = "Dicksonia Antarctica: Giant Tree Fern Leaves",
|
||||
drawtype = "raillike",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
"aus_tree_fern_leaf_big.png",
|
||||
},
|
||||
walkable = false,
|
||||
groups = {
|
||||
snappy=3,
|
||||
flammable=2,
|
||||
attached_node=1,
|
||||
not_in_creative_inventory=1
|
||||
},
|
||||
drop = "",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
-- Giant tree fern leaf end
|
||||
minetest.register_node("australia:tree_fern_leaf_big_end", {
|
||||
description = "Dicksonia Antarctica: Giant Tree Fern Leaf End",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
tiles = { "aus_tree_fern_leaf_big_end.png" },
|
||||
walkable = false,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, -1/2, 1/2, 1/2, 33/64, 1/2},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, -1/2, 1/2, 1/2, 33/64, 1/2},
|
||||
},
|
||||
groups = {
|
||||
snappy=3,
|
||||
flammable=2,
|
||||
attached_node=1,
|
||||
not_in_creative_inventory=1
|
||||
},
|
||||
drop = "",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
-- Giant tree fern trunk top
|
||||
minetest.register_node("australia:fern_trunk_big_top", {
|
||||
description = "Dicksonia Antarctica: Giant Tree Fern Trunk",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
"aus_fern_trunk_big_top.png^aus_tree_fern_leaf_big_cross.png",
|
||||
"aus_fern_trunk_big_top.png^aus_tree_fern_leaf_big_cross.png",
|
||||
"aus_fern_trunk_big.png"
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-1/2, 33/64, -1/2, 1/2, 33/64, 1/2},
|
||||
{-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
||||
},
|
||||
groups = {
|
||||
tree=1,
|
||||
choppy=2,
|
||||
oddly_breakable_by_hand=2,
|
||||
flammable=3,
|
||||
wood=1,
|
||||
not_in_creative_inventory=1,
|
||||
leafdecay=3 -- to support vines
|
||||
},
|
||||
drop = "australia:fern_trunk_big",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Giant tree fern trunk
|
||||
minetest.register_node("australia:fern_trunk_big", {
|
||||
description = "Dicksonia Antarctica: Giant Tree Fern Trunk",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
"aus_fern_trunk_big_top.png",
|
||||
"aus_fern_trunk_big_top.png",
|
||||
"aus_fern_trunk_big.png"
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
||||
},
|
||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
after_destruct = function(pos,oldnode)
|
||||
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||
if node.name == "australia:fern_trunk_big" or node.name == "australia:fern_trunk_big_top" then
|
||||
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||
minetest.add_item(pos,"australia:fern_trunk_big")
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
-- Tree fern sapling
|
||||
minetest.register_node("australia:sapling_tree_fern", {
|
||||
description = "Dicksonia Antarctica: Tree Fern Sapling",
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
tiles = {"aus_sapling_tree_fern.png"},
|
||||
inventory_image = "aus_sapling_tree_fern.png",
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=2,flora=1,attached_node=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
})
|
||||
|
||||
-- Giant tree fern sapling
|
||||
minetest.register_node("australia:sapling_giant_tree_fern", {
|
||||
description = "Dicksonia Antarctica: Giant Tree Fern Sapling",
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
tiles = {"aus_sapling_tree_fern_giant.png"},
|
||||
inventory_image = "aus_sapling_tree_fern_giant.png",
|
||||
walkable = false,
|
||||
groups = {snappy=3,flammable=2,flora=1,attached_node=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Ores
|
||||
--
|
||||
|
BIN
textures/aus_bucket_muddy_water.png
Normal file
After Width: | Height: | Size: 253 B |
BIN
textures/aus_fern.png
Normal file
After Width: | Height: | Size: 362 B |
BIN
textures/aus_fern_big.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
textures/aus_fern_mid.png
Normal file
After Width: | Height: | Size: 699 B |
BIN
textures/aus_fern_tree.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
textures/aus_fern_tree_giant.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
textures/aus_fern_tree_inv.png
Normal file
After Width: | Height: | Size: 391 B |
BIN
textures/aus_fern_trunk.png
Normal file
After Width: | Height: | Size: 765 B |
BIN
textures/aus_fern_trunk_big.png
Normal file
After Width: | Height: | Size: 684 B |
BIN
textures/aus_fern_trunk_big_top.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
textures/aus_fern_trunk_top.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
textures/aus_ferntuber.png
Normal file
After Width: | Height: | Size: 438 B |
BIN
textures/aus_ferntuber_roasted.png
Normal file
After Width: | Height: | Size: 428 B |
BIN
textures/aus_fiddlehead.png
Normal file
After Width: | Height: | Size: 327 B |
BIN
textures/aus_fiddlehead_roasted.png
Normal file
After Width: | Height: | Size: 521 B |
BIN
textures/aus_sapling_tree_fern.png
Normal file
After Width: | Height: | Size: 168 B |
BIN
textures/aus_sapling_tree_fern_giant.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
textures/aus_tree_fern_leaf_big.png
Normal file
After Width: | Height: | Size: 560 B |
BIN
textures/aus_tree_fern_leaf_big_cross.png
Normal file
After Width: | Height: | Size: 724 B |
BIN
textures/aus_tree_fern_leaf_big_end.png
Normal file
After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 163 B |