diff --git a/contractdata/MUMBAI/_MUMBAI_CHALLENGES.json b/contractdata/MUMBAI/_MUMBAI_CHALLENGES.json index 2310e6a5..3cf35e87 100644 --- a/contractdata/MUMBAI/_MUMBAI_CHALLENGES.json +++ b/contractdata/MUMBAI/_MUMBAI_CHALLENGES.json @@ -6702,6 +6702,33 @@ }, "Transition": "Success" } + ], + "StartingSuit": [ + { + "Condition": { + "$any": { + "in": "$.EligibleDisguises", + "?": { + "$eq": ["$.#", "$Value"] + } + } + }, + "Actions": { + "$pushunique": [ + "DisguiseEquipped", + "$Value" + ] + } + }, + { + "Condition": { + "$eq": [ + "($.EligibleDisguises).Count", + "($.DisguiseEquipped).Count" + ] + }, + "Transition": "Success" + } ] } } diff --git a/resources/rebuildLocale.cjs b/resources/rebuildLocale.cjs index 7b68cf6e..a3e7ec77 100644 --- a/resources/rebuildLocale.cjs +++ b/resources/rebuildLocale.cjs @@ -19,8 +19,10 @@ const fs = require("fs") const { execSync } = require("child_process") -const rpkgCli = `"resources/rpkg-cli.exe"` -const hmlt = `"resources/HMLanguageTools.exe"` +const usePath = process.env.USE_PATH === "true" + +const rpkgCli = usePath ? "rpkg-cli" : `"resources/rpkg-cli.exe"` +const hmlt = usePath ? "HMLanguageTools" : `"resources/HMLanguageTools.exe"` const locale = JSON.parse(fs.readFileSync("resources/locale.json").toString())