From 40614caf2b38a589c3b21684ceacc4b9fb98776e Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 29 Oct 2024 23:17:51 +0100 Subject: [PATCH] added advanced sigs --- objects/AllPlayerCards.15bb07.json | 2 + .../SerpentsofYig.678392.gmnotes | 8 +++ .../SerpentsofYig.678392.json | 61 ++++++++++++++++++ .../TheCodexofAges.df9810.gmnotes | 12 ++++ .../TheCodexofAges.df9810.json | 62 +++++++++++++++++++ .../cards/SerpentsofYigAdvanced.ttslua | 11 ++++ .../cards/TheCodexofAgesAdvanced.ttslua | 11 ++++ 7 files changed, 167 insertions(+) create mode 100644 objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes create mode 100644 objects/AllPlayerCards.15bb07/SerpentsofYig.678392.json create mode 100644 objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes create mode 100644 objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.json create mode 100644 src/playercards/cards/SerpentsofYigAdvanced.ttslua create mode 100644 src/playercards/cards/TheCodexofAgesAdvanced.ttslua diff --git a/objects/AllPlayerCards.15bb07.json b/objects/AllPlayerCards.15bb07.json index ea329eb9..170a6a82 100644 --- a/objects/AllPlayerCards.15bb07.json +++ b/objects/AllPlayerCards.15bb07.json @@ -355,6 +355,7 @@ "PowderofIbnGhazi.f96ed0", "YourWorstNightmare.406ab2", "TheCodexofAges.df9809", + "TheCodexofAges.df9810", "WrittenintheStars.320bbe", "LivredEibon.55001f", "LuckyPenny2.aae31c", @@ -881,6 +882,7 @@ "SurprisingFind1.ff59dd", "TristanBotley2.1fd630", "SerpentsofYig.678391", + "SerpentsofYig.678392", "Rolands38Special.dbdaff", "ChicagoTypewriter4.ecfa42", "HealingWords.bba97a", diff --git a/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes b/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes new file mode 100644 index 00000000..4ac13f4f --- /dev/null +++ b/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes @@ -0,0 +1,8 @@ +{ + "id": "90083", + "type": "Enemy", + "class": "Neutral", + "traits": "Humanoid. Monster. Serpent.", + "weakness": true, + "cycle": "" +} \ No newline at end of file diff --git a/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.json b/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.json new file mode 100644 index 00000000..9f2b5ddd --- /dev/null +++ b/objects/AllPlayerCards.15bb07/SerpentsofYig.678392.json @@ -0,0 +1,61 @@ +{ + "AltLookAngle": { + "x": 0, + "y": 0, + "z": 0 + }, + "Autoraise": true, + "CardID": 171300, + "ColorDiffuse": { + "b": 0.71324, + "g": 0.71324, + "r": 0.71324 + }, + "CustomDeck": { + "1713": { + "BackIsHidden": true, + "BackURL": "https://steamusercontent-a.akamaihd.net/ugc/2342503777940352139/A2D42E7E5C43D045D72CE5CFC907E4F886C8C690/", + "FaceURL": "", + "NumHeight": 1, + "NumWidth": 1, + "Type": 0, + "UniqueBack": false + } + }, + "Description": "Humanoid. Monster. Serpent. (Advanced)", + "DragSelectable": true, + "GMNotes_path": "AllPlayerCards.15bb07/SerpentsofYig.678392.gmnotes", + "GUID": "678392", + "Grid": true, + "GridProjection": false, + "Hands": true, + "HideWhenFaceDown": true, + "IgnoreFoW": false, + "LayoutGroupSortIndex": 0, + "Locked": false, + "LuaScript": "require(\"playercards/cards/SerpentsofYigAdvanced\")", + "LuaScriptState": "", + "MeasureMovement": false, + "Name": "CardCustom", + "Nickname": "Serpents of Yig", + "SidewaysCard": false, + "Snap": true, + "Sticky": true, + "Tags": [ + "PlayerCard" + ], + "Tooltip": true, + "Transform": { + "posX": 9.146, + "posY": 3.681, + "posZ": -16.726, + "rotX": 0, + "rotY": 270, + "rotZ": 0, + "scaleX": 1, + "scaleY": 1, + "scaleZ": 1 + }, + "Value": 0, + "XmlUI": "" +} \ No newline at end of file diff --git a/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes b/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes new file mode 100644 index 00000000..d539fa77 --- /dev/null +++ b/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes @@ -0,0 +1,12 @@ +{ + "id": "90082", + "type": "Asset", + "slot": "Hand", + "class": "Neutral", + "cost": 2, + "traits": "Item. Relic. Tome. Blessed.", + "intellectIcons": 1, + "willpowerIcons": 1, + "wildIcons": 1, + "cycle": "" +} \ No newline at end of file diff --git a/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.json b/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.json new file mode 100644 index 00000000..dc4f9c9b --- /dev/null +++ b/objects/AllPlayerCards.15bb07/TheCodexofAges.df9810.json @@ -0,0 +1,62 @@ +{ + "AltLookAngle": { + "x": 0, + "y": 0, + "z": 0 + }, + "Autoraise": true, + "CardID": 171200, + "ColorDiffuse": { + "b": 0.71324, + "g": 0.71324, + "r": 0.71324 + }, + "CustomDeck": { + "1712": { + "BackIsHidden": true, + "BackURL": "https://steamusercontent-a.akamaihd.net/ugc/2342503777940352139/A2D42E7E5C43D045D72CE5CFC907E4F886C8C690/", + "FaceURL": "", + "NumHeight": 1, + "NumWidth": 1, + "Type": 0, + "UniqueBack": false + } + }, + "Description": "finis omnium nunc est (Advanced)", + "DragSelectable": true, + "GMNotes_path": "AllPlayerCards.15bb07/TheCodexofAges.df9810.gmnotes", + "GUID": "df9810", + "Grid": true, + "GridProjection": false, + "Hands": true, + "HideWhenFaceDown": true, + "IgnoreFoW": false, + "LayoutGroupSortIndex": 0, + "Locked": false, + "LuaScript": "require(\"playercards/cards/TheCodexofAgesAdvanced\")", + "LuaScriptState": "", + "MeasureMovement": false, + "Name": "CardCustom", + "Nickname": "The Codex of Ages", + "SidewaysCard": false, + "Snap": true, + "Sticky": true, + "Tags": [ + "Asset", + "PlayerCard" + ], + "Tooltip": true, + "Transform": { + "posX": 8.99, + "posY": 3.789, + "posZ": -16.692, + "rotX": 0, + "rotY": 270, + "rotZ": 0, + "scaleX": 1, + "scaleY": 1, + "scaleZ": 1 + }, + "Value": 0, + "XmlUI": "" +} \ No newline at end of file diff --git a/src/playercards/cards/SerpentsofYigAdvanced.ttslua b/src/playercards/cards/SerpentsofYigAdvanced.ttslua new file mode 100644 index 00000000..ff729436 --- /dev/null +++ b/src/playercards/cards/SerpentsofYigAdvanced.ttslua @@ -0,0 +1,11 @@ +VALID_TOKENS = { + ["Elder Sign"] = true, + ["Bless"] = true +} + +KEEP_OPEN = true +UPDATE_ON_HOVER = true +MAX_SEALED = 11 +SHOW_MULTI_RELEASE = 11 + +require("playercards/CardsThatSealTokens") diff --git a/src/playercards/cards/TheCodexofAgesAdvanced.ttslua b/src/playercards/cards/TheCodexofAgesAdvanced.ttslua new file mode 100644 index 00000000..1946fb3b --- /dev/null +++ b/src/playercards/cards/TheCodexofAgesAdvanced.ttslua @@ -0,0 +1,11 @@ +VALID_TOKENS = { + ["Elder Sign"] = true, + ["Bless"] = true +} + +KEEP_OPEN = true +UPDATE_ON_HOVER = true +RESOLVE_TOKEN = true +MAX_SEALED = 3 + +require("playercards/CardsThatSealTokens")