Skip to content

Commit

Permalink
Fix: Claer items on the way to dungeon exit
Browse files Browse the repository at this point in the history
  • Loading branch information
LmeSzinc committed Mar 20, 2024
1 parent a650309 commit f2ada19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/rogue/route/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ def domain_single_exit(self, *waypoints):
"""
logger.hr('Domain single exit', level=1)
waypoints = ensure_waypoints(waypoints)

for point in waypoints:
if 'item' not in point.expected_enroute:
point.expected_enroute.append('item')

end_point = waypoints[-1]
end_point.min_speed = 'run'
end_point.interact_radius = 5
Expand Down

0 comments on commit f2ada19

Please sign in to comment.