improved custom card detection
This commit is contained in:
parent
33e7f0c28b
commit
4bf6472a47
@ -7,5 +7,5 @@
|
||||
"traits": "Item. Relic.",
|
||||
"willpowerIcons": 1,
|
||||
"wildIcons": 2,
|
||||
"cycle": "Red Ride Rising"
|
||||
"cycle": "Red Tide Rising"
|
||||
}
|
||||
|
@ -30,7 +30,37 @@ local classesInOrder = {
|
||||
"Survivor",
|
||||
"Neutral"
|
||||
}
|
||||
|
||||
local OFFICIAL_CYCLE_LIST = {
|
||||
-- campaigns
|
||||
["investigator packs"] = true,
|
||||
["core"] = true,
|
||||
["the dunwich legacy"] = true,
|
||||
["the path to carcosa"] = true,
|
||||
["the forgotten age"] = true,
|
||||
["the circle undone"] = true,
|
||||
["the dream-eaters"] = true,
|
||||
["the innsmouth conspiracy"] = true,
|
||||
["edge of the earth"] = true,
|
||||
["the scarlet keys"] = true,
|
||||
["the feast of hemlock vale"] = true,
|
||||
["the drowned city"] = true,
|
||||
-- standalones / parallels etc.
|
||||
["standalone"] = true,
|
||||
["the blob that ate everything else"] = true,
|
||||
["all or nothing"] = true,
|
||||
["bad blood"] = true,
|
||||
["read or die"] = true,
|
||||
["by the book"] = true,
|
||||
["red tide rising"] = true,
|
||||
["on the road again"] = true,
|
||||
["laid to rest"] = true,
|
||||
["path of the righteous"] = true,
|
||||
["relics of the past"] = true,
|
||||
["hunting for answers"] = true,
|
||||
["pistols and pearls"] = true,
|
||||
["beta"] = true,
|
||||
["promo"] = true
|
||||
}
|
||||
-- conversion tables to simplify type sorting
|
||||
local typeConversion = {
|
||||
Investigator = 1,
|
||||
@ -235,7 +265,6 @@ function buildSupplementalIndexes()
|
||||
end
|
||||
|
||||
-- check if card is not from an official cycle
|
||||
log(cardId)
|
||||
if OFFICIAL_CYCLE_LIST[cycleName] ~= true then
|
||||
otherCardsDetected = true
|
||||
|
||||
|
@ -58,37 +58,6 @@ EVOLVED_WEAKNESSES = {
|
||||
"53015",
|
||||
}
|
||||
|
||||
OFFICIAL_CYCLE_LIST = {
|
||||
-- campaigns
|
||||
["Investigator Packs"] = true,
|
||||
["Core"] = true,
|
||||
["The Dunwich Legacy"] = true,
|
||||
["The Path to Carcosa"] = true,
|
||||
["The Forgotten Age"] = true,
|
||||
["The Circle Undone"] = true,
|
||||
["The Dream-Eaters"] = true,
|
||||
["The Innsmouth Conspiracy"] = true,
|
||||
["Edge of the Earth"] = true,
|
||||
["The Scarlet Keys"] = true,
|
||||
["The Feast of Hemlock Vale"] = true,
|
||||
["The Drowned City"] = true,
|
||||
-- standalones / parallels etc.
|
||||
["Standalone"] = true,
|
||||
["The Blob That Ate Everything ELSE"] = true,
|
||||
["All or Nothing"] = true,
|
||||
["Bad Blood"] = true,
|
||||
["Read or Die"] = true,
|
||||
["By the Book"] = true,
|
||||
["Red Tide Rising"] = true,
|
||||
["On the Road Again"] = true,
|
||||
["Laid to Rest"] = true,
|
||||
["Path of the Righteous"] = true,
|
||||
["Relics of the Past"] = true,
|
||||
["Hunting for Answers"] = true,
|
||||
["Pistols and Pearls"] = true,
|
||||
["Beta"] = true,
|
||||
["Promo"] = true
|
||||
}
|
||||
------------------ START INVESTIGATOR DATA DEFINITION ------------------
|
||||
INVESTIGATOR_GROUPS = {
|
||||
["Guardian"] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user