StarRailCopilot/route/rogue/Occurrence/Luofu_Cloudford_F1.py

82 lines
3.5 KiB
Python
Raw Normal View History

2023-10-04 03:15:14 +00:00
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_Cloudford
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
def Luofu_Cloudford_F1_X241Y947(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
2023-10-04 21:09:50 +00:00
| spawn | Waypoint((241.4, 947.5)), | 274.2 | 274 |
2023-10-04 03:15:14 +00:00
| event | Waypoint((199.0, 940.8)), | 300.1 | 294 |
| exit | Waypoint((193.1, 947.2)), | 12.8 | 274 |
"""
2023-10-04 21:09:50 +00:00
self.map_init(plane=Luofu_Cloudford, floor="F1", position=(241.4, 947.5))
2023-10-04 03:15:14 +00:00
self.register_domain_exit(Waypoint((193.1, 947.2)), end_rotation=274)
event = Waypoint((199.0, 940.8))
self.clear_event(event)
# ===== End of generated waypoints =====
2023-10-05 11:32:47 +00:00
2023-10-07 17:15:15 +00:00
def Luofu_Cloudford_F1_X281Y873(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((283.2, 865.2)), | 6.7 | 4 |
| item | Waypoint((272.2, 840.2)), | 332.7 | 327 |
| event | Waypoint((291.8, 822.2)), | 26.8 | 22 |
| exit | Waypoint((285.3, 818.1)), | 99.0 | 1 |
"""
self.map_init(plane=Luofu_Cloudford, floor="F1", position=(281, 873))
self.register_domain_exit(Waypoint((285.3, 818.1)), end_rotation=1)
item = Waypoint((272.2, 840.2))
event = Waypoint((291.8, 822.2))
self.clear_item(item)
self.clear_event(event)
# ===== End of generated waypoints =====
"""
Notes
Luofu_Cloudford_F1_X281Y873 is the same as Luofu_Cloudford_F1_X283Y865
but for wrong spawn point detected
"""
2023-10-05 11:32:47 +00:00
def Luofu_Cloudford_F1_X283Y865(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((283.2, 865.2)), | 6.7 | 4 |
| item | Waypoint((272.2, 840.2)), | 332.7 | 327 |
| event | Waypoint((291.8, 822.2)), | 26.8 | 22 |
| exit | Waypoint((285.3, 818.1)), | 99.0 | 1 |
2023-10-05 11:32:47 +00:00
"""
self.map_init(plane=Luofu_Cloudford, floor="F1", position=(283.2, 865.2))
self.register_domain_exit(Waypoint((285.3, 818.1)), end_rotation=1)
2023-10-05 11:32:47 +00:00
item = Waypoint((272.2, 840.2))
event = Waypoint((291.8, 822.2))
self.clear_item(item)
self.clear_event(event)
# ===== End of generated waypoints =====
2023-10-07 17:15:15 +00:00
def Luofu_Cloudford_F1_X537Y373(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((537.4, 373.3)), | 96.7 | 91 |
| item | Waypoint((567.0, 346.6)), | 96.7 | 91 |
| event | Waypoint((580.8, 363.0)), | 94.2 | 91 |
| exit | Waypoint((593.4, 373.4)), | 96.7 | 94 |
"""
self.map_init(plane=Luofu_Cloudford, floor="F1", position=(537.4, 373.3))
self.register_domain_exit(Waypoint((593.4, 373.4)), end_rotation=94)
item = Waypoint((567.0, 346.6))
event = Waypoint((580.8, 363.0))
self.clear_item(item)
self.clear_event(event)
# ===== End of generated waypoints =====