2017-12-23 16:33:05 +00:00
|
|
|
ctf_map = {}
|
|
|
|
|
|
|
|
dofile(minetest.get_modpath("ctf_map") .. "/nodes.lua")
|
|
|
|
dofile(minetest.get_modpath("ctf_map") .. "/emerge.lua")
|
|
|
|
dofile(minetest.get_modpath("ctf_map") .. "/barrier.lua")
|
|
|
|
|
|
|
|
|
|
|
|
if minetest.get_modpath("ctf") then
|
|
|
|
dofile(minetest.get_modpath("ctf_map") .. "/schem_map.lua")
|
2018-01-21 22:10:37 +00:00
|
|
|
dofile(minetest.get_modpath("ctf_map") .. "/give_initial_stuff.lua")
|
2017-12-23 16:33:05 +00:00
|
|
|
|
|
|
|
assert(ctf_match)
|
|
|
|
ctf_match.register_on_build_time_end(ctf_map.remove_middle_barrier)
|
|
|
|
else
|
|
|
|
dofile(minetest.get_modpath("ctf_map") .. "/map_maker.lua")
|
|
|
|
end
|