aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/init.lua
blob: 19501b680a486e08a7326f3fd1379cb3eebaeea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- 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")
dofile(modpath.."train_related.lua")
dofile(modpath.."route_prog.lua")
dofile(modpath.."routesetting.lua")
dofile(modpath.."tcb_ts_ui.lua")

minetest.register_privilege("interlocking", {description = "Can set up track sections, routes and signals.", give_to_singleplayer = true})