mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-18 00:10:33 +02:00
Modpack refactor (#4)
Split this mod into a set of sub-mods in a modpack, and in the process did a whole bunch of renovations. * updated Subterrane's API to allow for more patterned placement of things * added "warrens" * clean separation of flooded and non-flooded caverns * rearranged biomes to make cavern layers more distinct * added oil layer * added underworld layer
This commit is contained in:
17
df_caverns/init.lua
Normal file
17
df_caverns/init.lua
Normal file
@ -0,0 +1,17 @@
|
||||
df_caverns = {}
|
||||
|
||||
--grab a shorthand for the filepath of the mod
|
||||
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
--load companion lua files
|
||||
dofile(modpath.."/config.lua")
|
||||
|
||||
dofile(modpath.."/shared.lua")
|
||||
dofile(modpath.."/surface_tunnels.lua")
|
||||
dofile(modpath.."/level1.lua")
|
||||
dofile(modpath.."/level2.lua")
|
||||
dofile(modpath.."/level3.lua")
|
||||
dofile(modpath.."/sunless_sea.lua")
|
||||
dofile(modpath.."/oil_sea.lua")
|
||||
dofile(modpath.."/lava_sea.lua")
|
||||
dofile(modpath.."/underworld.lua")
|
Reference in New Issue
Block a user