mirror of
https://github.com/adrido/darkage.git
synced 2025-07-02 16:30:46 +02:00
Simplyfied stairs registrations
This commit is contained in:
9
init.lua
9
init.lua
@ -1,5 +1,7 @@
|
||||
minetest.log("action"," ---- Dark Age Version 1.3 is Loading! ---- ")
|
||||
|
||||
darkage = {}; -- Create darkage namespace
|
||||
|
||||
local MODPATH = minetest.get_modpath("darkage")
|
||||
|
||||
dofile(MODPATH.."/nodes.lua")
|
||||
@ -9,11 +11,8 @@ dofile(MODPATH.."/furniture.lua")
|
||||
dofile(MODPATH.."/aliases.lua")
|
||||
dofile(MODPATH.."/walls.lua")
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
dofile(MODPATH.."/stairsplus.lua")--only if moreblocks installed
|
||||
else
|
||||
dofile(MODPATH.."/stairs.lua")
|
||||
end
|
||||
dofile(MODPATH.."/stairs_functions.lua")
|
||||
dofile(MODPATH.."/stairs.lua")
|
||||
|
||||
|
||||
---------------
|
||||
|
Reference in New Issue
Block a user