StarRailCopilot/route/rogue/Occurrence/Luofu_StargazerNavalia_F1.py

52 lines
2.5 KiB
Python
Raw Normal View History

2023-10-18 17:21:20 +00:00
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_StargazerNavalia
2023-11-26 16:58:58 +00:00
from tasks.map.route.base import locked_position, locked_rotation
2023-10-18 17:21:20 +00:00
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
@locked_position
2023-11-26 16:58:58 +00:00
@locked_rotation(180)
2023-10-18 17:21:20 +00:00
def Luofu_StargazerNavalia_F1_X250Y498(self):
"""
2023-11-17 16:21:23 +00:00
| Waypoint | Position | Direction | Rotation |
| -------------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((249.4, 498.5)), | 190.1 | 184 |
| event | Waypoint((236.9, 535.2)), | 206.2 | 200 |
| exit_ | Waypoint((245.3, 550.1)), | 282.9 | 181 |
| exit1_X255Y562 | Waypoint((255.5, 562.5)), | 180.1 | 184 |
| exit2_X237Y559 | Waypoint((237.4, 559.3)), | 191.8 | 184 |
2023-10-18 17:21:20 +00:00
"""
self.map_init(plane=Luofu_StargazerNavalia, floor="F1", position=(249.4, 498.5))
2023-11-17 16:21:23 +00:00
self.register_domain_exit(
Waypoint((245.3, 550.1)), end_rotation=181,
left_door=Waypoint((255.5, 562.5)), right_door=Waypoint((237.4, 559.3)))
event = Waypoint((236.9, 535.2))
2023-10-18 17:21:20 +00:00
self.clear_event(event)
2023-10-18 17:21:20 +00:00
# ===== End of generated waypoints =====
@locked_position
2023-10-18 17:21:20 +00:00
def Luofu_StargazerNavalia_F1_X521Y595(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((521.6, 595.4)), | 190.1 | 184 |
2023-10-20 14:24:30 +00:00
| item_X504Y610 | Waypoint((504.0, 610.0)), | 188.9 | 186 |
2023-10-18 17:21:20 +00:00
| event_X510Y626 | Waypoint((510.6, 626.4)), | 282.9 | 181 |
| exit_ | Waypoint((522.2, 630.6)), | 190.0 | 184 |
2023-11-15 10:40:27 +00:00
| exit1 | Waypoint((528.2, 636.2)), | 180.0 | 179 |
| exit2 | Waypoint((516.0, 636.2)), | 180.0 | 179 |
2023-10-18 17:21:20 +00:00
"""
self.map_init(plane=Luofu_StargazerNavalia, floor="F1", position=(521.6, 595.4))
2023-11-15 10:40:27 +00:00
self.register_domain_exit(
Waypoint((522.2, 630.6)), end_rotation=184,
left_door=Waypoint((528.2, 636.2)), right_door=Waypoint((516.0, 636.2)))
2023-10-20 14:24:30 +00:00
item_X504Y610 = Waypoint((504.0, 610.0))
2023-10-18 17:21:20 +00:00
event_X510Y626 = Waypoint((510.6, 626.4))
2023-10-20 14:24:30 +00:00
self.clear_item(item_X504Y610)
2023-10-18 17:21:20 +00:00
self.clear_event(event_X510Y626)
# ===== End of generated waypoints =====