2023-10-01 15:20:42 +00:00
|
|
|
from tasks.map.control.waypoint import Waypoint
|
|
|
|
from tasks.map.keywords.plane import Herta_StorageZone
|
|
|
|
from tasks.rogue.route.base import RouteBase
|
|
|
|
|
|
|
|
|
|
|
|
class Route(RouteBase):
|
|
|
|
|
2023-10-20 14:24:30 +00:00
|
|
|
def Herta_StorageZone_F2_X351Y164(self):
|
|
|
|
"""
|
|
|
|
| Waypoint | Position | Direction | Rotation |
|
|
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
|
|
| spawn | Waypoint((351.4, 164.9)), | 274.2 | 274 |
|
|
|
|
| item | Waypoint((342.8, 155.7)), | 274.2 | 274 |
|
|
|
|
| enemy | Waypoint((304.0, 165.4)), | 261.9 | 264 |
|
2023-11-12 14:17:26 +00:00
|
|
|
| exit_ | Waypoint((300.8, 163.8)), | 2.6 | 262 |
|
2023-11-18 18:07:09 +00:00
|
|
|
| exit1 | Waypoint((293.4, 175.3)), | 282.0 | 274 |
|
|
|
|
| exit2 | Waypoint((293.0, 157.2)), | 282.0 | 274 |
|
2023-10-20 14:24:30 +00:00
|
|
|
"""
|
|
|
|
self.map_init(plane=Herta_StorageZone, floor="F2", position=(351.4, 164.9))
|
2023-11-17 16:21:23 +00:00
|
|
|
self.register_domain_exit(
|
|
|
|
Waypoint((300.8, 163.8)), end_rotation=262,
|
2023-11-18 18:07:09 +00:00
|
|
|
left_door=Waypoint((293.4, 175.3)), right_door=Waypoint((293.0, 157.2)))
|
2023-10-20 14:24:30 +00:00
|
|
|
item = Waypoint((342.8, 155.7))
|
|
|
|
enemy = Waypoint((304.0, 165.4))
|
|
|
|
# ===== End of generated waypoints =====
|
|
|
|
|
|
|
|
self.clear_item(item)
|
|
|
|
self.clear_enemy(enemy)
|
|
|
|
|
2023-10-01 15:20:42 +00:00
|
|
|
def Herta_StorageZone_F2_X365Y167(self):
|
|
|
|
"""
|
|
|
|
| Waypoint | Position | Direction | Rotation |
|
|
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
|
|
| spawn | Waypoint((365.1, 167.2)), | 274.2 | 274 |
|
|
|
|
| item | Waypoint((330.0, 175.6)), | 271.8 | 267 |
|
|
|
|
| enemy | Waypoint((300.2, 166.0)), | 284.9 | 94 |
|
2023-11-12 14:17:26 +00:00
|
|
|
| exit_ | Waypoint((304.0, 166.0)), | 271.8 | 267 |
|
2023-11-17 16:21:23 +00:00
|
|
|
| exit1 | Waypoint((293.4, 175.3)), | 282.0 | 274 |
|
|
|
|
| exit2 | Waypoint((293.0, 157.2)), | 282.0 | 274 |
|
2023-10-01 15:20:42 +00:00
|
|
|
"""
|
|
|
|
self.map_init(plane=Herta_StorageZone, floor="F2", position=(365.1, 167.2))
|
2023-11-17 16:21:23 +00:00
|
|
|
self.register_domain_exit(
|
|
|
|
Waypoint((304.0, 166.0)), end_rotation=267,
|
|
|
|
left_door=Waypoint((293.4, 175.3)), right_door=Waypoint((293.0, 157.2)))
|
2023-10-01 15:20:42 +00:00
|
|
|
item = Waypoint((330.0, 175.6))
|
|
|
|
enemy = Waypoint((300.2, 166.0))
|
|
|
|
# ===== End of generated waypoints =====
|
|
|
|
|
|
|
|
self.clear_item(item)
|
|
|
|
self.clear_enemy(enemy)
|
|
|
|
|
|
|
|
def Herta_StorageZone_F2_X515Y219(self):
|
|
|
|
"""
|
2023-11-13 08:21:25 +00:00
|
|
|
| Waypoint | Position | Direction | Rotation |
|
|
|
|
| ----------- | ------------------------- | --------- | -------- |
|
|
|
|
| spawn | Waypoint((515.5, 219.3)), | 354.1 | 348 |
|
|
|
|
| node1 | Waypoint((525.4, 181.0)), | 2.7 | 357 |
|
|
|
|
| event | Waypoint((531.8, 180.0)), | 23.8 | 22 |
|
|
|
|
| enemy1right | Waypoint((518.8, 168.6)), | 75.1 | 253 |
|
|
|
|
| item1 | Waypoint((537.0, 165.2)), | 30.1 | 27 |
|
|
|
|
| enemy1left | Waypoint((475.9, 166.1)), | 282.7 | 276 |
|
|
|
|
| item2 | Waypoint((442.0, 196.5)), | 216.5 | 214 |
|
|
|
|
| node2 | Waypoint((448.4, 180.6)), | 246.5 | 241 |
|
|
|
|
| node3 | Waypoint((402.2, 199.4)), | 282.9 | 276 |
|
|
|
|
| enemy3 | Waypoint((370.7, 163.1)), | 215.8 | 304 |
|
2023-11-14 17:37:18 +00:00
|
|
|
| item4 | Waypoint((343.0, 157.2)), | 293.1 | 290 |
|
2023-11-13 08:21:25 +00:00
|
|
|
| enemy4 | Waypoint((301.8, 164.4)), | 278.3 | 276 |
|
|
|
|
| exit_ | Waypoint((300.4, 164.5)), | 274.2 | 274 |
|
2023-11-14 17:37:18 +00:00
|
|
|
| exit1 | Waypoint((292.0, 171.0)), | 261.7 | 260 |
|
|
|
|
| exit2 | Waypoint((292.6, 158.5)), | 282.9 | 281 |
|
2023-10-01 15:20:42 +00:00
|
|
|
"""
|
|
|
|
self.map_init(plane=Herta_StorageZone, floor="F2", position=(515.5, 219.3))
|
2023-11-14 17:37:18 +00:00
|
|
|
self.register_domain_exit(
|
|
|
|
Waypoint((300.4, 164.5)), end_rotation=274,
|
|
|
|
left_door=Waypoint((292.0, 171.0)), right_door=Waypoint((292.6, 158.5)))
|
2023-10-01 15:20:42 +00:00
|
|
|
node1 = Waypoint((525.4, 181.0))
|
|
|
|
event = Waypoint((531.8, 180.0))
|
|
|
|
enemy1right = Waypoint((518.8, 168.6))
|
|
|
|
item1 = Waypoint((537.0, 165.2))
|
2023-11-13 08:21:25 +00:00
|
|
|
enemy1left = Waypoint((475.9, 166.1))
|
|
|
|
item2 = Waypoint((442.0, 196.5))
|
2023-10-01 15:20:42 +00:00
|
|
|
node2 = Waypoint((448.4, 180.6))
|
|
|
|
node3 = Waypoint((402.2, 199.4))
|
|
|
|
enemy3 = Waypoint((370.7, 163.1))
|
2023-11-14 17:37:18 +00:00
|
|
|
item4 = Waypoint((343.0, 157.2))
|
2023-10-01 15:20:42 +00:00
|
|
|
enemy4 = Waypoint((301.8, 164.4))
|
|
|
|
# ===== End of generated waypoints =====
|
|
|
|
|
|
|
|
# 1
|
|
|
|
self.clear_item(
|
|
|
|
# Ignore event, go through node1
|
|
|
|
event.straight_run(),
|
|
|
|
item1,
|
|
|
|
)
|
|
|
|
self.clear_enemy(
|
|
|
|
enemy1right.straight_run(),
|
|
|
|
enemy1left.straight_run(),
|
|
|
|
)
|
|
|
|
# 2
|
|
|
|
self.clear_item(
|
|
|
|
# Go through enemy1left
|
|
|
|
enemy1left,
|
|
|
|
node2.straight_run(),
|
2023-11-13 08:21:25 +00:00
|
|
|
item2,
|
2023-10-01 15:20:42 +00:00
|
|
|
)
|
|
|
|
# 3
|
|
|
|
self.clear_enemy(
|
|
|
|
node3.straight_run(),
|
|
|
|
enemy3.straight_run(),
|
|
|
|
)
|
|
|
|
# 4
|
2023-11-14 17:37:18 +00:00
|
|
|
self.clear_item(
|
2023-10-22 18:24:02 +00:00
|
|
|
enemy3,
|
2023-11-14 17:37:18 +00:00
|
|
|
item4,
|
|
|
|
)
|
|
|
|
self.clear_enemy(
|
2023-10-01 15:20:42 +00:00
|
|
|
enemy4.straight_run(),
|
|
|
|
)
|