From fe771b98c9a73416e126d6ffb77fa4d981527cae Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 19 Aug 2024 10:05:40 +0200 Subject: [PATCH] Added false awakening to card index --- objects/AllPlayerCards.15bb07.json | 2 + .../FalseAwakening.452ac5.gmnotes | 8 +++ .../FalseAwakening.452ac5.json | 61 +++++++++++++++++++ .../FalseAwakening.b43b00.gmnotes | 8 +++ .../FalseAwakening.b43b00.json | 61 +++++++++++++++++++ src/arkhamdb/DeckImporter.ttslua | 2 + 6 files changed, 142 insertions(+) create mode 100644 objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.gmnotes create mode 100644 objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.json create mode 100644 objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.gmnotes create mode 100644 objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.json diff --git a/objects/AllPlayerCards.15bb07.json b/objects/AllPlayerCards.15bb07.json index 2b3e0245..61326e39 100644 --- a/objects/AllPlayerCards.15bb07.json +++ b/objects/AllPlayerCards.15bb07.json @@ -1037,6 +1037,8 @@ "CyclopeanHammer5.4df3b9", "BrandofCthugha4.200b64", "QuickdrawHolster4.859736", + "FalseAwakening.452ac5", + "FalseAwakening.b43b00", "Sledgehammer.78fdc7", "OldShotgun2.7eb1ec", "OntheTrail1.4e4179", diff --git a/objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.gmnotes b/objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.gmnotes new file mode 100644 index 00000000..81109494 --- /dev/null +++ b/objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.gmnotes @@ -0,0 +1,8 @@ +{ + "id": "06275", + "type": "Treachery", + "class": "Neutral", + "traits": "Curse.", + "weakness": true, + "cycle": "The Dream-Eaters" +} diff --git a/objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.json b/objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.json new file mode 100644 index 00000000..afb48e64 --- /dev/null +++ b/objects/AllPlayerCards.15bb07/FalseAwakening.452ac5.json @@ -0,0 +1,61 @@ +{ + "AltLookAngle": { + "x": 0, + "y": 0, + "z": 0 + }, + "Autoraise": true, + "CardID": 448519, + "ColorDiffuse": { + "b": 0.71324, + "g": 0.71324, + "r": 0.71324 + }, + "CustomDeck": { + "4485": { + "BackIsHidden": true, + "BackURL": "https://steamusercontent-a.akamaihd.net/ugc/2342503777940352139/A2D42E7E5C43D045D72CE5CFC907E4F886C8C690/", + "FaceURL": "https://steamusercontent-a.akamaihd.net/ugc/780749631103449151/FFAADF06C9BF9D1F4F3FE22D45CEBBB15D9B58CF/", + "NumHeight": 7, + "NumWidth": 10, + "Type": 0, + "UniqueBack": false + } + }, + "Description": "Weakness", + "DragSelectable": true, + "GMNotes_path": "AllPlayerCards.15bb07/FalseAwakening.452ac5.gmnotes", + "GUID": "452ac5", + "Grid": true, + "GridProjection": false, + "Hands": true, + "HideWhenFaceDown": true, + "IgnoreFoW": false, + "LayoutGroupSortIndex": 0, + "Locked": false, + "LuaScript": "", + "LuaScriptState": "", + "MeasureMovement": false, + "Name": "Card", + "Nickname": "False Awakening", + "SidewaysCard": false, + "Snap": true, + "Sticky": true, + "Tags": [ + "PlayerCard" + ], + "Tooltip": true, + "Transform": { + "posX": 16.682, + "posY": 3.802, + "posZ": -13.116, + "rotX": 0, + "rotY": 270, + "rotZ": 0, + "scaleX": 1, + "scaleY": 1, + "scaleZ": 1 + }, + "Value": 0, + "XmlUI": "" +} diff --git a/objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.gmnotes b/objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.gmnotes new file mode 100644 index 00000000..179b49df --- /dev/null +++ b/objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.gmnotes @@ -0,0 +1,8 @@ +{ + "id": "06233", + "type": "Treachery", + "class": "Neutral", + "traits": "Curse.", + "weakness": true, + "cycle": "The Dream-Eaters" +} diff --git a/objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.json b/objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.json new file mode 100644 index 00000000..0aa32756 --- /dev/null +++ b/objects/AllPlayerCards.15bb07/FalseAwakening.b43b00.json @@ -0,0 +1,61 @@ +{ + "AltLookAngle": { + "x": 0, + "y": 0, + "z": 0 + }, + "Autoraise": true, + "CardID": 538709, + "ColorDiffuse": { + "b": 0.71324, + "g": 0.71324, + "r": 0.71324 + }, + "CustomDeck": { + "5387": { + "BackIsHidden": true, + "BackURL": "https://steamusercontent-a.akamaihd.net/ugc/2342503777940352139/A2D42E7E5C43D045D72CE5CFC907E4F886C8C690/", + "FaceURL": "https://steamusercontent-a.akamaihd.net/ugc/780749631103449151/FFAADF06C9BF9D1F4F3FE22D45CEBBB15D9B58CF/", + "NumHeight": 7, + "NumWidth": 10, + "Type": 0, + "UniqueBack": false + } + }, + "Description": "", + "DragSelectable": true, + "GMNotes_path": "AllPlayerCards.15bb07/FalseAwakening.b43b00.gmnotes", + "GUID": "b43b00", + "Grid": true, + "GridProjection": false, + "Hands": true, + "HideWhenFaceDown": true, + "IgnoreFoW": false, + "LayoutGroupSortIndex": 0, + "Locked": false, + "LuaScript": "", + "LuaScriptState": "", + "MeasureMovement": false, + "Name": "Card", + "Nickname": "False Awakening", + "SidewaysCard": false, + "Snap": true, + "Sticky": true, + "Tags": [ + "PlayerCard" + ], + "Tooltip": true, + "Transform": { + "posX": 36.038, + "posY": 4.237, + "posZ": -34.353, + "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/arkhamdb/DeckImporter.ttslua b/src/arkhamdb/DeckImporter.ttslua index 37cd999c..9934d220 100644 --- a/src/arkhamdb/DeckImporter.ttslua +++ b/src/arkhamdb/DeckImporter.ttslua @@ -226,6 +226,8 @@ function getDefaultCardZone(cardMetadata, bondedList) return "SetAside6" elseif cardMetadata.id == "09006" then -- On The Mend is set aside return "SetAside2" + elseif cardMetadata.id == "06233" or cardMetadata.id == "06275" then -- False Awakening is set aside + return "SetAside2" elseif bondedList[cardMetadata.id] then return "SetAside2" elseif cardMetadata.type == "Investigator" then