StarRailCopilot/route/rogue/Respite/Luofu_ArtisanshipCommission_F1.py

28 lines
1.1 KiB
Python
Raw Normal View History

2023-10-01 15:20:42 +00:00
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_ArtisanshipCommission
2023-10-23 15:48:23 +00:00
from tasks.map.route.base import locked_position
2023-10-01 15:20:42 +00:00
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
2023-10-23 15:48:23 +00:00
@locked_position
2023-10-01 15:20:42 +00:00
def Luofu_ArtisanshipCommission_F1_X299Y863(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((299.6, 863.4)), | 6.7 | 4 |
| item | Waypoint((306.8, 850.6)), | 33.9 | 31 |
| herta | Waypoint((309.2, 821.0)), | 11.2 | 8 |
| exit_ | Waypoint((301.0, 808.4)), | 2.7 | 357 |
2023-10-01 15:20:42 +00:00
"""
self.map_init(plane=Luofu_ArtisanshipCommission, floor="F1", position=(299.6, 863.4))
item = Waypoint((306.8, 850.6))
herta = Waypoint((309.2, 821.0))
2023-10-01 15:20:42 +00:00
exit_ = Waypoint((301.0, 808.4))
self.clear_item(item)
self.domain_herta(herta)
self.domain_single_exit(exit_)
# ===== End of generated waypoints =====