Skip to content

Commit

Permalink
✨ feat(TreeGnomeStronghold.kts): Fix door traversal logic for Gnome…
Browse files Browse the repository at this point in the history
… Stronghold (#593)

Co-authored-by: Emill <[email protected]>
  • Loading branch information
ekmillard and Emill authored Jan 22, 2025
1 parent 0731eac commit cad1007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ objectOperate("Open", "tree_gnome_door_east_closed", "tree_gnome_door_west_close
delay()
player.face(target)
}
player.walkOver(player.tile.addY(if (player.tile.y < target.tile.y) 2 else -2))
target.replace(target.id.replace("_closed", "_opened"), ticks = 4)
player.walkOver(player.tile.addY(if (player.tile.y < target.tile.y) 2 else -2))
}

0 comments on commit cad1007

Please sign in to comment.