diff options
author | sfan5 <sfan5@live.de> | 2012-01-28 19:01:50 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2012-01-28 19:01:50 +0100 |
commit | 73a04914a0dfba36d1f4759e2f2442afe6179fdd (patch) | |
tree | 38f9528142a87b0795a5f9fd3e8e6ec532031a43 /jeija/init.lua | |
parent | 1b51f26aba26e04e332ad16c08376c1d19b7fdff (diff) |
Torches are working
Diffstat (limited to 'jeija/init.lua')
-rw-r--r-- | jeija/init.lua | 48 |
1 files changed, 18 insertions, 30 deletions
diff --git a/jeija/init.lua b/jeija/init.lua index f766e1d..afc13b6 100644 --- a/jeija/init.lua +++ b/jeija/init.lua @@ -455,49 +455,37 @@ function mesecon:get_rules(name) table.insert(rules, {x=0, y=-1, z=0}) table.insert(rules, {x=0, y=1, z=0}) end - if name=="mesecontorch_x+" then - table.insert(rules, {x=1, y=1, z=0}) + if name=="mesecontorch_x-" then table.insert(rules, {x=1, y=0, z=0}) - table.insert(rules, {x=1, y=-1, z=0}) + table.insert(rules, {x=0, y=0, z=1}) + table.insert(rules, {x=0, y=0, z=-1}) end - if name=="mesecontorch_x-" then - table.insert(rules, {x=-1, y=1, z=0}) + if name=="mesecontorch_x+" then table.insert(rules, {x=-1, y=0, z=0}) - table.insert(rules, {x=-1, y=-1, z=0}) - end - if name=="mesecontorch_z+" then - table.insert(rules, {x=0, y=1, z=1}) table.insert(rules, {x=0, y=0, z=1}) - table.insert(rules, {x=0, y=-1, z=1}) + table.insert(rules, {x=0, y=0, z=-1}) end if name=="mesecontorch_z-" then - table.insert(rules, {x=0, y=1, z=-1}) + table.insert(rules, {x=0, y=0, z=1}) + table.insert(rules, {x=1, y=0, z=0}) + table.insert(rules, {x=-1, y=0, z=0}) + end + if name=="mesecontorch_z+" then table.insert(rules, {x=0, y=0, z=-1}) - table.insert(rules, {x=0, y=-1, z=-1}) + table.insert(rules, {x=1, y=0, z=0}) + table.insert(rules, {x=-1, y=0, z=0}) end - if name=="mesecontorch_y+" then - table.insert(rules, {x=-1, y=1, z=0}) - table.insert(rules, {x=-1, y=1, z=1}) - table.insert(rules, {x=-1, y=1, z=-1}) - + if name=="mesecontorch_y-" then + table.insert(rules, {x=0, y=1, z=0}) table.insert(rules, {x=1, y=1, z=0}) - table.insert(rules, {x=1, y=1, z=1}) - table.insert(rules, {x=1, y=1, z=-1}) - - table.insert(rules, {x=0, y=1, z=0}) + table.insert(rules, {x=-1, y=1, z=0}) table.insert(rules, {x=0, y=1, z=1}) table.insert(rules, {x=0, y=1, z=-1}) end - if name=="mesecontorch_y-" then - table.insert(rules, {x=-1, y=-1, z=0}) - table.insert(rules, {x=-1, y=-1, z=1}) - table.insert(rules, {x=-1, y=-1, z=-1}) - + if name=="mesecontorch_y+" then + table.insert(rules, {x=0, y=-1, z=0}) table.insert(rules, {x=1, y=-1, z=0}) - table.insert(rules, {x=1, y=-1, z=1}) - table.insert(rules, {x=1, y=-1, z=-1}) - - table.insert(rules, {x=0, y=-1, z=0}) + table.insert(rules, {x=-1, y=-1, z=0}) table.insert(rules, {x=0, y=-1, z=1}) table.insert(rules, {x=0, y=-1, z=-1}) end |