mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 22:38:49 +00:00
61 lines
2.8 KiB
Python
61 lines
2.8 KiB
Python
from tasks.map.control.waypoint import Waypoint
|
|
from tasks.map.keywords.plane import Jarilo_SilvermaneGuardRestrictedZone
|
|
from tasks.rogue.route.base import RouteBase
|
|
|
|
|
|
class Route(RouteBase):
|
|
|
|
def Jarilo_SilvermaneGuardRestrictedZone_F1_X377Y505(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((377.4, 505.6)), | 96.7 | 91 |
|
|
| item | Waypoint((397.0, 514.4)), | 119.8 | 117 |
|
|
| event | Waypoint((422.2, 506.4)), | 92.7 | 84 |
|
|
| exit | Waypoint((423.8, 505.7)), | 96.8 | 91 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(377.4, 505.6))
|
|
self.register_domain_exit(Waypoint((423.8, 505.7)), end_rotation=91)
|
|
item = Waypoint((397.0, 514.4))
|
|
event = Waypoint((422.2, 506.4))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|
|
|
|
def Jarilo_SilvermaneGuardRestrictedZone_F1_X439Y237(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((439.3, 237.1)), | 354.1 | 348 |
|
|
| item | Waypoint((440.8, 215.2)), | 15.6 | 11 |
|
|
| event | Waypoint((434.8, 192.4)), | 355.9 | 359 |
|
|
| exit | Waypoint((428.6, 190.4)), | 76.4 | 338 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(439.3, 237.1))
|
|
self.register_domain_exit(Waypoint((428.6, 190.4)), end_rotation=338)
|
|
item = Waypoint((440.8, 215.2))
|
|
event = Waypoint((434.8, 192.4))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|
|
|
|
def Jarilo_SilvermaneGuardRestrictedZone_F1_X509Y541(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((509.4, 541.3)), | 96.7 | 91 |
|
|
| item | Waypoint((539.4, 533.0)), | 76.4 | 66 |
|
|
| event | Waypoint((552.9, 547.7)), | 105.5 | 98 |
|
|
| exit | Waypoint((557.1, 543.0)), | 96.8 | 89 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(509.4, 541.3))
|
|
self.register_domain_exit(Waypoint((557.1, 543.0)), end_rotation=89)
|
|
item = Waypoint((539.4, 533.0))
|
|
event = Waypoint((552.9, 547.7))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|