Initial upload.

master
vlapsley 2016-04-11 13:17:20 +10:00
parent 8f697f0d3a
commit e929cbe799
288 changed files with 6343 additions and 0 deletions

109
biome_arnhem_land.lua Normal file
View File

@ -0,0 +1,109 @@
-- mods/australia/biome_arnhem_land.lua
minetest.register_biome({
name = "arnhem_land",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 4,
y_max = 35,
heat_point = 60,
humidity_point = 80,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"arnhem_land"},
y_min = 4,
y_max = 35,
decoration = "default:grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
--
-- Trees
--
-- Darwin Woollybutt
aus.schematics.darwin_woollybutt_tree = {}
local max_r = 4
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:darwin_woollybutt_tree"
local leaves = "australia:darwin_woollybutt_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.darwin_woollybutt_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 8,
y_max = 35,
fill_ratio = (max_r-r+1)/10000,
biomes = {"arnhem_land"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Oak
aus.schematics.river_oak_small_tree = {}
local max_r = 4
local ht = 6
local fruit = nil
local limbs = false
local tree = "australia:river_oak_tree"
local leaves = "australia:river_oak_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_oak_small_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"arnhem_land"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

91
biome_australian_alps.lua Normal file
View File

@ -0,0 +1,91 @@
-- mods/australia/biome_australian_alps.lua
minetest.register_biome({
name = "australian_alps",
node_dust = "default:snow",
node_top = "default:snowblock",
depth_top = 2,
node_filler = "default:dirt_with_snow",
depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 150,
y_max = 31000,
heat_point = 10,
humidity_point = 50,
})
--
-- Logs
--
-- Snow Gum Log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:snowblock"},
sidelen = 16,
noise_params = {
offset = 0.0018,
scale = 0.0011,
spread = {x = 250, y = 250, z = 250},
seed = 34,
octaves = 3,
persist = 0.66
},
biomes = {"australian_alps"},
y_min = 150,
y_max = 170,
schematic = {
size = {x = 3, y = 3, z = 1},
data = {
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "australia:snow_gum_tree", param2 = 12, prob = 191},
{name = "australia:snow_gum_tree", param2 = 12},
{name = "australia:snow_gum_tree", param2 = 12, prob = 127},
{name = "air", prob = 0},
{name = "flowers:mushroom_brown", prob = 63},
{name = "air", prob = 0},
},
},
flags = "place_center_x",
rotation = "random",
})
--
-- Trees
--
-- Snow Gum
aus.schematics.snow_gum_tree = {}
local max_r = 4
local ht = 4
local fruit = nil
local limbs = nil
local tree = "australia:snow_gum_tree"
local leaves = "australia:snow_gum_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.snow_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:snowblock"},
y_min = 150,
y_max = 180,
fill_ratio = (max_r-r+1)/2500,
biomes = {"australian_alps"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

232
biome_central_australia.lua Normal file
View File

@ -0,0 +1,232 @@
-- mods/australia/biome_central_australia.lua
minetest.register_biome({
name = "central_australia",
--node_dust = "",
node_top = "australia:red_dirt",
depth_top = 1,
node_filler = "australia:red_stone",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 80,
humidity_point = 25,
})
--
-- Decorations
--
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_dirt"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"central_australia"},
y_min = 36,
y_max = 190,
decoration = "default:dry_grass_"..length,
})
end
-- Dry grasses
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
-- Mitchell Grass
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_dirt"},
sidelen = 80,
fill_ratio = 0.05,
biomes = {"central_australia"},
y_min = 37,
y_max = 180,
decoration = "australia:mitchell_grass",
})
-- Spinifex
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_dirt"},
sidelen = 80,
fill_ratio = 0.05,
biomes = {"central_australia"},
y_min = 37,
y_max = 170,
decoration = "australia:spinifex",
})
--
-- Trees
--
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"central_australia"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Desert Oak
aus.schematics.desert_oak_tree = {}
local max_r = 8
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:desert_oak_tree"
local leaves = "australia:desert_oak_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.desert_oak_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/15000,
biomes = {"central_australia"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Desert Quandong
aus.schematics.quandong_tree = {}
local max_r = 4
local ht = 4
local fruit = "australia:quandong"
local limbs = false
local tree = "australia:quandong_tree"
local leaves = "australia:quandong_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.quandong_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 36,
y_max = 130,
fill_ratio = (max_r-r+1)/15000,
biomes = {"central_australia"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Wirewood
aus.schematics.wirewood_tree = {}
local max_r = 4
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:wirewood_tree"
local leaves = "australia:wirewood_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.wirewood_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"central_australia"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"central_australia"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Sugar Gum
aus.schematics.sugar_gum_tree = {}
local max_r = 11
local ht = 10
local fruit = nil
local limbs = nil
local tree = "australia:sugar_gum_tree"
local leaves = "australia:sugar_gum_leaves"
for r = 9,max_r do
local schem = aus.generate_tree_schematic(8, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.sugar_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"central_australia"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

466
biome_eastern_coasts.lua Normal file
View File

@ -0,0 +1,466 @@
-- mods/australia/biome_eastern_coasts.lua
minetest.register_biome({
name = "eastern_coasts",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 4,
y_max = 35,
heat_point = 35,
humidity_point = 60,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"eastern_coasts"},
y_min = 4,
y_max = 35,
decoration = "default:grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Waratah
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.005,
biomes = {"eastern_coasts"},
y_min = 6,
y_max = 35,
schematic = {
size = { x = 2, y = 3, z = 2},
data = {
{ name = "ignore", param1 = 0, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "ignore", param1 = 0, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "ignore", param1 = 0, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "ignore", param1 = 0, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
{ name = "australia:waratah", param1 = 255, param2 = 0 },
},
},
flags = "force_placement",
})
--
-- Trees
--
-- Black Wattle
aus.schematics.black_wattle_tree = {}
local max_r = 6
local ht = 8
local fruit = nil
local limbs = false
local tree = "australia:black_wattle_tree"
local leaves = "australia:black_wattle_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.black_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Australian Cherry
aus.schematics.cherry_tree = {}
local max_r = 3
local fruit = "australia:cherry"
local tree = "australia:cherry_tree"
local leaves = "australia:cherry_leaves"
for r = 2,max_r do
local schem = aus.generate_conifer_schematic(3, 2, tree, leaves, fruit)
push(aus.schematics.cherry_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coast Banksia (big)
aus.schematics.coast_banksia_big_tree = {}
local max_r = 6
local ht = 7
local fruit = nil
local limbs = false
local tree = "australia:coast_banksia_tree"
local leaves = "australia:coast_banksia_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coast_banksia_big_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coast Banksia (small)
aus.schematics.coast_banksia_small_tree = {}
local max_r = 4
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:coast_banksia_tree"
local leaves = "australia:coast_banksia_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coast_banksia_small_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 6,
y_max = 10,
fill_ratio = (max_r-r+1)/12000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/20000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Illawarra Flame Tree
aus.schematics.illawarra_flame_tree = {}
local max_r = 6
local ht = 5
local fruit = nil
local limbs = false
local tree = "australia:illawarra_flame_tree"
local leaves = "australia:illawarra_flame_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.illawarra_flame_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Lemon Myrtle
aus.schematics.lemon_myrtle_tree = {}
local max_r = 3
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:lemon_myrtle_tree"
local leaves = "australia:lemon_myrtle_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.lemon_myrtle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Lilly Pilly
aus.schematics.lilly_pilly_tree = {}
local max_r = 5
local ht = 8
local fruit = "australia:lilly_pilly_berries"
local limbs = false
local tree = "australia:lilly_pilly_tree"
local leaves = "australia:lilly_pilly_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.lilly_pilly_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Macadamia Tree
aus.schematics.macadamia_tree = {}
local max_r = 6
local ht = 6
local fruit = "australia:macadamia"
local limbs = nil
local tree = "australia:macadamia_tree"
local leaves = "australia:macadamia_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.macadamia_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 8,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Moreton Bay Fig
aus.schematics.moreton_bay_fig_tree = {}
local max_r = 13
local ht = 12
local fruit = "australia:moreton_bay_fig"
local limbs = nil
local tree = "australia:moreton_bay_fig_tree"
local leaves = "australia:moreton_bay_fig_leaves"
for r = 11,max_r do
local schem = aus.generate_giant_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.moreton_bay_fig_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 8,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Paperbark Tree
aus.schematics.paperbark_tree = {}
local max_r = 5
local ht = 8
local fruit = nil
local limbs = nil
local tree = "australia:paperbark_tree"
local leaves = "australia:paperbark_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.paperbark_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Oak
aus.schematics.river_oak_big_tree = {}
local max_r = 5
local ht = 9
local fruit = nil
local limbs = false
local tree = "australia:river_oak_tree"
local leaves = "australia:river_oak_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_oak_big_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 25,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 25,
y_max = 35,
fill_ratio = (max_r-r+1)/20000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Scribbly Gum
aus.schematics.scribbly_gum_tree = {}
local max_r = 5
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:scribbly_gum_tree"
local leaves = "australia:scribbly_gum_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.scribbly_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Tea Tree
aus.schematics.tea_tree_tree = {}
local max_r = 3
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:tea_tree_tree"
local leaves = "australia:tea_tree_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.tea_tree_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"eastern_coasts"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

View File

@ -0,0 +1,255 @@
-- mods/australia/biome_far_north_queensland.lua
minetest.register_biome({
name = "far_north_queensland",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 4,
y_max = 35,
heat_point = 75,
humidity_point = 90,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"far_north_queensland"},
y_min = 5,
y_max = 35,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"far_north_queensland"},
y_min = 22,
y_max = 35,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
--
-- Trees
--
-- Daintree Stringybark
aus.schematics.daintree_stringybark_tree = {}
local max_r = 7
local ht = 10
local fruit = nil
local limbs = nil
local tree = "australia:daintree_stringybark_tree"
local leaves = "australia:daintree_stringybark_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(9, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.daintree_stringybark_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 25,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"far_north_queensland"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Darwin Woollybutt
aus.schematics.darwin_woollybutt_tree = {}
local max_r = 4
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:darwin_woollybutt_tree"
local leaves = "australia:darwin_woollybutt_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.darwin_woollybutt_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 25,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"far_north_queensland"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Australian Fan Palm
aus.schematics.fan_palm_tree = {}
local max_ht = 9
local r = 3
local tree = "australia:fan_palm_tree"
local leaves = "australia:fan_palm_leaves"
for h = 9,max_ht do
local schem = aus.generate_fanpalm_tree_schematic(max_ht, r, tree, leaves)
push(aus.schematics.fan_palm_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
fill_ratio = (max_ht-r+1)/300,
biomes = {"far_north_queensland"},
y_min = 5,
y_max = 20,
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Lemon Eucalyptus
aus.schematics.lemon_eucalyptus_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:lemon_eucalyptus_tree"
local leaves = "australia:lemon_eucalyptus_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(8, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.lemon_eucalyptus_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 20,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"far_north_queensland"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Lilly Pilly
aus.schematics.lilly_pilly_tree = {}
local max_r = 5
local ht = 8
local fruit = "australia:lilly_pilly_berries"
local limbs = false
local tree = "australia:lilly_pilly_tree"
local leaves = "australia:lilly_pilly_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.lilly_pilly_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 20,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"far_north_queensland"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Merbau
aus.schematics.merbau_tree = {}
local max_ht = 12
local ht = 8
local r = 8
local tree = "australia:merbau_tree"
local leaves = "australia:merbau_leaves"
for h = 8,max_ht do
local schem = aus.generate_rainforest_tree_schematic(max_ht, r, tree, leaves)
push(aus.schematics.merbau_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
fill_ratio = (max_ht-r+1)/6000,
biomes = {"far_north_queensland"},
y_min = 6,
y_max = 25,
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Oak
aus.schematics.river_oak_big_tree = {}
local max_r = 5
local ht = 9
local fruit = nil
local limbs = false
local tree = "australia:river_oak_tree"
local leaves = "australia:river_oak_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_oak_big_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 25,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"far_north_queensland"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

271
biome_flinders_lofty.lua Normal file
View File

@ -0,0 +1,271 @@
-- mods/australia/biome_flinders_lofty.lua
minetest.register_biome({
name = "flinders_lofty",
--node_dust = "",
node_top = "default:dirt_with_dry_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 50,
humidity_point = 50,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"flinders_lofty"},
y_min = 36,
y_max = 200,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"flinders_lofty"},
y_min = 36,
y_max = 200,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
--
-- Logs
--
-- River Red Gum Log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = 0.0018,
scale = 0.0011,
spread = {x = 250, y = 250, z = 250},
seed = 33,
octaves = 3,
persist = 0.66
},
biomes = {"flinders_lofty"},
y_min = 36,
y_max = 170,
schematic = {
size = {x = 3, y = 3, z = 1},
data = {
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 191},
{name = "australia:river_red_gum_tree", param2 = 12},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 127},
{name = "air", prob = 0},
{name = "flowers:mushroom_brown", prob = 63},
{name = "air", prob = 0},
},
},
flags = "place_center_x",
rotation = "random",
})
--
-- Trees
--
-- Black Wattle
aus.schematics.black_wattle_tree = {}
local max_r = 6
local ht = 8
local fruit = nil
local limbs = false
local tree = "australia:black_wattle_tree"
local leaves = "australia:black_wattle_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.black_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 170,
fill_ratio = (max_r-r+1)/15000,
biomes = {"flinders_lofty"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Australian Cherry
aus.schematics.cherry_tree = {}
local max_r = 3
local fruit = "australia:cherry"
local tree = "australia:cherry_tree"
local leaves = "australia:cherry_leaves"
for r = 2,max_r do
local schem = aus.generate_conifer_schematic(3, 2, tree, leaves, fruit)
push(aus.schematics.cherry_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 120,
fill_ratio = (max_r-r+1)/15000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:dirt_with_dry_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/15000,
biomes = {"flinders_lofty"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Golden Wattle
aus.schematics.golden_wattle_tree = {}
local max_r = 3
local ht = 3
local fruit = nil
local limbs = false
local tree = "australia:golden_wattle_tree"
local leaves = "australia:golden_wattle_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.golden_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 170,
fill_ratio = (max_r-r+1)/12000,
biomes = {"flinders_lofty"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"flinders_lofty"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Sugar Gum
aus.schematics.sugar_gum_tree = {}
local max_r = 11
local ht = 10
local fruit = nil
local limbs = nil
local tree = "australia:sugar_gum_tree"
local leaves = "australia:sugar_gum_leaves"
for r = 9,max_r do
local schem = aus.generate_tree_schematic(8, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.sugar_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/10000,
biomes = {"flinders_lofty"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

View File

@ -0,0 +1,97 @@
-- mods/australia/biome_goldfields_esperence.lua
minetest.register_biome({
name = "goldfields_esperence",
--node_dust = "",
node_top = "default:desert_sand",
depth_top = 2,
node_filler = "default:sandstone",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "default:dirt_with_dry_grass",
y_min = 4,
y_max = 35,
heat_point = 60,
humidity_point = 20,
})
--
-- Decorations
--
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:desert_sand"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"goldfields_esperence"},
y_min = 5,
y_max = 35,
decoration = "default:dry_grass_"..length,
})
end
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
-- Spinifex
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:desert_sand"},
sidelen = 80,
fill_ratio = 0.05,
biomes = {"goldfields_esperence"},
y_min = 6,
y_max = 35,
decoration = "australia:spinifex",
})
--
-- Trees
--
-- Desert Quandong
aus.schematics.quandong_tree = {}
local max_r = 4
local ht = 4
local fruit = "australia:quandong"
local limbs = false
local tree = "australia:quandong_tree"
local leaves = "australia:quandong_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.quandong_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:desert_sand"},
y_min = 6,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"goldfields_esperence"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

View File

@ -0,0 +1,20 @@
-- mods/australia/biome_great_australian_bight.lua
minetest.register_biome({
name = "great_australian_bight",
--node_dust = "",
node_top = "default:sandstone",
depth_top = 1,
node_filler = "default:sandstone",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -64,
y_max = 3,
heat_point = 40,
humidity_point = 50,
})

View File

@ -0,0 +1,113 @@
-- mods/australia/biome_great_barrier_reef.lua
minetest.register_biome({
name = "great_barrier_reef",
--node_dust = "",
node_top = "default:sand",
depth_top = 1,
node_filler = "default:sand",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -64,
y_max = 3,
heat_point = 75,
humidity_point = 75,
})
--
-- Decorations
--
-- Staghorn Coral
local function register_staghorn_coral_decoration(color)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:sand"},
sidelen = 80,
fill_ratio = 0.01,
biomes = {"great_barrier_reef"},
y_min = -12,
y_max = -3,
decoration = "australia:staghorn_coral_"..color,
flags = "force_placement",
})
end
register_staghorn_coral_decoration("yellow")
register_staghorn_coral_decoration("purple")
register_staghorn_coral_decoration("pink")
register_staghorn_coral_decoration("blue")
--
-- noairblocks
--
-- Code modified from Duane Robertson's (github duane-r) valleys_c mod.
-- Original code modified from Perttu Ahola's <celeron55@gmail.com>
-- "noairblocks" mod and released as LGPL 2.1, as the original.
local water_nodes = {"default:water_source", "default:water_flowing", "default:river_water_source", "default:river_water_flowing"}
local aus_nodes = {"australia:water_source", "australia:water_flowing", "australia:river_water_source", "australia:river_water_flowing"}
for _, name in pairs(water_nodes) do
local water = table.copy(minetest.registered_nodes[name])
local new_name = string.gsub(name, 'default', 'australia')
local new_source = string.gsub(water.liquid_alternative_source, 'default', 'australia')
local new_flowing = string.gsub(water.liquid_alternative_flowing, 'default', 'australia')
water.alpha = 0
water.liquid_alternative_source = new_source
water.liquid_alternative_flowing = new_flowing
water.groups.not_in_creative_inventory = 1
minetest.register_node(new_name, water)
end
local check_pos = {
{x=-1, y=0, z=0},
{x=1, y=0, z=0},
{x=0, y=0, z=-1},
{x=0, y=0, z=1},
{x=0, y=1, z=0},
}
minetest.register_abm({
nodenames = {"group:sea"},
neighbors = {"group:water"},
interval = 10,
chance = 1,
action = function(pos)
for _,offset in pairs(check_pos) do
local check = vector.add(pos, offset)
local check_above = vector.add(check, {x=0,y=1,z=0})
if offset == {0,-1,0} or minetest.get_node(check_above).name ~= "air" then
local name = minetest.get_node(check).name
for node_num=1,#water_nodes do
if name == water_nodes[node_num] then
minetest.add_node(check, {name = aus_nodes[node_num]})
end
end
end
end
end,
})
minetest.register_abm({
nodenames = aus_nodes,
neighbors = {"air"},
interval = 20,
chance = 1,
action = function(pos)
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name == "air" then
minetest.remove_node(pos)
end
end,
})

