def patch_2220(self, path):
# Check if player data has the war game, and if not add it.
if "Theme" not in path or not path["Theme"]:
path["Theme"] = {"Jail": "jail", "OOB": "out on bail", "Police": "Police",
"Bail": "bail", "Crew": "crew", "Sentence": "sentence",
"Heist": "heist", "Vault": "vault"},
if "Banks" in path:
path["Targets"] = path.pop("Banks")
if "Theme" not in path["Config"]:
path["Config"]["Theme"] = "Heist"
if "Crew Output" not in path["Config"]:
path["Config"]["Crew Ouput"] = "None"
if "Bail Cost" in path["Config"]:
path["Config"].pop("Bail Cost")
for target in path["Targets"]:
path["Targets"][string.capwords(target)] = path["Targets"].pop(target)
self.save_system()
评论列表
文章目录