aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains.zipbin1575354 -> 1575411 bytes
-rw-r--r--init.lua16
2 files changed, 14 insertions, 2 deletions
diff --git a/advtrains.zip b/advtrains.zip
index e5a3f15..75c8131 100644
--- a/advtrains.zip
+++ b/advtrains.zip
Binary files differ
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")