aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-05-29 20:27:30 +0200
committerorwell96 <mono96.mml@gmail.com>2016-05-29 20:27:30 +0200
commit2c864564d25eb1b30a359f62a8dcf9508cf7f104 (patch)
treed62d3f99183646b6faa56b0ce6e3a701de2a0626 /init.lua
downloadadvtrains-2c864564d25eb1b30a359f62a8dcf9508cf7f104.tar.gz
advtrains-2c864564d25eb1b30a359f62a8dcf9508cf7f104.tar.bz2
advtrains-2c864564d25eb1b30a359f62a8dcf9508cf7f104.zip
created git repository
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..bc3b366
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,19 @@
+--advtrains
+
+advtrains={}
+
+advtrains.modpath = minetest.get_modpath("advtrains")
+
+print=function(text)
+ minetest.log("action", tostring(text) or "<non-string>")
+end
+
+
+dofile(advtrains.modpath.."/helpers.lua");
+dofile(advtrains.modpath.."/debugitems.lua");
+
+dofile(advtrains.modpath.."/trainlogic.lua");
+dofile(advtrains.modpath.."/trainhud.lua")
+dofile(advtrains.modpath.."/trackplacer.lua")
+dofile(advtrains.modpath.."/tracks.lua")
+dofile(advtrains.modpath.."/wagons.lua")