mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
45 lines
2.0 KiB
Python
45 lines
2.0 KiB
Python
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 |
|
|
| exit1 | Waypoint((208.9, 243.5)), | 87.8 | 80 |
|
|
| exit2 | Waypoint((213.1, 263.5)), | 87.8 | 82 |
|
|
"""
|
|
self.map_init(plane=Jarilo_GreatMine, floor="F1", position=(153.8, 271.7))
|
|
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)))
|
|
event = Waypoint((198.5, 257.0))
|
|
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|
|
|
|
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 |
|
|
| exit1 | Waypoint((239.7, 637.4)), | 239.8 | 239 |
|
|
| exit2 | Waypoint((234.3, 627.4)), | 250.8 | 251 |
|
|
"""
|
|
self.map_init(plane=Jarilo_GreatMine, floor="F1", position=(277.5, 605.9))
|
|
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)))
|
|
event = Waypoint((242.2, 618.8))
|
|
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|