View File

@ -0,0 +1,337 @@
-- mods/australia/biome_great_dividing_range.lua
minetest.register_biome({
name = "great_dividing_range",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 25,
humidity_point = 65,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"great_dividing_range"},
y_min = 36,
y_max = 31000,
decoration = "default:grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
--
-- Logs
--
-- River Red Gum
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0.0018,
scale = 0.0011,
spread = {x = 250, y = 250, z = 250},
seed = 33,
octaves = 3,
persist = 0.66
},
biomes = {"great_dividing_range"},
y_min = 36,
y_max = 170,
schematic = {
size = {x = 3, y = 3, z = 1},
data = {
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 191},
{name = "australia:river_red_gum_tree", param2 = 12},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 127},
{name = "air", prob = 0},
{name = "flowers:mushroom_brown", prob = 63},
{name = "air", prob = 0},
},
},
flags = "place_center_x",
rotation = "random",
})
--
-- Moss
--
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.06,
biomes = {"great_dividing_range"},
y_min = 36,
y_max = 31000,
decoration = "australia:moss",
})
--
-- Trees
--
-- Black Wattle
aus.schematics.black_wattle_tree = {}
local max_r = 6
local ht = 8
local fruit = nil
local limbs = false
local tree = "australia:black_wattle_tree"
local leaves = "australia:black_wattle_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.black_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Blue Gum
aus.schematics.blue_gum_tree = {}
local max_r = 7
local ht = 12
local fruit = nil
local limbs = nil
local tree = "australia:blue_gum_tree"
local leaves = "australia:blue_gum_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(10, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.blue_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 180,
fill_ratio = (max_r-r+1)/8000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Australian Cherry
aus.schematics.cherry_tree = {}
local max_r = 3
local fruit = "australia:cherry"
local tree = "australia:cherry_tree"
local leaves = "australia:cherry_leaves"
for r = 2,max_r do
local schem = aus.generate_conifer_schematic(3, 2, tree, leaves, fruit)
push(aus.schematics.cherry_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Golden Wattle
aus.schematics.golden_wattle_tree = {}
local max_r = 3
local ht = 3
local fruit = nil
local limbs = false
local tree = "australia:golden_wattle_tree"
local leaves = "australia:golden_wattle_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.golden_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/10000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Lilly Pilly
aus.schematics.lilly_pilly_tree = {}
local max_r = 5
local ht = 8
local fruit = "australia:lilly_pilly_berries"
local limbs = false
local tree = "australia:lilly_pilly_tree"
local leaves = "australia:lilly_pilly_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.lilly_pilly_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Red Bottlebrush
aus.schematics.red_bottlebrush_tree = {}
local max_r = 3
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:red_bottlebrush_tree"
local leaves = "australia:red_bottlebrush_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.red_bottlebrush_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/15000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Southern Sassafras
aus.schematics.southern_sassafras_tree = {}
local max_r = 5
local fruit = nil
local tree = "australia:southern_sassafras_tree"
local leaves = "australia:southern_sassafras_leaves"
for r = 4,max_r do
local schem = aus.generate_conifer_schematic(6, 4, tree, leaves, fruit)
push(aus.schematics.southern_sassafras_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 180,
fill_ratio = (max_r-r+1)/15000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Tea Tree
aus.schematics.tea_tree_tree = {}
local max_r = 3
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:tea_tree_tree"
local leaves = "australia:tea_tree_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.tea_tree_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 170,
fill_ratio = (max_r-r+1)/12000,
biomes = {"great_dividing_range"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

View File

@ -0,0 +1,172 @@
-- mods/australia/biome_gulf_of_carpentaria.lua
minetest.register_biome({
name = "gulf_of_carpentaria",
--node_dust = "",
node_top = "default:dirt_with_dry_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 2,
node_stone = "default:sandstone",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 4,
y_max = 35,
heat_point = 75,
humidity_point = 55,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"gulf_of_carpentaria"},
y_min = 4,
y_max = 9,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"gulf_of_carpentaria"},
y_min = 7,
y_max = 35,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
-- Mitchell Grass
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 80,
fill_ratio = 0.05,
biomes = {"gulf_of_carpentaria"},
y_min = 12,
y_max = 35,
decoration = "australia:mitchell_grass",
})
--
-- Trees
--
-- Cloncurry Box
aus.schematics.cloncurry_box_tree = {}
local max_r = 6
local ht = 4
local fruit = nil
local limbs = nil
local tree = "australia:cloncurry_box_tree"
local leaves = "australia:cloncurry_box_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.cloncurry_box_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 6,
y_max = 35,
fill_ratio = (max_r-r+1)/10000,
biomes = {"gulf_of_carpentaria"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Darwin Woollybutt
aus.schematics.darwin_woollybutt_tree = {}
local max_r = 4
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:darwin_woollybutt_tree"
local leaves = "australia:darwin_woollybutt_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.darwin_woollybutt_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 8,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"gulf_of_carpentaria"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Oak
aus.schematics.river_oak_small_tree = {}
local max_r = 4
local ht = 6
local fruit = nil
local limbs = false
local tree = "australia:river_oak_tree"
local leaves = "australia:river_oak_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_oak_small_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"gulf_of_carpentaria"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

74
biome_indian_ocean.lua Normal file
View File

@ -0,0 +1,74 @@
-- mods/australia/biome_indian_ocean.lua
minetest.register_biome({
name = "indian_ocean",
--node_dust = "",
node_top = "default:sand",
depth_top = 1,
node_filler = "default:sandstone",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -64,
y_max = 3,
heat_point = 60,
humidity_point = 50,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:sand"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"indian_ocean"},
y_min = 3,
y_max = 3,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:sand"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"indian_ocean"},
y_min = 3,
y_max = 3,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)

View File

@ -0,0 +1,266 @@
-- mods/australia/biome_jarrah_karri_forests.lua
minetest.register_biome({
name = "jarrah_karri_forests",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
node_stone = "default:sandstone",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 4,
y_max = 35,
heat_point = 20,
humidity_point = 50,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"jarrah_karri_forests"},
y_min = 5,
y_max = 31000,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"jarrah_karri_forests"},
y_min = 5,
y_max = 31000,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
-- Couch Honeypot
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.02,
biomes = {"jarrah_karri_forests"},
decoration = "australia:couch_honeypot",
})
--
-- Trees
--
-- Bull Banksia
aus.schematics.bull_banksia_tree = {}
local max_r = 4
local ht = 5
local fruit = nil
local limbs = false
local tree = "australia:bull_banksia_tree"
local leaves = "australia:bull_banksia_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.bull_banksia_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 8,
y_max = 35,
fill_ratio = (max_r-r+1)/12000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:dirt_with_grass"},
y_min = 8,
y_max = 35,
fill_ratio = (max_r-r+1)/20000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Jarrah
aus.schematics.jarrah_tree = {}
local max_r = 10
local ht = 12
local fruit = nil
local limbs = nil
local tree = "australia:jarrah_tree"
local leaves = "australia:jarrah_leaves"
for r = 8,max_r do
local schem = aus.generate_giant_tree_schematic(8, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.jarrah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/8000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Karri
aus.schematics.karri_tree = {}
local max_r = 12
local ht = 10
local fruit = nil
local limbs = nil
local tree = "australia:karri_tree"
local leaves = "australia:karri_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(20, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.karri_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/10000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Marri
aus.schematics.marri_tree = {}
local max_r = 10
local ht = 12
local fruit = nil
local limbs = nil
local tree = "australia:marri_tree"
local leaves = "australia:marri_leaves"
for r = 8,max_r do
local schem = aus.generate_big_tree_schematic(8, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.marri_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/10000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Rottnest Island Pine
aus.schematics.rottnest_island_pine_tree = {}
local max_r = 3
local fruit = nil
local tree = "australia:rottnest_island_pine_tree"
local leaves = "australia:rottnest_island_pine_leaves"
for r = 2,max_r do
local schem = aus.generate_conifer_schematic(3, 2, tree, leaves, fruit)
push(aus.schematics.rottnest_island_pine_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 6,
y_max = 20,
fill_ratio = (max_r-r+1)/10000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Swamp Paperbark
aus.schematics.swamp_paperbark_tree = {}
local max_r = 5
local ht = 9
local fruit = nil
local limbs = nil
local tree = "australia:swamp_paperbark_tree"
local leaves = "australia:swamp_paperbark_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.swamp_paperbark_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 7,
y_max = 25,
fill_ratio = (max_r-r+1)/15000,
biomes = {"jarrah_karri_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

158
biome_kimberley.lua Normal file
View File

@ -0,0 +1,158 @@
-- mods/australia/biome_kimberley.lua
minetest.register_biome({
name = "kimberley",
--node_dust = "",
node_top = "australia:red_dirt",
depth_top = 2,
node_filler = "default:sandstone",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 4,
y_max = 35,
heat_point = 80,
humidity_point = 75,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_dirt"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"kimberley"},
y_min = 4,
y_max = 30,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_dirt"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"kimberley"},
y_min = 7,
y_max = 35,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
--
-- Trees
--
-- Boab Tree
aus.schematics.boab_tree = {}
local max_r = 4
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:boab_tree"
local leaves = "australia:boab_leaves"
for r = 3,max_r do
local schem = aus.generate_giant_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.boab_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 9,
y_max = 35,
fill_ratio = (max_r-r+1)/10000,
biomes = {"kimberley"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Darwin Woollybutt
aus.schematics.darwin_woollybutt_tree = {}
local max_r = 4
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:darwin_woollybutt_tree"
local leaves = "australia:darwin_woollybutt_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.darwin_woollybutt_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 12,
y_max = 35,
fill_ratio = (max_r-r+1)/15000,
biomes = {"kimberley"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Swamp Bloodwood
aus.schematics.swamp_bloodwood_tree = {}
local max_r = 4
local ht = 6
local fruit = nil
local limbs = nil
local tree = "australia:swamp_bloodwood_tree"
local leaves = "australia:swamp_bloodwood_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.swamp_bloodwood_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_dirt"},
y_min = 7,
y_max = 35,
fill_ratio = (max_r-r+1)/10000,
biomes = {"kimberley"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

148
biome_mangroves.lua Normal file
View File

@ -0,0 +1,148 @@
-- mods/australia/biome_mangroves.lua
minetest.register_biome({
name = "mangroves",
--node_dust = "",
node_top = "australia:mangrove_mud",
depth_top = 2,
node_filler = "default:dirt",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = -2,
y_max = 3,
heat_point = 80,
humidity_point = 80,
})
-- Mangrove Fern
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:mangrove_mud",
"default:dirt",
"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.2,
biomes = {"mangroves"},
y_min = 2,
y_max = 3,
decoration = "australia:mangrove_fern",
})
-- Mangrove Lily
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:mangrove_mud",
"default:dirt",
"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.1,
biomes = {"mangroves"},
y_min = 2,
y_max = 3,
decoration = "australia:mangrove_lily",
})
-- Mangrove Palm
minetest.register_decoration({
deco_type = "schematic",
place_on = {"australia:mangrove_mud",
"default:dirt"},
sidelen = 80,
fill_ratio = 0.3,
biomes = {"mangroves"},
y_min = 1,
y_max = 3,
schematic = {
size = { x = 1, y = 4, z = 1},
data = {
{ name = "ignore", param1 = 0, param2 = 0 },
{ name = "australia:mangrove_palm_trunk", param1 = 255, param2 = 0 },
{ name = "australia:mangrove_palm_leaf_bot", param1 = 255, param2 = 0 },
{ name = "australia:mangrove_palm_leaf_top", param1 = 255, param2 = 0 },
},
},
flags = "force_placement",
})
--
-- Trees
--
-- Grey Mangrove
aus.schematics.grey_mangrove_tree = {}
local max_ht = 6
local tree = "australia:grey_mangrove_tree"
local leaves = "australia:grey_mangrove_leaves"
for h = 4,max_ht do
local schem = aus.generate_mangrove_tree_schematic(3, tree, leaves)
push(aus.schematics.grey_mangrove_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:mangrove_mud", "default:dirt", "default:sand"},
fill_ratio = 0.003,
biomes = {"mangroves"},
y_min = -2,
y_max = 3,
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Mangrove Apple
aus.schematics.mangrove_apple_tree = {}
local max_r = 5
local ht = 4
local fruit = "australia:mangrove_apple"
local limbs = false
local tree = "australia:mangrove_apple_tree"
local leaves = "australia:mangrove_apple_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.mangrove_apple_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:mangrove_mud", "default:dirt", "default:sand"},
y_min = 0,
y_max = 3,
fill_ratio = (max_r-r+1)/5000,
biomes = {"mangroves"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Stilted Mangrove
aus.schematics.stilted_mangrove_tree = {}
local max_ht = 6
local tree = "australia:stilted_mangrove_tree"
local leaves = "australia:stilted_mangrove_leaves"
for h = 4,max_ht do
local schem = aus.generate_mangrove_tree_schematic(3, tree, leaves)
push(aus.schematics.stilted_mangrove_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:mangrove_mud", "default:dirt", "default:sand"},
fill_ratio = 0.003,
biomes = {"mangroves"},
y_min = -2,
y_max = 3,
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

209
biome_mulga_lands.lua Normal file
View File

@ -0,0 +1,209 @@
-- mods/australia/biome_mulga_lands.lua
minetest.register_biome({
name = "mulga_lands",
--node_dust = "",
node_top = "default:dirt_with_dry_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 75,
humidity_point = 45,
})
--
-- Decorations
--
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"mulga_lands"},
y_min = 36,
y_max = 190,
decoration = "default:dry_grass_"..length,
})
end
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
--
-- Trees
--
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:dirt_with_dry_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"mulga_lands"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Desert Quandong
aus.schematics.quandong_tree = {}
local max_r = 4
local ht = 4
local fruit = "australia:quandong"
local limbs = false
local tree = "australia:quandong_tree"
local leaves = "australia:quandong_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.quandong_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"mulga_lands"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Mulga Tree
aus.schematics.mulga_tree = {}
local max_r = 4
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:mulga_tree"
local leaves = "australia:mulga_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.mulga_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/4000,
biomes = {"mulga_lands"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Oak
aus.schematics.river_oak_big_tree = {}
local max_r = 5
local ht = 9
local fruit = nil
local limbs = false
local tree = "australia:river_oak_tree"
local leaves = "australia:river_oak_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_oak_big_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"mulga_lands"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"mulga_lands"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Shoestring Acacia
aus.schematics.shoestring_acacia_tree = {}
local max_r = 3
local ht = 5
local fruit = nil
local limbs = false
local tree = "australia:shoestring_acacia_tree"
local leaves = "australia:shoestring_acacia_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.shoestring_acacia_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"mulga_lands"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

View File

@ -0,0 +1,310 @@
-- mods/australia/biome_murray_darling_basin.lua
minetest.register_biome({
name = "murray_darling_basin",
--node_dust = "",
node_top = "default:dirt_with_dry_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 60,
humidity_point = 40,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"murray_darling_basin"},
y_min = 36,
y_max = 200,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"murray_darling_basin"},
y_min = 36,
y_max = 200,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
-- Darling Lily
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 80,
fill_ratio = 0.02,
biomes = {"murray_darling_basin"},
y_min = 36,
y_max = 200,
decoration = "australia:darling_lily",
})
-- Saltbush
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 80,
fill_ratio = 0.01,
biomes = {"murray_darling_basin"},
y_min = 36,
y_max = 200,
decoration = "australia:saltbush",
})
-- Silver Daisy
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 80,
fill_ratio = 0.02,
biomes = {"murray_darling_basin"},
y_min = 36,
y_max = 200,
decoration = "australia:silver_daisy",
})
--
-- Logs
--
-- River Red Gum Log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = 0.0018,
scale = 0.0011,
spread = {x = 250, y = 250, z = 250},
seed = 33,
octaves = 3,
persist = 0.66
},
biomes = {"murray_darling_basin"},
y_min = 36,
y_max = 170,
schematic = {
size = {x = 3, y = 3, z = 1},
data = {
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 191},
{name = "australia:river_red_gum_tree", param2 = 12},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 127},
{name = "air", prob = 0},
{name = "flowers:mushroom_brown", prob = 63},
{name = "air", prob = 0},
},
},
flags = "place_center_x",
rotation = "random",
})
--
-- Trees
--
-- Black Box
aus.schematics.black_box_tree = {}
local max_r = 8
local ht = 8
local fruit = nil
local limbs = nil
local tree = "australia:black_box_tree"
local leaves = "australia:black_box_leaves"
for r = 6,max_r do
local schem = aus.generate_big_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.black_box_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"murray_darling_basin"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Black Wattle
aus.schematics.black_wattle_tree = {}
local max_r = 6
local ht = 8
local fruit = nil
local limbs = false
local tree = "australia:black_wattle_tree"
local leaves = "australia:black_wattle_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.black_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"murray_darling_basin"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:dirt_with_dry_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"murray_darling_basin"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Golden Wattle
aus.schematics.golden_wattle_tree = {}
local max_r = 3
local ht = 3
local fruit = nil
local limbs = false
local tree = "australia:golden_wattle_tree"
local leaves = "australia:golden_wattle_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.golden_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"murray_darling_basin"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Desert Quandong
aus.schematics.quandong_tree = {}
local max_r = 4
local ht = 4
local fruit = "australia:quandong"
local limbs = false
local tree = "australia:quandong_tree"
local leaves = "australia:quandong_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.quandong_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"murray_darling_basin"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_dry_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/10000,
biomes = {"murray_darling_basin"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

106
biome_pilbara.lua Normal file
View File

@ -0,0 +1,106 @@
-- mods/australia/biome_pilbara.lua
minetest.register_biome({
name = "pilbara",
--node_dust = "",
node_top = "australia:red_gravel",
depth_top = 2,
node_filler = "australia:red_stone",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 4,
y_max = 35,
heat_point = 80,
humidity_point = 20,
})
--
-- Decorations
--
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_gravel"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"pilbara"},
y_min = 5,
y_max = 31000,
decoration = "default:dry_grass_"..length,
})
end
-- Dry grasses
register_dry_grass_decoration(0.07, -0.01, 2)
register_dry_grass_decoration(0.09, -0.03, 1)
-- Mitchell Grass
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_gravel"},
sidelen = 80,
fill_ratio = 0.05,
biomes = {"pilbara"},
y_min = 6,
y_max = 31000,
decoration = "australia:mitchell_grass",
})
-- Spinifex
minetest.register_decoration({
deco_type = "simple",
place_on = {"australia:red_gravel"},
sidelen = 80,
fill_ratio = 0.02,
biomes = {"pilbara"},
y_min = 8,
y_max = 31000,
decoration = "australia:spinifex",
})
--
-- Trees
--
-- Desert Oak
aus.schematics.desert_oak_tree = {}
local max_r = 8
local ht = 5
local fruit = nil
local limbs = nil
local tree = "australia:desert_oak_tree"
local leaves = "australia:desert_oak_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.desert_oak_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_gravel"},
y_min = 10,
y_max = 35,
fill_ratio = (max_r-r+1)/20000,
biomes = {"pilbara"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

76
biome_simpson_desert.lua Normal file
View File

@ -0,0 +1,76 @@
-- mods/australia/biome_simpson_desert.lua
minetest.register_biome({
name = "simpson_desert",
--node_dust = "",
node_top = "australia:red_sand",
depth_top = 3,
node_filler = "australia:red_stone",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 85,
humidity_point = 10,
})
--
-- Trees
--
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_sand"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/20000,
biomes = {"simpson_desert"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Desert Quandong
aus.schematics.quandong_tree = {}
local max_r = 4
local ht = 4
local fruit = "australia:quandong"
local limbs = false
local tree = "australia:quandong_tree"
local leaves = "australia:quandong_leaves"
for r = 3,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.quandong_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:red_sand"},
y_min = 36,
y_max = 130,
fill_ratio = (max_r-r+1)/15000,
biomes = {"simpson_desert"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

74
biome_tasman_sea.lua Normal file
View File

@ -0,0 +1,74 @@
-- mods/australia/biome_tasman_sea.lua
minetest.register_biome({
name = "tasman_sea",
--node_dust = "",
node_top = "default:sand",
depth_top = 1,
node_filler = "default:sand",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -64,
y_max = 3,
heat_point = 20,
humidity_point = 50,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:sand"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"tasman_sea"},
y_min = 3,
y_max = 3,
decoration = "default:grass_"..length,
})
end
local function register_dry_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:sand"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"tasman_sea"},
y_min = 3,
y_max = 3,
decoration = "default:dry_grass_"..length,
})
end
-- Grasses
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
-- Dry grasses
register_dry_grass_decoration(0.01, 0.05, 5)
register_dry_grass_decoration(0.03, 0.03, 4)
register_dry_grass_decoration(0.05, 0.01, 3)

277
biome_tasmania.lua Normal file
View File

@ -0,0 +1,277 @@
-- mods/australia/biome_tasmania.lua
minetest.register_biome({
name = "tasmania",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 36,
y_max = 31000,
heat_point = 15,
humidity_point = 85,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"tasmania"},
y_min = 3,
y_max = 31000,
decoration = "default:grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
--
-- Moss
--
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.9,
biomes = {"tasmania"},
y_min = 8,
y_max = 31000,
decoration = "australia:moss",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.02,
biomes = {"tasmania"},
y_min = 8,
y_max = 31000,
decoration = "australia:moss_with_fungus",
})
--
-- Mushrooms
--
-- Brown Mushroom
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 = 55,
octaves = 3,
persist = 0.66
},
biomes = {"tasmania"},
y_min = 7,
y_max = 31000,
decoration = "flowers:Mushroom_brown",
})
-- Red Mushroom
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 = 56,
octaves = 3,
persist = 0.66
},
biomes = {"tasmania"},
y_min = 7,
y_max = 31000,
decoration = "flowers:mushroom_red",
})
--
-- Trees
--
-- Blue Gum
aus.schematics.blue_gum_tree = {}
local max_r = 7
local ht = 12
local fruit = nil
local limbs = nil
local tree = "australia:blue_gum_tree"
local leaves = "australia:blue_gum_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(10, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.blue_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 170,
fill_ratio = (max_r-r+1)/15000,
biomes = {"tasmania"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Celery-top Pine
aus.schematics.celery_top_pine_tree = {}
local max_r = 5
local fruit = nil
local tree = "australia:celery_top_pine_tree"
local leaves = "australia:celery_top_pine_leaves"
for r = 4,max_r do
local schem = aus.generate_conifer_schematic(5, 4, tree, leaves, fruit)
push(aus.schematics.celery_top_pine_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 180,
fill_ratio = (max_r-r+1)/8000,
biomes = {"tasmania"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Huon Pine
aus.schematics.huon_pine_tree = {}
local max_r = 4
local ht = 8
local fruit = nil
local limbs = nil
local tree = "australia:huon_pine_tree"
local leaves = "australia:huon_pine_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.huon_pine_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"tasmania"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Southern Sassafras
aus.schematics.southern_sassafras_tree = {}
local max_r = 5
local fruit = nil
local tree = "australia:southern_sassafras_tree"
local leaves = "australia:southern_sassafras_leaves"
for r = 4,max_r do
local schem = aus.generate_conifer_schematic(6, 4, tree, leaves, fruit)
push(aus.schematics.southern_sassafras_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 170,
fill_ratio = (max_r-r+1)/8000,
biomes = {"tasmania"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Swamp Gum
aus.schematics.swamp_gum_tree = {}
local max_r = 6
local ht = 18
local fruit = nil
local limbs = nil
local tree = "australia:swamp_gum_tree"
local leaves = "australia:swamp_gum_leaves"
for r = 6,max_r do
local schem = aus.generate_giant_tree_schematic(26, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.swamp_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 120,
fill_ratio = (max_r-r+1)/10000,
biomes = {"tasmania"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Tasmanian Myrtle
aus.schematics.tasmanian_myrtle_tree = {}
local max_r = 8
local ht = 14
local fruit = nil
local limbs = nil
local tree = "australia:tasmanian_myrtle_tree"
local leaves = "australia:tasmanian_myrtle_leaves"
for r = 6,max_r do
local schem = aus.generate_big_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.tasmanian_myrtle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/10000,
biomes = {"tasmania"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

53
biome_timor_sea.lua Normal file
View File

@ -0,0 +1,53 @@
-- mods/australia/biome_timor_sea.lua
minetest.register_biome({
name = "timor_sea",
--node_dust = "",
node_top = "default:sand",
depth_top = 1,
node_filler = "default:sand",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -64,
y_max = 3,
heat_point = 80,
humidity_point = 90,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:sand"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"timor_sea"},
y_min = 3,
y_max = 3,
decoration = "default:grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)

20
biome_underground.lua Normal file
View File

@ -0,0 +1,20 @@
-- mods/australia/biome_underground.lua
minetest.register_biome({
name = "underground",
--node_dust = "",
--node_top = "",
--depth_top = ,
--node_filler = "",
--depth_filler = ,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -31000,
y_max = -65,
heat_point = 50,
humidity_point = 50,
})

467
biome_victorian_forests.lua Normal file
View File

@ -0,0 +1,467 @@
-- mods/australia/biome_victorian_forests.lua
minetest.register_biome({
name = "victorian_forests",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_river_water = "australia:muddy_river_water_source",
y_min = 36,
y_max = 31000,
heat_point = 40,
humidity_point = 50,
})
--
-- Decorations
--
local function register_grass_decoration(offset, scale, length)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = offset,
scale = scale,
spread = {x = 200, y = 200, z = 200},
seed = 329,
octaves = 3,
persist = 0.6
},
biomes = {"victorian_forests"},
y_min = 36,
y_max = 190,
decoration = "default:grass_"..length,
})
end
-- Grasses
register_grass_decoration(-0.03, 0.09, 5)
register_grass_decoration(-0.015, 0.075, 4)
register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
--
-- Logs
--
-- River Red Gum Log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0.0018,
scale = 0.0011,
spread = {x = 250, y = 250, z = 250},
seed = 33,
octaves = 3,
persist = 0.66
},
biomes = {"victorian_forests"},
y_min = 36,
y_max = 175,
schematic = {
size = {x = 3, y = 3, z = 1},
data = {
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 191},
{name = "australia:river_red_gum_tree", param2 = 12},
{name = "australia:river_red_gum_tree", param2 = 12, prob = 127},
{name = "air", prob = 0},
{name = "flowers:mushroom_brown", prob = 63},
{name = "air", prob = 0},
},
},
flags = "place_center_x",
rotation = "random",
})
-- White Box Log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0.0018,
scale = 0.0011,
spread = {x = 250, y = 250, z = 250},
seed = 35,
octaves = 3,
persist = 0.66
},
biomes = {"victorian_forests"},
y_min = 36,
y_max = 175,
schematic = {
size = {x = 3, y = 3, z = 1},
data = {
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "air", prob = 0},
{name = "australia:white_box_tree", param2 = 12, prob = 191},
{name = "australia:white_box_tree", param2 = 12},
{name = "australia:white_box_tree", param2 = 12, prob = 127},
{name = "air", prob = 0},
{name = "flowers:mushroom_brown", prob = 63},
{name = "air", prob = 0},
},
},
flags = "place_center_x",
rotation = "random",
})
--
-- Moss
--
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 80,
fill_ratio = 0.07,
biomes = {"victorian_forests"},
y_min = 36,
y_max = 200,
decoration = "australia:moss",
})
--
-- Mushrooms
--
-- Brown Mushroom
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 = 55,
octaves = 3,
persist = 0.66
},
biomes = {"victorian_forests"},
y_min = 36,
y_max = 180,
decoration = "flowers:Mushroom_brown",
})
-- Red Mushroom
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 = 56,
octaves = 3,
persist = 0.66
},
biomes = {"victorian_forests"},
y_min = 36,
y_max = 180,
decoration = "flowers:mushroom_red",
})
--
-- Trees
--
-- Black Wattle
aus.schematics.black_wattle_tree = {}
local max_r = 6
local ht = 8
local fruit = nil
local limbs = false
local tree = "australia:black_wattle_tree"
local leaves = "australia:black_wattle_leaves"
for r = 5,max_r do
local schem = aus.generate_tree_schematic(4, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.black_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Blue Gum
aus.schematics.blue_gum_tree = {}
local max_r = 7
local ht = 12
local fruit = nil
local limbs = nil
local tree = "australia:blue_gum_tree"
local leaves = "australia:blue_gum_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(10, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.blue_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 180,
fill_ratio = (max_r-r+1)/7000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Coolabah Tree
aus.schematics.coolabah_tree = {}
local max_r = 5
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:coolabah_tree"
local leaves = "australia:coolabah_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(3, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.coolabah_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"australia:dirt_with_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Golden Wattle
aus.schematics.golden_wattle_tree = {}
local max_r = 3
local ht = 3
local fruit = nil
local limbs = false
local tree = "australia:golden_wattle_tree"
local leaves = "australia:golden_wattle_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(2, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.golden_wattle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Lilly Pilly
aus.schematics.lilly_pilly_tree = {}
local max_r = 5
local ht = 8
local fruit = "australia:lilly_pilly_berries"
local limbs = false
local tree = "australia:lilly_pilly_tree"
local leaves = "australia:lilly_pilly_leaves"
for r = 4,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.lilly_pilly_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Red Bottlebrush
aus.schematics.red_bottlebrush_tree = {}
local max_r = 3
local ht = 4
local fruit = nil
local limbs = false
local tree = "australia:red_bottlebrush_tree"
local leaves = "australia:red_bottlebrush_leaves"
for r = 2,max_r do
local schem = aus.generate_tree_schematic(1, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.red_bottlebrush_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/12000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- River Red Gum
aus.schematics.river_red_gum_tree = {}
local max_r = 13
local ht = 13
local fruit = nil
local limbs = nil
local tree = "australia:river_red_gum_tree"
local leaves = "australia:river_red_gum_leaves"
for r = 10,max_r do
local schem = aus.generate_giant_tree_schematic(7, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.river_red_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 140,
fill_ratio = (max_r-r+1)/20000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Southern Sassafras
aus.schematics.southern_sassafras_tree = {}
local max_r = 5
local fruit = nil
local tree = "australia:southern_sassafras_tree"
local leaves = "australia:southern_sassafras_leaves"
for r = 4,max_r do
local schem = aus.generate_conifer_schematic(6, 4, tree, leaves, fruit)
push(aus.schematics.southern_sassafras_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 160,
fill_ratio = (max_r-r+1)/15000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Swamp Gum
aus.schematics.swamp_gum_tree = {}
local max_r = 6
local ht = 18
local fruit = nil
local limbs = nil
local tree = "australia:swamp_gum_tree"
local leaves = "australia:swamp_gum_leaves"
for r = 6,max_r do
local schem = aus.generate_giant_tree_schematic(26, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.swamp_gum_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 120,
fill_ratio = (max_r-r+1)/15000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Tasmanian Myrtle
aus.schematics.tasmanian_myrtle_tree = {}
local max_r = 8
local ht = 14
local fruit = nil
local limbs = nil
local tree = "australia:tasmanian_myrtle_tree"
local leaves = "australia:tasmanian_myrtle_leaves"
for r = 6,max_r do
local schem = aus.generate_big_tree_schematic(6, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.tasmanian_myrtle_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 150,
fill_ratio = (max_r-r+1)/15000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- White Box
aus.schematics.white_box_tree = {}
local max_r = 8
local ht = 7
local fruit = nil
local limbs = nil
local tree = "australia:white_box_tree"
local leaves = "australia:white_box_leaves"
for r = 6,max_r do
local schem = aus.generate_tree_schematic(5, {x=r, y=ht, z=r}, tree, leaves, fruit, limbs)
push(aus.schematics.white_box_tree, schem)
minetest.register_decoration({
deco_type = "schematic",
sidelen = 80,
place_on = {"default:dirt_with_grass"},
y_min = 36,
y_max = 175,
fill_ratio = (max_r-r+1)/10000,
biomes = {"victorian_forests"},
schematic = schem,
flags = "place_center_x, place_center_z",
rotation = "random",
})
end

66
crafting.lua Normal file
View File

@ -0,0 +1,66 @@
-- mods/australia/crafting.lua
minetest.register_craft({
output = 'australia:red_stonebrick 4',
recipe = {
{'australia:red_stone', 'australia:red_stone'},
{'australia:red_stone', 'australia:red_stone'},
}
})
minetest.register_craft({
output = 'australia:bluestone_brick 4',
recipe = {
{'australia:bluestone', 'australia:bluestone'},
{'australia:bluestone', 'australia:bluestone'},
}
})
-- Wood planks
for i in ipairs(aus.treelist) do
local treename = aus.treelist[i][1]
minetest.register_craft({
output = "australia:"..treename.."_wood 4",
recipe = {
{"australia:"..treename.."_tree"}
}
})
end
--
-- Cooking recipes
--
minetest.register_craft({
type = "cooking",
output = "australia:red_stone",
recipe = "australia:red_cobble",
})
minetest.register_craft({
type = "cooking",
output = "australia:bluestone",
recipe = "australia:bluestone_cobble",
})
-- 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
--
-- Fuels
--

27
craftitems.lua Normal file
View File

@ -0,0 +1,27 @@
-- mods/australia/craftitems.lua
bucket.register_liquid(
"australia:muddy_water_source",
"australia:muddy_water_flow",
"australia:bucket_muddy_water",
"australia_bucket_muddy_water.png",
"Muddy Water Bucket"
)
for i in ipairs(aus.treelist) do
local treename = aus.treelist[i][1]
local treedesc = aus.treelist[i][2]
if minetest.get_modpath("stairs") then
stairs.register_stair_and_slab(
"aus_"..treename.."_wood",
"australia:"..treename.."_wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"aus_"..treename.."_wood.png" },
treedesc.." Wood Stair",
treedesc.." Wood Slab",
default.node_sound_wood_defaults()
)
end
end

14
credits.txt Normal file
View File

@ -0,0 +1,14 @@
-- Mangrove mud sounds from: http://www.freesound.org/people/dobroide/sounds/16771/ (CC by 3.0)
-- Moss textures by Neuromancer.
-- All tree textures by vlapsley.
-- All plant/flower textures by vlapsley, except grass/dry_grass from default game.
-- Bluestone textures by vlapsley.
-- Original tree code adapted from Gael-de-Sailly and duane-r.
-- Tree schematic creation code by duane-r.
-- Ore placement code adapted from duane-r.
-- noairblocks
-- Code modified from Duane Robertson's (github duane-r) valleys_c mod.
-- Original code modified from Perttu Ahola's <celeron55@gmail.com>
-- "noairblocks" mod and released as LGPL 2.1, as the original.

4
depends.txt Normal file
View File

@ -0,0 +1,4 @@
default
bucket
stairs
walls

50
functions.lua Normal file
View File

@ -0,0 +1,50 @@
-- mods/australia/functions.lua
-- Create and initialize a table for a schematic.
function aus.schematic_array(width, height, depth)
-- Dimensions of data array.
local s = {size={x=width, y=height, z=depth}}
s.data = {}
for z = 0,depth-1 do
for y = 0,height-1 do
for x = 0,width-1 do
local i = z*width*height + y*width + x + 1
s.data[i] = {}
s.data[i].name = "air"
s.data[i].param1 = 000
end
end
end
s.yslice_prob = {}
return s
end
-- Push an element onto a stack (table).
function push(t, x)
t[#t+1] = x
end
-- Check if the table contains an element.
function table.contains(table, element)
for key, value in pairs(table) do
if value == element then
if key then
return key
else
return true
end
end
end
return false
end
-- Round a number to the given decimal places
function math.round(num, idp)
local mult = 10^(idp or 0)
return math.floor(num * mult + 0.5) / mult
end

59
init.lua Normal file
View File

@ -0,0 +1,59 @@
-- mods/australia/init.lua
-- MOD: australia
-- See README.md for licensing and other information.
-- Designed for valleys mapgen in Minetest 0.4.13-dev, but will work with mgv5,
-- mgv7, flat and fractal with limitations.
-- Check for necessary mod functions and abort if they aren't available.
if not minetest.get_biome_id then
minetest.log()
minetest.log("* Not loading MOD: Australia *")
minetest.log("MOD: Australia requires mod functions which are")
minetest.log(" not exposed by your Minetest build.")
minetest.log()
return
end
-- Definitions made by this mod that other mods can use too
aus = {}
aus.path = minetest.get_modpath("australia")
aus.schematics = {}
-- Set the following to 1 to enable biome or 0 to disable
aus.biome_underground = 1
aus.biome_mangroves = 1
aus.biome_tasman_sea = 1
aus.biome_great_australian_bight = 1
aus.biome_indian_ocean = 1
aus.biome_great_barrier_reef = 1
aus.biome_timor_sea = 1
aus.biome_jarrah_karri_forests = 1
aus.biome_eastern_coasts = 1
aus.biome_goldfields_esperence = 1
aus.biome_arnhem_land = 1
aus.biome_gulf_of_carpentaria = 1
aus.biome_far_north_queensland = 1
aus.biome_pilbara = 1
aus.biome_kimberley = 1
aus.biome_tasmania = 1
aus.biome_great_dividing_range = 1
aus.biome_victorian_forests = 1
aus.biome_murray_darling_basin = 1
aus.biome_mulga_lands = 1
aus.biome_flinders_lofty = 1
aus.biome_central_australia = 1
aus.biome_simpson_desert = 1
aus.biome_australian_alps = 1
-- Load files
dofile(aus.path .. "/functions.lua")
dofile(aus.path .. "/nodes.lua")
dofile(aus.path .. "/craftitems.lua")
dofile(aus.path .. "/crafting.lua")
dofile(aus.path .. "/trees.lua")
dofile(aus.path .. "/mapgen.lua")
dofile(aus.path .. "/saplings.lua")
dofile(aus.path .. "/voxel.lua")
minetest.log("MOD: Australia loaded")

124
mapgen.lua Normal file
View File

@ -0,0 +1,124 @@
-- mods/australia/mapgen.lua
minetest.clear_registered_biomes()
minetest.clear_registered_decorations()
--
-- Register ores
--
-- All mapgens except singlenode
-- Blob ore first to avoid other ores inside blobs
-- Bluestone (Basalt)
minetest.register_ore({
ore_type = "blob",
ore = "australia:bluestone",
wherein = {"default:stone",
"default:sandstone",
"australia:red_stone"},
clust_scarcity = 16 * 16 * 16,
clust_size = 8,
y_min = -31000,
y_max = 31000,
noise_threshold = 0.0,
noise_params = {
offset = 0.5,
scale = 0.2,
spread = {x = 5, y = 5, z = 5},
seed = 677,
octaves = 1,
persist = 0.0
},
})
--
-- Biomes
--
-- Underground biome
if aus.biome_underground == 1 then
dofile(aus.path .. "/biome_underground.lua")
end
-- Coastal biomes
if aus.biome_mangroves == 1 then
dofile(aus.path .. "/biome_mangroves.lua")
end
if aus.biome_tasman_sea == 1 then
dofile(aus.path .. "/biome_tasman_sea.lua")
end
if aus.biome_great_australian_bight == 1 then
dofile(aus.path .. "/biome_great_australian_bight.lua")
end
if aus.biome_indian_ocean == 1 then
dofile(aus.path .. "/biome_indian_ocean.lua")
end
if aus.biome_great_barrier_reef == 1 then
dofile(aus.path .. "/biome_great_barrier_reef.lua")
end
if aus.biome_timor_sea == 1 then
dofile(aus.path .. "/biome_timor_sea.lua")
end
-- Lowland biomes
if aus.biome_jarrah_karri_forests == 1 then
dofile(aus.path .. "/biome_jarrah_karri_forests.lua")
end
if aus.biome_eastern_coasts == 1 then
dofile(aus.path .. "/biome_eastern_coasts.lua")
end
if aus.biome_goldfields_esperence == 1 then
dofile(aus.path .. "/biome_goldfields_esperence.lua")
end
if aus.biome_arnhem_land == 1 then
dofile(aus.path .. "/biome_arnhem_land.lua")
end
if aus.biome_gulf_of_carpentaria == 1 then
dofile(aus.path .. "/biome_gulf_of_carpentaria.lua")
end
if aus.biome_far_north_queensland == 1 then
dofile(aus.path .. "/biome_far_north_queensland.lua")
end
if aus.biome_pilbara == 1 then
dofile(aus.path .. "/biome_pilbara.lua")
end
if aus.biome_kimberley == 1 then
dofile(aus.path .. "/biome_kimberley.lua")
end
-- Highland biomes
if aus.biome_tasmania == 1 then
dofile(aus.path .. "/biome_tasmania.lua")
end
if aus.biome_great_dividing_range == 1 then
dofile(aus.path .. "/biome_great_dividing_range.lua")
end
if aus.biome_victorian_forests == 1 then
dofile(aus.path .. "/biome_victorian_forests.lua")
end
if aus.biome_flinders_lofty == 1 then
dofile(aus.path .. "/biome_flinders_lofty.lua")
end
if aus.biome_murray_darling_basin == 1 then
dofile(aus.path .. "/biome_murray_darling_basin.lua")
end
if aus.biome_mulga_lands == 1 then
dofile(aus.path .. "/biome_mulga_lands.lua")
end
if aus.biome_central_australia == 1 then
dofile(aus.path .. "/biome_central_australia.lua")
end
if aus.biome_simpson_desert == 1 then
dofile(aus.path .. "/biome_simpson_desert.lua")
end
-- Alpine biome
if aus.biome_australian_alps == 1 then
dofile(aus.path .. "/biome_australian_alps.lua")
end

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = australia

771
nodes.lua Normal file
View File

@ -0,0 +1,771 @@
-- mods/australia/nodes.lua
--
-- Stone
--
minetest.register_node("australia:red_stone", {
description = "Red Stone",
tiles = {"aus_red_stone.png"},
groups = {cracky=3, stone=1},
drop = 'australia:red_cobble',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("australia:red_cobble", {
description = "Red cobblestone",
tiles = {"aus_red_cobble.png"},
is_ground_content = false,
groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("australia:red_stonebrick", {
description = "Red Stone Brick",
tiles = {"aus_red_stonebrick.png"},
is_ground_content = false,
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("australia:bluestone", {
description = "Bluestone (Basalt)",
tiles = {"aus_bluestone.png"},
groups = {cracky=2, stone=1},
drop = 'australia:bluestone_cobble',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("australia:bluestone_cobble", {
description = "Bluestone cobble",
tiles = {"aus_bluestone_cobble.png"},
is_ground_content = false,
groups = {cracky=2, stone=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("australia:bluestone_brick", {
description = "Bluestone Brick",
tiles = {"aus_bluestone_brick.png"},
is_ground_content = false,
groups = {cracky=1, stone=1},
sounds = default.node_sound_stone_defaults(),
})
--
-- Soft / Non-Stone
--
minetest.register_node("australia:red_dirt", {
description = "Red Dirt",
tiles = {"aus_red_dirt.png"},
groups = {crumbly=3,soil=1},
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node("australia:red_sand", {
description = "Red Sand",
tiles = {"aus_red_sand.png"},
groups = {crumbly=3, falling_node=1, sand=1},
sounds = default.node_sound_sand_defaults(),
})
minetest.register_node("australia:red_gravel", {
description = "Red Gravel",
tiles = {"aus_red_gravel.png"},
groups = {crumbly=2, falling_node=1},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
})
minetest.register_node("australia:mangrove_mud", {
description = "Mangrove Mud",
tiles = {"aus_mangrove_mud.png"},
groups = {crumbly=2, soil=1},
sounds = default.node_sound_dirt_defaults({
footstep = {name="aus_mangrove_mud", gain=0.4},
dug = {name="aus_mangrove_mud", gain=0.4},
}),
})
--
-- Trees
--
aus.treelist = {
--treename, treedesc, treetrunk_dia, treespaling, treefruit, treefruit_desc, treefruit_scale, treefruit_health
{"black_box", "Eucalyptus largiflorens: Black Box", 1.0, "eucalyptus", nil, nil, nil, nil },
{"black_wattle", "Acacia melanoxylon: Black Wattle", 0.75, "acacia", nil, nil, nil, nil },
{"blue_gum", "Eucalyptus globulus: Blue Gum", 1.0, "eucalyptus", nil, nil, nil, nil },
{"boab", "Adansonia gregorii: Boab", 1.0, "boab", nil, nil, nil, nil },
{"bull_banksia", "Banksia grandis: Bull Banksia", 0.33, "banksia", nil, nil, nil, nil },
{"celery_top_pine", "Phyllocladus aspleniifolius: Celery-top Pine", 1, "pine", nil, nil, nil, nil },
{"cherry", "Exocarpos cupressiformis: Australian Cherry", 0.5, "berry", "cherry", "Australian Cherries", 0.67, 1 },
{"cloncurry_box", "Eucalyptus leucophylla: Cloncurry Box", 1.0, "eucalyptus", nil, nil, nil, nil },
{"coast_banksia", "Banksia integrifolia: Coast Banksia", 1.0, "banksia", nil, nil, nil, nil },
{"coolabah", "Eucalyptus coolabah: Coolabah", 1.0, "eucalyptus", nil, nil, nil, nil },
{"daintree_stringybark", "Eucalyptus pellita: Daintree Stringybark", 1.0, "eucalyptus", nil, nil, nil, nil },
{"darwin_woollybutt", "Eucalyptus miniata: Darwin Woollybutt", 1.0, "eucalyptus", nil, nil, nil, nil },
{"desert_oak", "Allocasuarina decaisneana: Desert Oak", 1.0, "acacia", nil, nil, nil, nil },
{"fan_palm", "Licuala ramsayi: Australian Fan Palm", 1.0, "palm", nil, nil, nil, nil },
{"golden_wattle", "Acacia pycnantha: Golden Wattle", 0.33, "acacia", nil, nil, nil, nil },
{"grey_mangrove", "Avicennia marina: Grey Mangrove", 0.25, "mangrove", nil, nil, nil, nil },
{"huon_pine", "Lagarostrobos franklinii: Huon Pine", 1.0, "pine", nil, nil, nil, nil },
{"illawarra_flame", "Brachychiton acerifolius: Illawarra Flame", 1.0, "illawarra_flame", nil, nil, nil, nil },
{"jarrah", "Eucalyptus marginata: Jarrah", 1.0, "eucalyptus", nil, nil, nil, nil },
{"karri", "Eucalyptus diversicolor: Karri", 1.0, "eucalyptus", nil, nil, nil, nil },
{"lemon_eucalyptus", "Eucalyptus citriodora: Lemon Eucalyptus", 1.0, "eucalyptus", nil, nil, nil, nil },
{"lemon_myrtle", "Backhousia citriodora: Lemon Myrtle", 0.5, "myrtle", nil, nil, nil, nil },
{"lilly_pilly", "Syzygium smithii: Lilly Pilly", 0.33, "berry", "lilly_pilly_berries", "Lilly Pilly Berries", 0.67, 1 },
{"macadamia", "Macadamia tetraphylla: Prickly Macadamia", 0.75, "macadamia", "macadamia", "Macadamia Nuts", 0.67, 1 },
{"mangrove_apple", "Sonneratia caseolaris: Mangrove Apple", 0.75, "mangrove_apple", "mangrove_apple", "Mangrove Apple", 0.67, 1 },
{"merbau", "Intsia bijuga: Merbau", 1.0, "merbau", nil, nil, nil, nil },
{"marri", "Corymbia calophylla: Marri", 1.0, "eucalyptus", nil, nil, nil, nil },
{"moreton_bay_fig", "Ficus macrophylla: Moreton Bay Fig", 1.0, "fig", "moreton_bay_fig", "Moreton Bay Fig", 0.67, 1 },
{"mulga", "Acacia aneura: Mulga", 0.5, "acacia", nil, nil, nil, nil },
{"paperbark", "Melaleuca quinquenervia: Paper Bark", 1.0, "melaleuca", nil, nil, nil, nil },
{"quandong", "Santalum acuminatum: Desert Quandong", 0.25, "quandong", "quandong", "Desert Quandong", 0.5, 1 },
{"red_bottlebrush", "Melaleuca citrina: Red Bottlebrush", 0.33, "melaleuca", nil, nil, nil, nil },
{"river_oak", "Casuarina cunninghamiana: River Oak", 1.0, "acacia", nil, nil, nil, nil },
{"river_red_gum", "Eucalyptus camaldulensis: River Red Gum", 1.0, "eucalyptus", nil, nil, nil, nil },
{"rottnest_island_pine", "Callitris preissii: Rottnest Island Pine", 0.75, "pine", nil, nil, nil, nil },
{"scribbly_gum", "Eucalyptus haemastoma: Scribbly Gum", 1.0, "eucalyptus", nil, nil, nil, nil },
{"shoestring_acacia", "Acacia stenophylla: Shoestring Acacia", 1.0, "acacia", nil, nil, nil, nil },
{"snow_gum", "Eucalyptus pauciflora: Snow Gum", 1.0, "eucalyptus", nil, nil, nil, nil },
{"southern_sassafras", "Atherosperma moschatum: Southern Sassafras", 1, "pine", nil, nil, nil, nil },
{"stilted_mangrove", "Rhizophora stylosa: Stilted Mangrove", 0.25, "mangrove", nil, nil, nil, nil },
{"sugar_gum", "Eucalyptus cladocalyx: Sugar Gum", 1.0, "eucalyptus", nil, nil, nil, nil },
{"swamp_bloodwood", "Corymbia ptychocarpa: Swamp Bloodwood", 1.0, "eucalyptus", nil, nil, nil, nil },
{"swamp_gum", "Eucalyptus regnans: Swamp Gum", 1.0, "eucalyptus", nil, nil, nil, nil },
{"swamp_paperbark", "Melaleuca rhaphiophylla: Swamp Paperbark", 0.5, "melaleuca", nil, nil, nil, nil },
{"tasmanian_myrtle", "Lophozonia cunninghamii: Tasmanian Myrtle", 1.0, "myrtle", nil, nil, nil, nil },
{"tea_tree", "Melaleuca alternifolia: Tea", 0.5, "melaleuca", nil, nil, nil, nil },
{"white_box", "Eucalyptus albens: White Box", 1.0, "eucalyptus", nil, nil, nil, nil },
{"wirewood", "Acacia coriacea: Wirewood", 0.33, "acacia", nil, nil, nil, nil },
}
for i in ipairs(aus.treelist) do
local treename = aus.treelist[i][1]
local treedesc = aus.treelist[i][2]
local treetrunk_dia = aus.treelist[i][3]
local treespaling = aus.treelist[i][4]
local treefruit = aus.treelist[i][5]
local treefruit_desc = aus.treelist[i][6]
local treefruit_scale = aus.treelist[i][7]
local treefruit_health = aus.treelist[i][8]
-- tree
local node_d = {
description = treedesc.. " Tree",
tiles = {
"aus_"..treename.."_treetop.png",
"aus_"..treename.."_treetop.png",
"aus_"..treename.."_tree.png"
},
paramtype2 = "facedir",
is_ground_content = true,
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node,
}
-- Some trunks aren't a meter wide.
if treetrunk_dia and treetrunk_dia ~= 1 then
local radius = treetrunk_dia / 2
node_d.paramtype = "light"
node_d.drawtype = "nodebox"
node_d.node_box = { type = "fixed",
fixed = { {-radius, -0.5, -radius, radius, 0.5, radius}, }
}
node_d.selection_box = { type = "fixed",
fixed = { {-radius, -0.5, -radius, radius, 0.5, radius}, }
}
end
minetest.register_node("australia:"..treename.."_tree", node_d)
-- wood
minetest.register_node("australia:"..treename.."_wood", {
description = treedesc.." Wood Planks",
tiles = {"aus_"..treename.."_wood.png"},
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(),
})
-- leaves
minetest.register_node("australia:"..treename.."_leaves", {
description = treedesc.." Leaves",
drawtype = "allfaces_optional",
visual_scale = 1.3,
tiles = { "aus_"..treename.."_leaves.png"},
paramtype = "light",
is_ground_content = false,
groups = {snappy=3,flammable=2,leaves=1},
drop = {
max_items = 1,
items = {
{items = {"australia:"..treename.."_sapling"}, rarity = 50 },
{items = {"australia:"..treename.."_leaves"} }
}
},
sounds = default.node_sound_leaves_defaults(),
})
-- sapling
minetest.register_node("australia:"..treename.."_sapling", {
description = treedesc.." Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"aus_"..treespaling.."_sapling.png"},
inventory_image = "aus_"..treespaling.."_sapling.png",
wield_image = "aus_"..treespaling.."_sapling.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
},
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
})
-- fruit, if applicable
if treefruit then
minetest.register_node("australia:"..treefruit.."", {
description = treefruit_desc,
drawtype = "plantlike",
visual_scale = treefruit_scale,
tiles = { "aus_"..treefruit..".png" },
inventory_image = "aus_"..treefruit..".png",
wield_image = "aus_"..treefruit..".png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-0.1, -0.5, -0.1, 0.1, -0.25, 0.1},
},
groups = {fleshy=3,dig_immediate=3,flammable=2,leafdecay=3,leafdecay_drop=1},
-- Fruit makes you healthy.
on_use = minetest.item_eat(treefruit_health),
sounds = default.node_sound_leaves_defaults(),
after_place_node = function(pos, placer, itemstack)
if placer:is_player() then
minetest.set_node(pos, {name="australia:"..treefruit.."", param2=1})
end
end,
})
end
-- fence
default.register_fence("australia:fence_"..treename.."_wood", {
description = treedesc.." Fence",
texture = "aus_"..treename.."_wood.png",
material = "australia:"..treename.."_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
end
--
-- Ores
--
--
-- Plantlife (non-cubic)
--
-- Acrostichum speciosum: Mangrove Fern
minetest.register_node("australia:mangrove_fern", {
description = "Acrostichum speciosum: Mangrove Fern",
drawtype = "plantlike",
waving = 1,
visual_scale = 1.0,
tiles = {"aus_mangrove_fern.png"},
inventory_image = "aus_mangrove_fern.png",
wield_image = "aus_mangrove_fern.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Crinum pedunculatum: Mangrove Lily
minetest.register_node("australia:mangrove_lily", {
description = "Crinum pedunculatum: Mangrove Lily",
drawtype = "plantlike",
waving = 1,
visual_scale = 1.0,
tiles = {"aus_mangrove_lily.png"},
inventory_image = "aus_mangrove_lily.png",
wield_image = "aus_mangrove_lily.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Nypa fruticans: Mangrove Palm
minetest.register_node("australia:mangrove_palm_trunk", {
description = "Nypa fruticans: Mangrove Fern",
tiles = {"aus_mangrove_palm_trunk.png", "aus_mangrove_mud.png",
"aus_mangrove_palm_trunk.png"},
inventory_image = "aus_mangrove_palm_trunk.png",
wield_image = "aus_mangrove_palm_trunk.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 2, flammable = 2, flora = 1, attached_node = 1, oddly_breakable_by_hand = 1},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node,
-- drawtype = "nodebox",
-- node_box = {
-- type = "fixed",
-- fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
-- },
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
})
minetest.register_node("australia:mangrove_palm_leaf_bot", {
description = "Nypa fruticans: Mangrove Fern",
tiles = {"aus_mangrove_palm_leaf_bot.png", "aus_mangrove_palm_leaf_bot.png",
"aus_mangrove_palm_leaf_bot.png"},
inventory_image = "aus_mangrove_palm_leaf_bot.png",
wield_image = "aus_mangrove_palm_leaf_bot.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
drawtype = "nodebox",
nodebox = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
})
minetest.register_node("australia:mangrove_palm_leaf_top", {
description = "Nypa fruticans: Mangrove Fern",
tiles = {"aus_mangrove_palm_leaf_top.png", "aus_mangrove_palm_leaf_top.png",
"aus_mangrove_palm_leaf_top.png"},
inventory_image = "aus_mangrove_palm_leaf_top.png",
wield_image = "aus_mangrove_palm_leaf_top.png",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
drawtype = "nodebox",
nodebox = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
})
-- Banksia dallanneyi: Couch Honeypot
minetest.register_node("australia:couch_honeypot", {
description = "Banksia dallanneyi: Couch Honeypot",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.0,
tiles = {"aus_couch_honeypot.png"},
inventory_image = "aus_couch_honeypot.png",
wield_image = "aus_couch_honeypot.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Crinum flaccidum: Darling Lily
minetest.register_node("australia:darling_lily", {
description = "Crinum flaccidum: Darling Lily",
drawtype = "plantlike",
waving = 1,
visual_scale = 1.0,
tiles = {"aus_darling_lily.png"},
inventory_image = "aus_darling_lily.png",
wield_image = "aus_darling_lily.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Astrebla pectinata: Mitchell Grass
minetest.register_node("australia:mitchell_grass", {
description = "Astrebla pectinata: Mitchell Grass",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.0,
tiles = {"aus_mitchell_grass.png"},
inventory_image = "aus_mitchell_grass.png",
wield_image = "aus_mitchell_grass.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Atriplex nummularia: Saltbush
minetest.register_node("australia:saltbush", {
description = "Atriplex nummularia: Saltbush",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.4,
tiles = {"aus_saltbush.png"},
inventory_image = "aus_saltbush.png",
wield_image = "aus_saltbush.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Olearia pannosa: Silver Daisy
minetest.register_node("australia:silver_daisy", {
description = "Olearia pannosa: Silver Daisy",
drawtype = "plantlike",
waving = 1,
visual_scale = 1.0,
tiles = {"aus_silver_daisy.png"},
inventory_image = "aus_silver_daisy.png",
wield_image = "aus_silver_daisy.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Triodia longiceps: Spinifex
minetest.register_node("australia:spinifex", {
description = "Triodia longiceps: Spinifex",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.2,
tiles = {"aus_spinifex.png"},
inventory_image = "aus_spinifex.png",
wield_image = "aus_spinifex.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Telopea speciosissima: Waratah
minetest.register_node("australia:waratah", {
description = "Telopea speciosissima: Waratah",
drawtype = "allfaces_optional",
visual_scale = 1.0,
tiles = { "aus_waratah.png"},
inventory_image = { "aus_waratah.png"},
wield_image = { "aus_waratah.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
})
-- Acropora cervicornis: Staghorn Coral (yellow)
minetest.register_node("australia:staghorn_coral_yellow", {
description = "Acropora cervicornis: Staghorn Coral",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.0,
tiles = {"aus_staghorn_coral_yellow.png"},
inventory_image = "aus_staghorn_coral_yellow.png",
wield_image = "aus_staghorn_coral_yellow.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {cracky = 3, stone=1, attached_node=1, sea=1},
sounds = default.node_sound_stone_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Acropora cervicornis: Staghorn Coral (purple)
minetest.register_node("australia:staghorn_coral_purple", {
description = "Acropora cervicornis: Staghorn Coral",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.0,
tiles = {"aus_staghorn_coral_purple.png"},
inventory_image = "aus_staghorn_coral_purple.png",
wield_image = "aus_staghorn_coral_purple.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {cracky = 3, stone=1, attached_node=1, sea=1},
sounds = default.node_sound_stone_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Acropora cervicornis: Staghorn Coral (pink)
minetest.register_node("australia:staghorn_coral_pink", {
description = "Acropora cervicornis: Staghorn Coral",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.0,
tiles = {"aus_staghorn_coral_pink.png"},
inventory_image = "aus_staghorn_coral_pink.png",
wield_image = "aus_staghorn_coral_pink.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {cracky = 3, stone=1, attached_node=1, sea=1},
sounds = default.node_sound_stone_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
-- Acropora cervicornis: Staghorn Coral (blue)
minetest.register_node("australia:staghorn_coral_blue", {
description = "Acropora cervicornis: Staghorn Coral",
drawtype = "plantlike",
waving = 0,
visual_scale = 1.0,
tiles = {"aus_staghorn_coral_blue.png"},
inventory_image = "aus_staghorn_coral_blue.png",
wield_image = "aus_staghorn_coral_blue.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
groups = {cracky = 3, stone=1, attached_node=1, sea=1},
sounds = default.node_sound_stone_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5},
},
})
--
-- Liquids
--
minetest.register_node("australia:muddy_river_water_source", {
description = "Muddy river water source",
drawtype = "liquid",
tiles = {
{
name="aus_muddy_river_water_flowing.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
},
special_tiles = {
{
name="aus_muddy_river_water_flowing.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
backface_culling = false,
},
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
is_ground_content = false,
drop = "",
drowning = 1,
liquidtype = "source",
liquid_alternative_flowing = "australia:muddy_river_water_flowing",
liquid_alternative_source = "australia:muddy_river_water_source",
liquid_viscosity = 1,
liquid_renewable = false,
liquid_range = 2,
post_effect_color = {a = 64, r = 200, g = 150, b = 100},
groups = {water = 3, liquid = 3, puts_out_fire = 1},
})
minetest.register_node("australia:muddy_river_water_flowing", {
description = "Flowing muddy river water",
drawtype = "flowingliquid",
tiles = {"aus_muddy_river_water_source.png"},
special_tiles = {
{
image="aus_muddy_river_water_flowing.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8,
},
},
{
image="aus_muddy_river_water_flowing.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8,
},
},
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
is_ground_content = false,
drop = "",
drowning = 1,
liquidtype = "flowing",
liquid_alternative_flowing = "australia:muddy_river_water_flowing",
liquid_alternative_source = "australia:muddy_river_water_source",
liquid_viscosity = 1,
liquid_renewable = false,
liquid_range = 2,
post_effect_color = {a = 64, r = 200, g = 150, b = 100},
groups = {water = 3, liquid = 3, puts_out_fire = 1,
not_in_creative_inventory = 1},
})
--
-- Tools / "Advanced" crafting / Non-"natural"
--
--
-- Misc
--
minetest.register_node("australia:moss", {
description = "Moss",
drawtype = "nodebox",
tiles = {"aus_moss.png"},
inventory_image = "aus_moss.png",
wield_image = "aus_moss.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.46875, 0.5}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}
},
groups = {snappy = 3,flammable = 3},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("australia:moss_with_fungus", {
description = "Moss with Fungus",
drawtype = "nodebox",
tiles = {"aus_moss_fungus.png"},
inventory_image = "aus_moss_fungus.png",
wield_image = "aus_moss_fungus.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = false,
buildable_to = false,
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.46875, 0.5}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}
},
groups = {snappy = 3,flammable = 3},
sounds = default.node_sound_leaves_defaults(),
})

136
saplings.lua Normal file
View File

@ -0,0 +1,136 @@
--
-- Grow trees from saplings
--
-- list of all saplings
aus.saplings = {
{sapling="australia:black_box_sapling",
schematics=aus.schematics.black_box_tree},
{sapling="australia:black_wattle_sapling",
schematics=aus.schematics.black_wattle_tree},
{sapling="australia:blue_gum_sapling",
schematics=aus.schematics.blue_gum_tree},
{sapling="australia:boab_sapling",
schematics=aus.schematics.boab_tree},
{sapling="australia:bull_banksia_sapling",
schematics=aus.schematics.bull_banksia_tree},
{sapling="australia:celery_top_pine_sapling",
schematics=aus.schematics.celery_top_pine_tree},
{sapling="australia:cherry_sapling",
schematics=aus.schematics.cherry_tree},
{sapling="australia:cloncurry_box_sapling",
schematics=aus.schematics.cloncurry_box_tree},
{sapling="australia:coast_banksia_sapling",
schematics=aus.schematics.coast_banksia_big_tree},
{sapling="australia:coolabah_sapling",
schematics=aus.schematics.coolabah_tree},
{sapling="australia:daintree_stringybark_sapling",
schematics=aus.schematics.daintree_stringybark_tree},
{sapling="australia:darwin_woollybutt_sapling",
schematics=aus.schematics.darwin_woollybutt_tree},
{sapling="australia:desert_oak_sapling",
schematics=aus.schematics.desert_oak_tree},
{sapling="australia:fan_palm_sapling",
schematics=aus.schematics.fan_palm_tree},
{sapling="australia:golden_wattle_sapling",
schematics=aus.schematics.golden_wattle_tree},
{sapling="australia:grey_mangrove_sapling",
schematics=aus.schematics.grey_mangrove_tree},
{sapling="australia:huon_pine_sapling",
schematics=aus.schematics.huon_pine_tree},
{sapling="australia:illawarra_flame_sapling",
schematics=aus.schematics.illawarra_flame_tree},
{sapling="australia:jarrah_sapling",
schematics=aus.schematics.jarrah_tree},
{sapling="australia:karri_sapling",
schematics=aus.schematics.karri_tree},
{sapling="australia:lemon_eucalyptus_sapling",
schematics=aus.schematics.lemon_eucalyptus_tree},
{sapling="australia:lemon_myrtle_sapling",
schematics=aus.schematics.lemon_myrtle_tree},
{sapling="australia:lilly_pilly_sapling",
schematics=aus.schematics.lilly_pilly_tree},
{sapling="australia:macadamia_sapling",
schematics=aus.schematics.macadamia_tree},
{sapling="australia:mangrove_apple_sapling",
schematics=aus.schematics.mangrove_apple_tree},
{sapling="australia:marri_sapling",
schematics=aus.schematics.marri_tree},
{sapling="australia:merbau_sapling",
schematics=aus.schematics.merbau_tree},
{sapling="australia:moreton_bay_fig_sapling",
schematics=aus.schematics.moreton_bay_fig_tree},
{sapling="australia:mulga_sapling",
schematics=aus.schematics.mulga_tree},
{sapling="australia:paperbark_sapling",
schematics=aus.schematics.paperbark_tree},
{sapling="australia:quandong_sapling",
schematics=aus.schematics.quandong_tree},
{sapling="australia:red_bottlebrush_sapling",
schematics=aus.schematics.red_bottlebrush_tree},
{sapling="australia:river_oak_sapling",
schematics=aus.schematics.river_oak_tree},
{sapling="australia:river_red_gum_sapling",
schematics=aus.schematics.river_red_gum_tree},
{sapling="australia:rottnest_island_pine_sapling",
schematics=aus.schematics.rottnest_island_pine_tree},
{sapling="australia:scribbly_gum_sapling",
schematics=aus.schematics.scribbly_gum_tree},
{sapling="australia:shoestring_acacia_sapling",
schematics=aus.schematics.shoestring_acacia_tree},
{sapling="australia:snow_gum_sapling",
schematics=aus.schematics.snow_gum_tree},
{sapling="australia:southern_sassafras_sapling",
schematics=aus.schematics.southern_sassafras_tree},
{sapling="australia:stilted_mangrove_sapling",
schematics=aus.schematics.stilted_mangrove_tree},
{sapling="australia:sugar_gum_sapling",
schematics=aus.schematics.sugar_gum_tree},
{sapling="australia:swamp_bloodwood_sapling",
schematics=aus.schematics.swamp_bloodwood_tree},
{sapling="australia:swamp_gum_sapling",
schematics=aus.schematics.swamp_gum_tree},
{sapling="australia:swamp_paperbark_sapling",
schematics=aus.schematics.swamp_paperbark_tree},
{sapling="australia:tasmanian_myrtle_sapling",
schematics=aus.schematics.tasmanian_myrtle_tree},
{sapling="australia:tea_tree_sapling",
schematics=aus.schematics.tea_tree_tree},
{sapling="australia:white_box_sapling",
schematics=aus.schematics.white_box_tree},
{sapling="australia:wirewood_sapling",
schematics=aus.schematics.wirewood_tree},
}
-- create a list of just the node names
local sapling_list = {}
for _, sap in pairs(aus.saplings) do
push(sapling_list, sap.sapling)
end
-- This abm can handle all saplings.
minetest.register_abm({
nodenames = sapling_list,
interval = 10,
chance = 50,
action = function(pos, node)
local node_under = minetest.get_node_or_nil({x = pos.x, y = pos.y - 1, z = pos.z})
if not node_under or
minetest.get_item_group(node_under.name, "soil") == 0 then
return
end
for _, sap in pairs(aus.saplings) do
if node.name == sap.sapling then
minetest.log("action", "A sapling grows into a tree at "..
minetest.pos_to_string(pos))
local schem = sap.schematics[math.random(1,#sap.schematics)]
local adj = {x = pos.x - math.floor(schem.size.x / 2),
y = pos.y - 1,
z = pos.z - math.floor(schem.size.z / 2)}
minetest.place_schematic(adj, schem, 'random', nil, true)
break
end
end
end,
})

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

BIN
textures/aus_bluestone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

BIN
textures/aus_boab_tree.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

BIN
textures/aus_boab_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

BIN
textures/aus_cherry.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

Some files were not shown because too many files have changed in this diff Show More