From 1d6cd1289513f6674ef5782d89bdc6d3405f176b Mon Sep 17 00:00:00 2001 From: orwell96 Date: Mon, 21 Nov 2016 19:56:10 +0100 Subject: Make mesecons optional again --- advtrains.zip | Bin 1575354 -> 1575411 bytes init.lua | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/advtrains.zip b/advtrains.zip index e5a3f15..75c8131 100644 Binary files a/advtrains.zip and b/advtrains.zip 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") -- cgit v1.2.3