aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-11-21 19:56:10 +0100
committerorwell96 <mono96.mml@gmail.com>2016-11-21 19:56:10 +0100
commit1d6cd1289513f6674ef5782d89bdc6d3405f176b (patch)
treeef79bcc102e77546ea1d8179ac72316a5ee34fef /init.lua
parent3cb4ab79b58dc8e265d767ff43923c8dffa5c940 (diff)
downloadadvtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.tar.gz
advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.tar.bz2
advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.zip
Make mesecons optional again
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua16
1 files changed, 14 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 26f5211..37904e6 100644
--- a/init.lua
+++ b/init.lua
@@ -12,8 +12,20 @@ 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
-
+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")