StarRailCopilot/route/rogue/Occurrence/Jarilo_GreatMine_F1.py

45 lines
2.0 KiB
Python
Raw Permalink Normal View History

2023-10-05 11:32:47 +00:00
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Jarilo_GreatMine
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
def Jarilo_GreatMine_F1_X153Y271(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((153.8, 271.7)), | 79.8 | 75 |
| event | Waypoint((198.5, 257.0)), | 87.9 | 82 |
| exit_ | Waypoint((198.5, 258.5)), | 342.3 | 80 |
2023-11-18 18:07:09 +00:00
| exit1 | Waypoint((208.9, 243.5)), | 87.8 | 80 |
| exit2 | Waypoint((213.1, 263.5)), | 87.8 | 82 |
2023-10-05 11:32:47 +00:00
"""
self.map_init(plane=Jarilo_GreatMine, floor="F1", position=(153.8, 271.7))
2023-11-18 18:07:09 +00:00
self.register_domain_exit(
Waypoint((198.5, 258.5)), end_rotation=80,
left_door=Waypoint((208.9, 243.5)), right_door=Waypoint((213.1, 263.5)))
2023-10-05 11:32:47 +00:00
event = Waypoint((198.5, 257.0))
self.clear_event(event)
# ===== End of generated waypoints =====
2023-10-07 04:35:21 +00:00
def Jarilo_GreatMine_F1_X277Y605(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((277.5, 605.9)), | 239.8 | 237 |
| event | Waypoint((242.2, 618.8)), | 247.1 | 241 |
| exit_ | Waypoint((241.2, 628.9)), | 149.1 | 241 |
2023-11-18 18:07:09 +00:00
| exit1 | Waypoint((239.7, 637.4)), | 239.8 | 239 |
| exit2 | Waypoint((234.3, 627.4)), | 250.8 | 251 |
2023-10-07 04:35:21 +00:00
"""
self.map_init(plane=Jarilo_GreatMine, floor="F1", position=(277.5, 605.9))
2023-11-18 18:07:09 +00:00
self.register_domain_exit(
Waypoint((241.2, 628.9)), end_rotation=241,
left_door=Waypoint((239.7, 637.4)), right_door=Waypoint((234.3, 627.4)))
2023-10-07 04:35:21 +00:00
event = Waypoint((242.2, 618.8))
self.clear_event(event)
# ===== End of generated waypoints =====