2018-06-19 10:50:11 -07:00
|
|
|
-- Advtrains interlocking system
|
|
|
|
-- See database.lua for a detailed explanation
|
|
|
|
|
|
|
|
advtrains.interlocking = {}
|
|
|
|
|
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname()) .. DIR_DELIM
|
|
|
|
|
|
|
|
dofile(modpath.."database.lua")
|
|
|
|
dofile(modpath.."signal_api.lua")
|
|
|
|
dofile(modpath.."demosignals.lua")
|
2018-06-29 02:50:55 -07:00
|
|
|
dofile(modpath.."train_related.lua")
|
2018-07-04 08:48:33 -07:00
|
|
|
dofile(modpath.."route_prog.lua")
|
2018-07-21 07:31:00 -07:00
|
|
|
dofile(modpath.."routesetting.lua")
|
2018-08-03 10:20:10 -07:00
|
|
|
dofile(modpath.."tcb_ts_ui.lua")
|
2018-08-12 08:23:52 -07:00
|
|
|
|
|
|
|
minetest.register_privilege("interlocking", {description = "Can set up track sections, routes and signals.", give_to_singleplayer = true})
|