heist.py 文件源码

python
阅读 41 收藏 0 点赞 0 评论 0

项目:Jumper-Cogs 作者: Redjumpman 项目源码 文件源码
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()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号