fix some more boss names in /spawn command
This commit is contained in:
parent
0f8ded4df7
commit
b6bb9691dc
@ -51,10 +51,13 @@ def get_tarkov_boss_info():
|
|||||||
"USEC",
|
"USEC",
|
||||||
]
|
]
|
||||||
response = query_tarkov_api(query)["maps"]
|
response = query_tarkov_api(query)["maps"]
|
||||||
|
|
||||||
|
corrections = {"Knight": "The Goons", "Cultist Priest": "Cultists"}
|
||||||
|
|
||||||
for map_data in response:
|
for map_data in response:
|
||||||
for boss in map_data["bosses"]:
|
for boss in map_data["bosses"]:
|
||||||
if boss["boss"]["name"] == "Knight":
|
if boss["boss"]["name"] in corrections:
|
||||||
boss["boss"]["name"] = "The Goons"
|
boss["boss"]["name"] = corrections[boss["boss"]["name"]]
|
||||||
|
|
||||||
# Wasteful, but make a new dict to hold the info we care about
|
# Wasteful, but make a new dict to hold the info we care about
|
||||||
levels = {}
|
levels = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user