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 | |
parent | 3cb4ab79b58dc8e265d767ff43923c8dffa5c940 (diff) | |
download | advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.tar.gz advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.tar.bz2 advtrains-1d6cd1289513f6674ef5782d89bdc6d3405f176b.zip |
Make mesecons optional again
-rw-r--r-- | advtrains.zip | bin | 1575354 -> 1575411 bytes | |||
-rw-r--r-- | init.lua | 16 |
2 files changed, 14 insertions, 2 deletions
diff --git a/advtrains.zip b/advtrains.zip Binary files differindex e5a3f15..75c8131 100644 --- a/advtrains.zip +++ b/advtrains.zip @@ -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") |