australia/init.lua

61 lines
1.8 KiB
Lua
Executable File

-- mods/australia/init.lua
-- MOD: australia
-- See README.md for licensing and other information.
-- Designed for valleys mapgen in Minetest 0.4.14, 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 .. "/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 .. "/saplings.lua")
--dofile(aus.path .. "/voxel.lua")
minetest.log("MOD: Australia loaded")