StarRailCopilot/route/rogue/Occurrence/Luofu_StargazerNavalia_F2.py

28 lines
1.2 KiB
Python
Raw Normal View History

2023-10-05 11:32:47 +00:00
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_StargazerNavalia
2023-11-16 17:32:32 +00:00
from tasks.map.route.base import locked_rotation
2023-10-05 11:32:47 +00:00
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
2023-11-16 17:32:32 +00:00
@locked_rotation(90)
2023-10-05 11:32:47 +00:00
def Luofu_StargazerNavalia_F2_X579Y183(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((579.8, 183.5)), | 96.7 | 91 |
2023-10-18 05:49:44 +00:00
| event | Waypoint((615.3, 195.5)), | 105.6 | 66 |
| exit_ | Waypoint((627.2, 183.5)), | 96.7 | 91 |
| exit1 | Waypoint((629.2, 179.2)), | 98.9 | 89 |
| exit2 | Waypoint((630.9, 191.7)), | 99.0 | 89 |
2023-10-05 11:32:47 +00:00
"""
self.map_init(plane=Luofu_StargazerNavalia, floor="F2", position=(579.8, 183.5))
self.register_domain_exit(
Waypoint((627.2, 183.5)), end_rotation=91,
left_door=Waypoint((629.2, 179.2)), right_door=Waypoint((630.9, 191.7)))
2023-10-18 05:49:44 +00:00
event = Waypoint((615.3, 195.5))
2023-10-05 11:32:47 +00:00
self.clear_event(event)
# ===== End of generated waypoints =====