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

179 lines
8.0 KiB
Python

from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Herta_SupplyZone
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
def Herta_SupplyZone_F2Rogue_X209Y113(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((219.6, 113.1)), | 96.7 | 91 |
| item | Waypoint((230.9, 106.7)), | 326.8 | 80 |
| event | Waypoint((256.6, 118.2)), | 96.8 | 96 |
| exit_ | Waypoint((262.5, 112.9)), | 96.7 | 91 |
| exit1 | Waypoint((269.6, 107.0)), | 101.1 | 91 |
| exit2 | Waypoint((269.5, 118.9)), | 101.1 | 91 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(209.6, 113.1))
self.register_domain_exit(
Waypoint((262.5, 112.9)), end_rotation=91,
left_door=Waypoint((269.6, 107.0)), right_door=Waypoint((269.5, 118.9)))
item = Waypoint((230.9, 106.7))
event = Waypoint((256.6, 118.2))
self.clear_item(item)
self.clear_event(event)
# ===== End of generated waypoints =====
"""
Notes
Herta_SupplyZone_F2Rogue_X209Y113 is the same as Herta_SupplyZone_F2Rogue_X219Y113
but for wrong spawn point detected
"""
def Herta_SupplyZone_F2Rogue_X214Y113(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((219.6, 113.1)), | 96.7 | 91 |
| item | Waypoint((230.9, 106.7)), | 326.8 | 80 |
| event | Waypoint((256.6, 118.2)), | 96.8 | 96 |
| exit_ | Waypoint((262.5, 112.9)), | 96.7 | 91 |
| exit1 | Waypoint((269.6, 107.0)), | 101.1 | 91 |
| exit2 | Waypoint((269.5, 118.9)), | 101.1 | 91 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(214.6, 113.1))
self.register_domain_exit(
Waypoint((262.5, 112.9)), end_rotation=91,
left_door=Waypoint((269.6, 107.0)), right_door=Waypoint((269.5, 118.9)))
item = Waypoint((230.9, 106.7))
event = Waypoint((256.6, 118.2))
self.clear_item(item)
self.clear_event(event)
# ===== End of generated waypoints =====
"""
Notes
Herta_SupplyZone_F2Rogue_X214Y113 is the same as Herta_SupplyZone_F2Rogue_X219Y113
but for wrong spawn point detected
"""
def Herta_SupplyZone_F2Rogue_X219Y113(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((219.6, 113.1)), | 96.7 | 91 |
| item | Waypoint((230.9, 106.7)), | 326.8 | 80 |
| event | Waypoint((256.6, 118.2)), | 96.8 | 96 |
| exit_ | Waypoint((262.5, 112.9)), | 96.7 | 91 |
| exit1 | Waypoint((269.6, 107.0)), | 101.1 | 91 |
| exit2 | Waypoint((269.5, 118.9)), | 101.1 | 91 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(219.6, 113.1))
self.register_domain_exit(
Waypoint((262.5, 112.9)), end_rotation=91,
left_door=Waypoint((269.6, 107.0)), right_door=Waypoint((269.5, 118.9)))
item = Waypoint((230.9, 106.7))
event = Waypoint((256.6, 118.2))
self.clear_item(item)
self.clear_event(event)
# ===== End of generated waypoints =====
def Herta_SupplyZone_F2Rogue_X397Y223(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((397.4, 223.3)), | 6.7 | 4 |
| event | Waypoint((404.5, 182.1)), | 26.8 | 24 |
| exit_ | Waypoint((398.6, 173.0)), | 4.2 | 1 |
| exit1 | Waypoint((391.4, 170.9)), | 11.2 | 8 |
| exit2 | Waypoint((402.4, 170.0)), | 11.2 | 11 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(397.4, 223.3))
self.register_domain_exit(
Waypoint((398.6, 173.0)), end_rotation=1,
left_door=Waypoint((391.4, 170.9)), right_door=Waypoint((402.4, 170.0)))
event = Waypoint((404.5, 182.1))
self.clear_event(event)
# ===== End of generated waypoints =====
def Herta_SupplyZone_F2Rogue_X397Y227(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((397.4, 223.3)), | 6.7 | 4 |
| event | Waypoint((404.5, 182.1)), | 26.8 | 24 |
| exit_ | Waypoint((398.6, 173.0)), | 4.2 | 1 |
| exit1 | Waypoint((391.4, 170.9)), | 11.2 | 8 |
| exit2 | Waypoint((402.4, 170.0)), | 11.2 | 11 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(397.4, 227))
self.register_domain_exit(
Waypoint((398.6, 173.0)), end_rotation=1,
left_door=Waypoint((391.4, 170.9)), right_door=Waypoint((402.4, 170.0)))
event = Waypoint((404.5, 182.1))
self.clear_event(event)
# ===== End of generated waypoints =====
"""
Notes
Herta_SupplyZone_F2Rogue_X397Y227 is the same as Herta_SupplyZone_F2Rogue_X397Y223
but for wrong spawn point detected
"""
def Herta_SupplyZone_F2Rogue_X397Y230(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((397.4, 223.3)), | 6.7 | 4 |
| event | Waypoint((404.5, 182.1)), | 26.8 | 24 |
| exit_ | Waypoint((398.6, 173.0)), | 4.2 | 1 |
| exit1 | Waypoint((391.4, 170.9)), | 11.2 | 8 |
| exit2 | Waypoint((402.4, 170.0)), | 11.2 | 11 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(397.4, 230))
self.register_domain_exit(
Waypoint((398.6, 173.0)), end_rotation=1,
left_door=Waypoint((391.4, 170.9)), right_door=Waypoint((402.4, 170.0)))
event = Waypoint((404.5, 182.1))
self.clear_event(event)
# ===== End of generated waypoints =====
"""
Notes
Herta_SupplyZone_F2Rogue_X397Y230 is the same as Herta_SupplyZone_F2Rogue_X397Y223
but for wrong spawn point detected
"""
def Herta_SupplyZone_F2Rogue_X397Y235(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((397.4, 223.3)), | 6.7 | 4 |
| event | Waypoint((404.5, 182.1)), | 26.8 | 24 |
| exit_ | Waypoint((398.6, 173.0)), | 4.2 | 1 |
| exit1 | Waypoint((391.4, 170.9)), | 11.2 | 8 |
| exit2 | Waypoint((402.4, 170.0)), | 11.2 | 11 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(397.4, 235))
self.register_domain_exit(
Waypoint((398.6, 173.0)), end_rotation=1,
left_door=Waypoint((391.4, 170.9)), right_door=Waypoint((402.4, 170.0)))
event = Waypoint((404.5, 182.1))
self.clear_event(event)
# ===== End of generated waypoints =====
"""
Notes
Herta_SupplyZone_F2Rogue_X397Y235 is the same as Herta_SupplyZone_F2Rogue_X397Y223
but for wrong spawn point detected
"""