From 25f0c45272c2042c9f961c2bda078d76e5c7077b Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 12 Nov 2024 23:29:20 +0100 Subject: [PATCH] fixed missing cycles and added to official cycle list --- .../SerpentsofYig.678392.gmnotes | 2 +- .../TheCodexofAges.df9810.gmnotes | 2 +- src/playercards/AllCardsBag.ttslua | 61 ++++++++++--------- 3 files changed, 33 insertions(+), 32 deletions(-) diff --git a/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes b/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes index a13b0a6a..17b6fb9a 100644 --- a/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes +++ b/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes @@ -4,5 +4,5 @@ "class": "Neutral", "traits": "Humanoid. Monster. Serpent.", "weakness": true, - "cycle": "" + "cycle": "Aura of Faith" } diff --git a/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes b/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes index 3fb7cb99..7f1f7bee 100644 --- a/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes +++ b/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes @@ -8,5 +8,5 @@ "intellectIcons": 1, "willpowerIcons": 1, "wildIcons": 1, - "cycle": "" + "cycle": "Aura of Faith" } diff --git a/src/playercards/AllCardsBag.ttslua b/src/playercards/AllCardsBag.ttslua index f01ae11a..d29faeff 100644 --- a/src/playercards/AllCardsBag.ttslua +++ b/src/playercards/AllCardsBag.ttslua @@ -30,36 +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 +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, + ["aura of faith"] = true, + ["beta"] = true, + ["promo"] = true } -- conversion tables to simplify type sorting local typeConversion = {