StarRailCopilot/route/rogue/Occurrence/Jarilo_SilvermaneGuardRestrictedZone_F1.py
2023-11-18 03:53:58 +08:00

69 lines
3.3 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 |
| exit1 | Waypoint((433.7, 501.3)), | 96.8 | 91 |
| exit2 | Waypoint((434.7, 511.4)), | 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,
left_door=Waypoint((433.7, 501.3)), right_door=Waypoint((434.7, 511.4)))
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 |
| exit1 | Waypoint((416.8, 184.4)), | 337.5 | 334 |
| exit2 | Waypoint((428.8, 180.4)), | 339.1 | 336 |
"""
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,
left_door=Waypoint((416.8, 184.4)), right_door=Waypoint((428.8, 180.4)))
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 =====