This repository was archived by the owner on Apr 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeep_rock_galactic_game.py
More file actions
260 lines (229 loc) · 7.47 KB
/
deep_rock_galactic_game.py
File metadata and controls
260 lines (229 loc) · 7.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
from __future__ import annotations
from typing import List
from dataclasses import dataclass
from ..game import Game
from ..game_objective_template import GameObjectiveTemplate
from ..enums import KeymastersKeepGamePlatforms
@dataclass
class DeepRockGalacticArchipelagoOptions:
pass
class DeepRockGalacticGame(Game):
name = "Deep Rock Galactic"
platform = KeymastersKeepGamePlatforms.PC
platforms_other = [
KeymastersKeepGamePlatforms.PS4,
KeymastersKeepGamePlatforms.PS5,
KeymastersKeepGamePlatforms.XONE,
KeymastersKeepGamePlatforms.XSX,
]
is_adult_only_or_unrated = False
options_cls = DeepRockGalacticArchipelagoOptions
def optional_game_constraint_templates(self) -> List[GameObjectiveTemplate]:
return [
GameObjectiveTemplate(
label="Set Hazard Level to LEVEL",
data={
"LEVEL": (self.hazard_levels, 1),
},
),
]
def game_objective_templates(self) -> List[GameObjectiveTemplate]:
return [
GameObjectiveTemplate(
label="Beat 1x MISSION_TYPE mission as Driller. Primary: PRIMARY Secondary: SECONDARY Throwable: THROWABLE",
data={
"MISSION_TYPE": (self.mission_types, 1),
"PRIMARY": (self.weapons_primary_driller, 1),
"SECONDARY": (self.weapons_secondary_driller, 1),
"THROWABLE": (self.throwables_driller, 1),
},
is_time_consuming=False,
is_difficult=False,
weight=3,
),
GameObjectiveTemplate(
label="Beat 1x MISSION_TYPE mission as Engineer. Primary: PRIMARY Secondary: SECONDARY Throwable: THROWABLE",
data={
"MISSION_TYPE": (self.mission_types, 1),
"PRIMARY": (self.weapons_primary_engineer, 1),
"SECONDARY": (self.weapons_secondary_engineer, 1),
"THROWABLE": (self.throwables_engineer, 1),
},
is_time_consuming=False,
is_difficult=False,
weight=3,
),
GameObjectiveTemplate(
label="Beat 1x MISSION_TYPE mission as Gunner. Primary: PRIMARY Secondary: SECONDARY Throwable: THROWABLE",
data={
"MISSION_TYPE": (self.mission_types, 1),
"PRIMARY": (self.weapons_primary_gunner, 1),
"SECONDARY": (self.weapons_secondary_gunner, 1),
"THROWABLE": (self.throwables_gunner, 1),
},
is_time_consuming=False,
is_difficult=False,
weight=3,
),
GameObjectiveTemplate(
label="Beat 1x MISSION_TYPE mission as Scout. Primary: PRIMARY Secondary: SECONDARY Throwable: THROWABLE",
data={
"MISSION_TYPE": (self.mission_types, 1),
"PRIMARY": (self.weapons_primary_scout, 1),
"SECONDARY": (self.weapons_secondary_scout, 1),
"THROWABLE": (self.throwables_scout, 1),
},
is_time_consuming=False,
is_difficult=False,
weight=3,
),
GameObjectiveTemplate(
label="Beat a random mission with the following mutators: MUTATORS",
data={
"MUTATORS": (self.mutators, 1),
},
is_time_consuming=False,
is_difficult=False,
weight=2,
),
GameObjectiveTemplate(
label="Beat a Deep Dive with the CLASS",
data={
"CLASS": (self.classes, 1),
},
is_time_consuming=True,
is_difficult=False,
weight=1,
),
GameObjectiveTemplate(
label="Beat an Elite Deep Dive with the CLASS",
data={
"CLASS": (self.classes, 1),
},
is_time_consuming=True,
is_difficult=True,
weight=1,
),
]
@staticmethod
def hazard_levels() -> range:
return range(1, 6)
@staticmethod
def mission_types() -> List[str]:
return [
"Deep Scan",
"Egg Hunt",
"Elimination",
"Escort Duty",
"Industrial Sabotage",
"Mining Expedition",
"On-site Refining",
"Point Extraction",
"Salvage Operation",
]
@staticmethod
def weapons_primary_driller() -> List[str]:
return [
"CRSPR Flamethrower",
"Corrosive Sludge Pump",
"Cryo Cannon",
]
@staticmethod
def weapons_secondary_driller() -> List[str]:
return [
"Colette Wave Cooker",
"Experimental Plasma Charger",
"Subata 120",
]
@staticmethod
def throwables_driller() -> List[str]:
return [
"High Explosive Grenade",
"Impact Axe",
"Neurotoxin Grenade",
"Springloaded Ripper",
]
@staticmethod
def weapons_primary_engineer() -> List[str]:
return [
"'Stubby' Voltaic SMG",
"'Warthog' Auto 210",
"LOK-1 Smart Rifle",
]
@staticmethod
def weapons_secondary_engineer() -> List[str]:
return [
"Breach Cutter",
"Deepcore 40mm PGL",
"Shard Diffractor",
]
@staticmethod
def throwables_engineer() -> List[str]:
return [
"L.U.R.E.",
"Plasma Burster",
"Proximity Mine",
"Shredder Swarm",
]
@staticmethod
def weapons_primary_gunner() -> List[str]:
return [
"'Hurricane' Guided Rocket System",
"'Lead Storm' Powered Minigun",
"'Thunderhead' Heavy Autocannon",
]
@staticmethod
def weapons_secondary_gunner() -> List[str]:
return [
"'Bulldog' Heavy Revolver",
"ArmsKore Coil Gun",
"BRT7 Burst Fire Gun",
]
@staticmethod
def throwables_gunner() -> List[str]:
return [
"Cluster Grenade",
"Incendiary Grenade",
"Sticky Grenade",
"Tactical Leadburster",
]
@staticmethod
def weapons_primary_scout() -> List[str]:
return [
"DRAK-25 Plasma Carbine",
"Deepcore GK2",
"M1000 Classic",
]
@staticmethod
def weapons_secondary_scout() -> List[str]:
return [
"Jury-Rigged Boomstick",
"Nishanka Boltshark X-80",
"Zhukov NUK17",
]
@staticmethod
def throwables_scout() -> List[str]:
return [
"Cryo Grenade",
"Inhibitor-Field Generator",
"Pheromone Canister",
"Voltaic Stun SweepeR",
]
@staticmethod
def mutators() -> List[str]:
return [
"1 Warning",
"1 Anomaly",
"1 Warning, 1 Anomaly",
"2 Warnings",
]
@staticmethod
def classes() -> List[str]:
return [
"Driller",
"Engineer",
"Gunner",
"Scout",
]
# Archipelago Options
# ...