Fix trees

master
Hume2 2019-07-15 21:13:24 +02:00
parent 5237d918b8
commit d6a7624cd8
21 changed files with 49 additions and 48 deletions

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_arnhem_land.lua
--[[
minetest.register_biome({
name = "arnhem_land",
--node_dust = "",
@ -84,7 +84,7 @@ register_grass_decoration(0, 0.06, 3)
register_grass_decoration(0.015, 0.045, 2)
register_grass_decoration(0.03, 0.03, 1)
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_australian_alps.lua
--[[
minetest.register_biome({
name = "australian_alps",
node_dust = "default:snow",
@ -88,7 +88,7 @@ minetest.register_decoration({
rotation = "random",
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_central_australia.lua
--[[
minetest.register_biome({
name = "central_australia",
--node_dust = "",
@ -107,7 +107,7 @@ minetest.register_decoration({
decoration = "australia:spinifex",
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_eastern_coasts.lua
--[[
minetest.register_biome({
name = "eastern_coasts",
--node_dust = "",
@ -138,7 +138,7 @@ minetest.register_decoration({
},
flags = "force_placement",
})
--]]
--

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_far_north_queensland.lua
--[[
minetest.register_biome({
name = "far_north_queensland",
--node_dust = "",
@ -268,7 +268,7 @@ register_dry_grass_decoration(0.03, 0.03, 4)
--]]
--
-- Trees
--

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_flinders_lofty.lua
--[[
minetest.register_biome({
name = "flinders_lofty",
--node_dust = "",
@ -144,7 +144,7 @@ minetest.register_decoration({
rotation = "random",
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_goldfields_esperence.lua
--[[
minetest.register_biome({
name = "goldfields_esperence",
--node_dust = "",
@ -94,7 +94,7 @@ minetest.register_decoration({
decoration = "australia:spinifex",
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_great_dividing_range.lua
--[[
minetest.register_biome({
name = "great_dividing_range",
--node_dust = "",
@ -288,7 +288,7 @@ minetest.register_decoration({
})
--]]
--
-- Trees
--

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_gulf_of_carpentaria.lua
--[[
minetest.register_biome({
name = "gulf_of_carpentaria",
--node_dust = "",
@ -119,7 +119,7 @@ minetest.register_decoration({
decoration = "australia:mitchell_grass",
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_jarrah_karri_forests.lua
--[[
minetest.register_biome({
name = "jarrah_karri_forests",
--node_dust = "",
@ -115,7 +115,7 @@ minetest.register_decoration({
biomes = {"jarrah_karri_forests"},
decoration = "australia:couch_honeypot",
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_kimberley.lua
--[[
minetest.register_biome({
name = "kimberley",
--node_dust = "",
@ -100,7 +100,7 @@ register_dry_grass_decoration(0.09, -0.03, 1)
--
-- Trees
--
----]]
-- Boab Tree
aus.schematics.boab_tree = {}

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_mangroves.lua
--[[
minetest.register_biome({
name = "mangroves",
--node_dust = "",
@ -84,7 +84,7 @@ minetest.register_decoration({
})
--]]
--
-- Trees

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_mulga_lands.lua
--[[
minetest.register_biome({
name = "mulga_lands",
--node_dust = "",
@ -60,7 +60,7 @@ 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

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_murray_darling_basin.lua
--[[
minetest.register_biome({
name = "murray_darling_basin",
--node_dust = "",
@ -162,7 +162,7 @@ minetest.register_decoration({
})
--]]
--
-- Trees
--

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_pilbara.lua
--[[
minetest.register_biome({
name = "pilbara",
--node_dust = "",
@ -102,7 +102,7 @@ minetest.register_decoration({
y_max = 31000,
decoration = "australia:spinifex",
})
--]]
--

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_simpson_desert.lua
--[[
minetest.register_biome({
name = "simpson_desert",
--node_dust = "",
@ -31,7 +31,7 @@ minetest.register_biome({
--
-- Trees
--
----]]
-- Coolabah Tree
aus.schematics.coolabah_tree = {}

View File

@ -1,5 +1,5 @@
-- mods/australia/biome_tasmania.lua
--[[
minetest.register_biome({
name = "tasmania",
--node_dust = "",
@ -261,7 +261,7 @@ minetest.register_decoration({
--
-- Trees
--
--]]
-- Blue Gum
aus.schematics.blue_gum_tree = {}
local max_r = 7

View File

@ -1,6 +1,6 @@
-- mods/australia/biome_victorian_forests.lua
minetest.register_biome({
--[[minetest.register_biome({
name = "victorian_forests",
--node_dust = "",
node_top = "default:dirt_with_grass",
@ -385,7 +385,7 @@ minetest.register_decoration({
decoration = "flowers:mushroom_red",
})
--]]
--
-- Trees

View File

@ -21,18 +21,18 @@ 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_underground = 0
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_tasman_sea = 0
aus.biome_great_australian_bight = 0
aus.biome_indian_ocean = 0
aus.biome_great_barrier_reef = 0
aus.biome_timor_sea = 0
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_gulf_of_carpentaria = 0
aus.biome_far_north_queensland = 1
aus.biome_pilbara = 1
aus.biome_kimberley = 1
@ -53,7 +53,7 @@ dofile(aus.path .. "/noairblocks.lua")
dofile(aus.path .. "/craftitems.lua")
dofile(aus.path .. "/crafting.lua")
dofile(aus.path .. "/trees.lua")
--dofile(aus.path .. "/mapgen.lua")
dofile(aus.path .. "/mapgen.lua")
dofile(aus.path .. "/saplings.lua")
--dofile(aus.path .. "/voxel.lua")

View File

@ -14,7 +14,7 @@ minetest.clear_registered_ores()
-- Clay
minetest.register_ore({
--[[minetest.register_ore({
ore_type = "blob",
ore = "default:clay",
wherein = {"default:sand"},
@ -262,7 +262,7 @@ minetest.register_ore({
clust_size = 3,
y_min = -31000,
y_max = -64,
})
})--]]

View File

@ -358,8 +358,9 @@ for i in ipairs(aus.treelist) do
-- leaves
minetest.register_node("australia:"..treename.."_leaves", {
description = treedesc.." Leaves",
drawtype = "allfaces_optional",
visual_scale = 1.3,
drawtype = "plantlike",
walkable = false,
visual_scale = 1.4,
tiles = { "aus_"..treename.."_leaves.png"},
paramtype = "light",
is_ground_content = false,