diff options
author | orwell96 <mono96.mml@gmail.com> | 2016-11-21 19:56:10 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2016-11-21 19:56:10 +0100 |
commit | 1d6cd1289513f6674ef5782d89bdc6d3405f176b (patch) | |
tree | ef79bcc102e77546ea1d8179ac72316a5ee34fef /init.lua | |
parent | 3cb4ab79b58dc8e265d767ff43923c8dffa5c940 (diff) | |
download | advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.tar.gz advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.tar.bz2 advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.zip |
Make mesecons optional again
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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") |