Skip to content

Commit

Permalink
Merge branch 'challengepack-ammonia' of https://github.com/suanjiansa…
Browse files Browse the repository at this point in the history
…lt/Peacock into challengepack-ammonia
  • Loading branch information
suanjiansalt committed Aug 13, 2024
2 parents 77db51c + 7b1e592 commit a74eceb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
27 changes: 27 additions & 0 deletions contractdata/MUMBAI/_MUMBAI_CHALLENGES.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
}
Expand Down
6 changes: 4 additions & 2 deletions resources/rebuildLocale.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit a74eceb

Please sign in to comment.