aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-11-25 10:32:26 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-11-25 10:32:26 +0100
commit942b2a11e30dce52843526a58506ffb8b8ce29da (patch)
tree24ff70391127d16bfad6daefcd46a0c120abb86d /init.lua
parent5f377f7b6c3530635064aa5d7d11f034c6eece45 (diff)
parent6f444cd10e6d43404c1f12a8eaf092805724268b (diff)
downloadadvtrains-942b2a11e30dce52843526a58506ffb8b8ce29da.tar.gz
advtrains-942b2a11e30dce52843526a58506ffb8b8ce29da.tar.bz2
advtrains-942b2a11e30dce52843526a58506ffb8b8ce29da.zip
Merge branch 'master' of https://github.com/orwell96/advtrains
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua30
1 files changed, 21 insertions, 9 deletions
diff --git a/init.lua b/init.lua
index 26f5211..41b624e 100644
--- a/init.lua
+++ b/init.lua
@@ -12,19 +12,31 @@ print = function(t) minetest.log("action", t) minetest.chat_send_all(t) end
dofile(advtrains.modpath.."/helpers.lua");
dofile(advtrains.modpath.."/debugitems.lua");
-advtrains.meseconrules = mesecon.rules.pplate
-
-dofile(advtrains.modpath.."/trainlogic.lua");
+advtrains.meseconrules =
+{{x=0, y=0, z=-1},
+ {x=1, y=0, z=0},
+ {x=-1, y=0, z=0},
+ {x=0, y=0, z=1},
+ {x=1, y=1, z=0},
+ {x=1, y=-1, z=0},
+ {x=-1, y=1, z=0},
+ {x=-1, y=-1, z=0},
+ {x=0, y=1, z=1},
+ {x=0, y=-1, z=1},
+ {x=0, y=1, z=-1},
+ {x=0, y=-1, z=-1},
+ {x=0, y=-2, z=0}}
+dofile(advtrains.modpath.."/trainlogic.lua")
dofile(advtrains.modpath.."/trainhud.lua")
dofile(advtrains.modpath.."/trackplacer.lua")
dofile(advtrains.modpath.."/tracks.lua")
dofile(advtrains.modpath.."/atc.lua")
dofile(advtrains.modpath.."/wagons.lua")
-dofile(advtrains.modpath.."/pseudoload.lua");
-dofile(advtrains.modpath.."/couple.lua");
-dofile(advtrains.modpath.."/damage.lua");
+dofile(advtrains.modpath.."/pseudoload.lua")
+dofile(advtrains.modpath.."/couple.lua")
+dofile(advtrains.modpath.."/damage.lua")
-dofile(advtrains.modpath.."/signals.lua");
-dofile(advtrains.modpath.."/misc_nodes.lua");
-dofile(advtrains.modpath.."/crafting.lua");
+dofile(advtrains.modpath.."/signals.lua")
+dofile(advtrains.modpath.."/misc_nodes.lua")
+dofile(advtrains.modpath.."/crafting.lua")