1
0
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:
addi
2016-07-09 10:23:29 +02:00
parent 730f23f88f
commit dc02970d08
5 changed files with 67 additions and 206 deletions

View File

@ -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")
---------------