-
Notifications
You must be signed in to change notification settings - Fork 11
/
init.lua
executable file
·60 lines (54 loc) · 1.84 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
-- 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(minetest.get_current_modname())
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")