diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-06 14:22:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 14:22:25 -0500 |
commit | 60b5ca5594143025a2d2f8683a773c0506eb7c11 (patch) | |
tree | c8ddfd83644669f24939e5461fe992db30ba11bd | |
parent | dd580e7684408f8cc7e6fbdd895e8972ad5362dd (diff) | |
parent | 5dd61911759bd452009e27c4f2d5b337f49f55c7 (diff) |
Merge pull request #308 from thatgraemeguy/mk3_drill_fix
Make mk3 drill in 3x3 mode drill nodes from top to bottom
-rw-r--r-- | technic/tools/mining_drill.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/technic/tools/mining_drill.lua b/technic/tools/mining_drill.lua index ad60d1a..bc426e7 100644 --- a/technic/tools/mining_drill.lua +++ b/technic/tools/mining_drill.lua @@ -71,20 +71,21 @@ local function drill_dig_it1 (player) end local function drill_dig_it2 (pos,player) + pos.y=pos.y+1 drill_dig_it0 (pos,player) pos.z=pos.z+1 drill_dig_it0 (pos,player) pos.z=pos.z-2 drill_dig_it0 (pos,player) pos.z=pos.z+1 - pos.y=pos.y+1 + pos.y=pos.y-1 drill_dig_it0 (pos,player) pos.z=pos.z+1 drill_dig_it0 (pos,player) pos.z=pos.z-2 drill_dig_it0 (pos,player) pos.z=pos.z+1 - pos.y=pos.y-2 + pos.y=pos.y-1 drill_dig_it0 (pos,player) pos.z=pos.z+1 drill_dig_it0 (pos,player) @@ -93,20 +94,21 @@ local function drill_dig_it2 (pos,player) end local function drill_dig_it3 (pos,player) + pos.y=pos.y+1 drill_dig_it0 (pos,player) pos.x=pos.x+1 drill_dig_it0 (pos,player) pos.x=pos.x-2 drill_dig_it0 (pos,player) pos.x=pos.x+1 - pos.y=pos.y+1 + pos.y=pos.y-1 drill_dig_it0 (pos,player) pos.x=pos.x+1 drill_dig_it0 (pos,player) pos.x=pos.x-2 drill_dig_it0 (pos,player) pos.x=pos.x+1 - pos.y=pos.y-2 + pos.y=pos.y-1 drill_dig_it0 (pos,player) pos.x=pos.x+1 drill_dig_it0 (pos,player) |