diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-05-11 10:22:53 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-05-11 10:22:53 -0400 |
commit | 249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3 (patch) | |
tree | 915217a9657158d2a02eb8d93507944f618d5142 /castle_gates | |
parent | af2fedcf9998bb4a854c2cfd63e4cdad91a6dd5d (diff) | |
download | dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.gz dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.bz2 dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.xz dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.zip |
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
Diffstat (limited to 'castle_gates')
-rw-r--r-- | castle_gates/gate_functions.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/castle_gates/gate_functions.lua b/castle_gates/gate_functions.lua index 92150d3..5d1e6b7 100644 --- a/castle_gates/gate_functions.lua +++ b/castle_gates/gate_functions.lua @@ -252,15 +252,10 @@ local get_door_layout = function(pos, facedir, player) local swing_corner = {} -- the corner of the square "arc" that a Minetest gate swings through local scan_dir - minetest.debug(axis) - minetest.debug(backfront) - minetest.debug(leftright) swing_corner[axis] = door_node.pos[axis] swing_corner[backfront] = newpos[backfront] swing_corner[leftright] = door_node.pos[leftright] if not (vector.equals(newpos, swing_corner) or vector.equals(door_node.pos, swing_corner)) then -- we're right next to the hinge, no need for further testing - minetest.debug(dump(newpos)) - minetest.debug(dump(swing_corner)) scan_dir = vector.direction(newpos, swing_corner) -- get the direction from the new door position toward the swing corner repeat newpos = vector.add(newpos, scan_dir) -- we start with newpos on the destination node, which has already been tested. |