From 616ea0176ccc958e659c9415e181ccac7b656112 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Wed, 31 Jul 2024 13:10:38 +0200 Subject: [PATCH] updated script state formatting --- config.json | 1 + objects/LuaScriptState.luascriptstate | 4 +- objects/PatchNotes.f47225.luascriptstate | 145 +++++++++++++++++- objects/PlayArea.721ba2.luascriptstate | 11 +- objects/Playermat1White.8b081b.luascriptstate | 24 ++- .../Playermat2Orange.bd0ff4.luascriptstate | 24 ++- objects/Playermat3Green.383d8b.luascriptstate | 24 ++- objects/Playermat4Red.0840d5.luascriptstate | 24 ++- .../StandaloneScenarios.77a5f9.luascriptstate | 135 +++++++++++++++- objects/TokenArranger.022907.luascriptstate | 47 +++++- 10 files changed, 429 insertions(+), 10 deletions(-) diff --git a/config.json b/config.json index 09d117fe..4bbbd6a1 100644 --- a/config.json +++ b/config.json @@ -3,6 +3,7 @@ "ComponentTags_path": "ComponentTags.json", "CustomUIAssets_path": "CustomUIAssets.json", "DecalPallet_path": "DecalPallet.json", + "Decals": [], "GameComplexity": "", "GameMode": "Arkham Horror LCG - Super Complete Edition", "GameType": "", diff --git a/objects/LuaScriptState.luascriptstate b/objects/LuaScriptState.luascriptstate index 85ba1286..44534c67 100644 --- a/objects/LuaScriptState.luascriptstate +++ b/objects/LuaScriptState.luascriptstate @@ -14,8 +14,8 @@ "playAreaConnections": true, "playAreaSnapTags": true, "showAttachmentHelper": false, - "showCleanUpHelper": false, "showCYOA": false, + "showCleanUpHelper": false, "showDisplacementTool": false, "showDrawButton": false, "showHandHelper": false, @@ -26,4 +26,4 @@ "useResourceCounters": "disabled", "useSnapTags": true } -} \ No newline at end of file +} diff --git a/objects/PatchNotes.f47225.luascriptstate b/objects/PatchNotes.f47225.luascriptstate index 89dfc59c..33cb3b7d 100644 --- a/objects/PatchNotes.f47225.luascriptstate +++ b/objects/PatchNotes.f47225.luascriptstate @@ -1 +1,144 @@ -{"checks":[],"decals":[{"locked":false,"name":"Arkham SCE logo","pos":{"x":3.1,"y":2.2},"rotation":0,"scale":{"x":"2","y":"2"},"tooltip":"None","url":"https://steamusercontent-a.akamaihd.net/ugc/2501268517218943111/803E57A7B3E9765DF342050EE6C71D69473A7388/"},{"locked":false,"name":"Bootlegger Finn","pos":{"x":3.5,"y":-1.89},"rotation":"25","scale":{"x":"1","y":"1"},"tooltip":"None","url":"https://steamusercontent-a.akamaihd.net/ugc/2037357792052848566/5DA900C430E97D3DFF2C9B8A3DB1CB2271791FC7/"},{"locked":false,"name":"black bar","pos":{"x":0,"y":-2.7},"rotation":0,"scale":{"x":"8","y":"0.03"},"tooltip":"None","url":"https://steamusercontent-a.akamaihd.net/ugc/2501268517219098388/0936FEE03B410319658B5E05DB5D486CEDDE98F5/"}],"fields":[{"align":3,"array":{"x":"1","y":"1"},"counter":"False","distance":{"x":"1","y":"1"},"fieldColor":{"a":0,"b":1,"g":1,"r":1},"font":"200","locked":false,"name":"Patch Notes","pos":{"x":"0","y":-2.9},"role":"Normal Field","size":{"x":"3750","y":"250"},"textColor":{"a":1,"b":0,"g":0,"r":0},"tooltip":"None","value":["Arkham Horror LCG SCE 3.9.0 - 07/08/2024"]},{"align":2,"array":{"x":"1","y":1},"distance":{"x":"1","y":"1"},"fieldColor":{"a":0,"b":1,"g":1,"r":1},"font":"89","locked":false,"name":"Details","pos":{"x":"0","y":0.4},"role":"Nothing","size":{"x":"3750","y":"2750"},"textColor":{"a":1,"b":0,"g":0,"r":0},"tooltip":"None","value":["Thanks for downloading! We're happy to present you a rather big update this time :-)\n\nNew things\n- updated note card for patch notes (bless Marum for his awesome tool!)\n- automated discarding for Patrice\n- confirmation dialog for discard hotkey (e.g. for locations)\n- helpers for cards that redraw tokens and Kohaku\n- displaying of token count for cards that seal tokens\r\n- new action / ability tokens (replacing the old ones)\r\n- option to enable all card helpers (e.g. Heavy Furs)\r\n- option to load class-colored playermat backgrounds\n- coloring for player names in broadcasts\n- right-click option for RBW button on Player Card Panel to specify trait(s)\n\nUpdates\r\n- performed a small clean up of the bottom corners of the table\n- \"Numpad 9\" to rearranges present tokens (on top of adding a resource)\n- Scroll of Secrets context menu helper now displays player names instead of colors\r\n- Player Card Panel can display fan-made cards with a new \"custom\" cycle button)\n- updated Family Inheritance helper to a proper UI\n- \"Discard object\" gamekey works for selected objects\r\n- updated a bunch of tools like Clean Up Helper, Drawing Tool,\nHand Helper, Token Arranger and Search Assistant\n\nFixes\r\r\n- Bugfix for attempting to draw an encounter card while there is no deck\r\n- Bugfix for Navigation Overlay: now checks if playmat is occupied\r\n- Bugfix for Phase Tracker broadcasting\r\n- Performance and file size improvements (e.g. by adding download\nfunctions for CYOA campaign guides and Arkham Fantasy standees)"]}],"flip":"False","height":"0.1","locks":{"checks":false,"decals":false,"fields":false},"nudgeDistance":0.1,"scale":{"x":"0.3","y":"0.3"},"sheetLocked":true} +{ + "checks": [], + "decals": [ + { + "locked": false, + "name": "Arkham SCE logo", + "pos": { + "x": 3.1, + "y": 2.2 + }, + "rotation": 0, + "scale": { + "x": "2", + "y": "2" + }, + "tooltip": "None", + "url": "https://steamusercontent-a.akamaihd.net/ugc/2501268517218943111/803E57A7B3E9765DF342050EE6C71D69473A7388/" + }, + { + "locked": false, + "name": "Bootlegger Finn", + "pos": { + "x": 3.5, + "y": -1.89 + }, + "rotation": "25", + "scale": { + "x": "1", + "y": "1" + }, + "tooltip": "None", + "url": "https://steamusercontent-a.akamaihd.net/ugc/2037357792052848566/5DA900C430E97D3DFF2C9B8A3DB1CB2271791FC7/" + }, + { + "locked": false, + "name": "black bar", + "pos": { + "x": 0, + "y": -2.7 + }, + "rotation": 0, + "scale": { + "x": "8", + "y": "0.03" + }, + "tooltip": "None", + "url": "https://steamusercontent-a.akamaihd.net/ugc/2501268517219098388/0936FEE03B410319658B5E05DB5D486CEDDE98F5/" + } + ], + "fields": [ + { + "align": 3, + "array": { + "x": "1", + "y": "1" + }, + "counter": "False", + "distance": { + "x": "1", + "y": "1" + }, + "fieldColor": { + "a": 0, + "b": 1, + "g": 1, + "r": 1 + }, + "font": "200", + "locked": false, + "name": "Patch Notes", + "pos": { + "x": "0", + "y": -2.9 + }, + "role": "Normal Field", + "size": { + "x": "3750", + "y": "250" + }, + "textColor": { + "a": 1, + "b": 0, + "g": 0, + "r": 0 + }, + "tooltip": "None", + "value": [ + "Arkham Horror LCG SCE 3.9.0 - 07/08/2024" + ] + }, + { + "align": 2, + "array": { + "x": "1", + "y": 1 + }, + "distance": { + "x": "1", + "y": "1" + }, + "fieldColor": { + "a": 0, + "b": 1, + "g": 1, + "r": 1 + }, + "font": "89", + "locked": false, + "name": "Details", + "pos": { + "x": "0", + "y": 0.4 + }, + "role": "Nothing", + "size": { + "x": "3750", + "y": "2750" + }, + "textColor": { + "a": 1, + "b": 0, + "g": 0, + "r": 0 + }, + "tooltip": "None", + "value": [ + "Thanks for downloading! We're happy to present you a rather big update this time :-)\n\nNew things\n- updated note card for patch notes (bless Marum for his awesome tool!)\n- automated discarding for Patrice\n- confirmation dialog for discard hotkey (e.g. for locations)\n- helpers for cards that redraw tokens and Kohaku\n- displaying of token count for cards that seal tokens\r\n- new action / ability tokens (replacing the old ones)\r\n- option to enable all card helpers (e.g. Heavy Furs)\r\n- option to load class-colored playermat backgrounds\n- coloring for player names in broadcasts\n- right-click option for RBW button on Player Card Panel to specify trait(s)\n\nUpdates\r\n- performed a small clean up of the bottom corners of the table\n- \"Numpad 9\" to rearranges present tokens (on top of adding a resource)\n- Scroll of Secrets context menu helper now displays player names instead of colors\r\n- Player Card Panel can display fan-made cards with a new \"custom\" cycle button)\n- updated Family Inheritance helper to a proper UI\n- \"Discard object\" gamekey works for selected objects\r\n- updated a bunch of tools like Clean Up Helper, Drawing Tool,\nHand Helper, Token Arranger and Search Assistant\n\nFixes\r\r\n- Bugfix for attempting to draw an encounter card while there is no deck\r\n- Bugfix for Navigation Overlay: now checks if playmat is occupied\r\n- Bugfix for Phase Tracker broadcasting\r\n- Performance and file size improvements (e.g. by adding download\nfunctions for CYOA campaign guides and Arkham Fantasy standees)" + ] + } + ], + "flip": "False", + "height": "0.1", + "locks": { + "checks": false, + "decals": false, + "fields": false + }, + "nudgeDistance": 0.1, + "scale": { + "x": "0.3", + "y": "0.3" + }, + "sheetLocked": true +} diff --git a/objects/PlayArea.721ba2.luascriptstate b/objects/PlayArea.721ba2.luascriptstate index b5fdd049..759b57ea 100644 --- a/objects/PlayArea.721ba2.luascriptstate +++ b/objects/PlayArea.721ba2.luascriptstate @@ -1 +1,10 @@ -{"connectionColor":{"a":1,"b":0.4,"g":0.4,"r":0.4},"connectionsEnabled":true,"trackedLocations":[]} +{ + "connectionColor": { + "a": 1, + "b": 0.4, + "g": 0.4, + "r": 0.4 + }, + "connectionsEnabled": true, + "trackedLocations": [] +} diff --git a/objects/Playermat1White.8b081b.luascriptstate b/objects/Playermat1White.8b081b.luascriptstate index 37f3fb4a..de27bf72 100644 --- a/objects/Playermat1White.8b081b.luascriptstate +++ b/objects/Playermat1White.8b081b.luascriptstate @@ -1 +1,23 @@ -{"activeInvestigatorClass":"Neutral","activeInvestigatorId":"00000","isClassTextureEnabled":true,"isDrawButtonVisible":false,"playerColor":"White","slotData":["any","any","any","Tarot","Hand (left)","Hand (right)","Ally","any","any","any","Accessory","Arcane","Arcane","Body"]} +{ + "activeInvestigatorClass": "Neutral", + "activeInvestigatorId": "00000", + "isClassTextureEnabled": true, + "isDrawButtonVisible": false, + "playerColor": "White", + "slotData": [ + "any", + "any", + "any", + "Tarot", + "Hand (left)", + "Hand (right)", + "Ally", + "any", + "any", + "any", + "Accessory", + "Arcane", + "Arcane", + "Body" + ] +} diff --git a/objects/Playermat2Orange.bd0ff4.luascriptstate b/objects/Playermat2Orange.bd0ff4.luascriptstate index 82227cf3..c9eb13f1 100644 --- a/objects/Playermat2Orange.bd0ff4.luascriptstate +++ b/objects/Playermat2Orange.bd0ff4.luascriptstate @@ -1 +1,23 @@ -{"activeInvestigatorClass":"Neutral","activeInvestigatorId":"00000","isClassTextureEnabled":true,"isDrawButtonVisible":false,"playerColor":"Orange","slotData":["any","any","any","Tarot","Hand (left)","Hand (right)","Ally","any","any","any","Accessory","Arcane","Arcane","Body"]} +{ + "activeInvestigatorClass": "Neutral", + "activeInvestigatorId": "00000", + "isClassTextureEnabled": true, + "isDrawButtonVisible": false, + "playerColor": "Orange", + "slotData": [ + "any", + "any", + "any", + "Tarot", + "Hand (left)", + "Hand (right)", + "Ally", + "any", + "any", + "any", + "Accessory", + "Arcane", + "Arcane", + "Body" + ] +} diff --git a/objects/Playermat3Green.383d8b.luascriptstate b/objects/Playermat3Green.383d8b.luascriptstate index 3f44af1d..23975d1c 100644 --- a/objects/Playermat3Green.383d8b.luascriptstate +++ b/objects/Playermat3Green.383d8b.luascriptstate @@ -1 +1,23 @@ -{"activeInvestigatorClass":"Neutral","activeInvestigatorId":"00000","isClassTextureEnabled":true,"isDrawButtonVisible":false,"playerColor":"Green","slotData":["any","any","any","Tarot","Hand (left)","Hand (right)","Ally","any","any","any","Accessory","Arcane","Arcane","Body"]} +{ + "activeInvestigatorClass": "Neutral", + "activeInvestigatorId": "00000", + "isClassTextureEnabled": true, + "isDrawButtonVisible": false, + "playerColor": "Green", + "slotData": [ + "any", + "any", + "any", + "Tarot", + "Hand (left)", + "Hand (right)", + "Ally", + "any", + "any", + "any", + "Accessory", + "Arcane", + "Arcane", + "Body" + ] +} diff --git a/objects/Playermat4Red.0840d5.luascriptstate b/objects/Playermat4Red.0840d5.luascriptstate index 74f4e1f9..41fe4e2c 100644 --- a/objects/Playermat4Red.0840d5.luascriptstate +++ b/objects/Playermat4Red.0840d5.luascriptstate @@ -1 +1,23 @@ -{"activeInvestigatorClass":"Neutral","activeInvestigatorId":"00000","isClassTextureEnabled":true,"isDrawButtonVisible":false,"playerColor":"Red","slotData":["any","any","any","Tarot","Hand (left)","Hand (right)","Ally","any","any","any","Accessory","Arcane","Arcane","Body"]} +{ + "activeInvestigatorClass": "Neutral", + "activeInvestigatorId": "00000", + "isClassTextureEnabled": true, + "isDrawButtonVisible": false, + "playerColor": "Red", + "slotData": [ + "any", + "any", + "any", + "Tarot", + "Hand (left)", + "Hand (right)", + "Ally", + "any", + "any", + "any", + "Accessory", + "Arcane", + "Arcane", + "Body" + ] +} diff --git a/objects/StandaloneScenarios.77a5f9.luascriptstate b/objects/StandaloneScenarios.77a5f9.luascriptstate index 38c47577..cb9ff48f 100644 --- a/objects/StandaloneScenarios.77a5f9.luascriptstate +++ b/objects/StandaloneScenarios.77a5f9.luascriptstate @@ -1 +1,134 @@ -{"ml":{"01d780":{"lock":false,"pos":{"x":12.252,"y":1.4815,"z":11.986},"rot":{"x":0,"y":270.0001,"z":0}},"0dce91":{"lock":false,"pos":{"x":12.25,"y":1.4815,"z":-28.014},"rot":{"x":0,"y":269.9792,"z":0}},"23dd51":{"lock":false,"pos":{"x":12.249,"y":1.4815,"z":35.986},"rot":{"x":0,"y":270,"z":0}},"3c4f3c":{"lock":false,"pos":{"x":12.251,"y":1.4815,"z":-20.014},"rot":{"x":0,"y":269.9867,"z":0}},"4c173f":{"lock":false,"pos":{"x":12.25,"y":1.4815,"z":3.986},"rot":{"x":0,"y":269.9998,"z":0}},"4dee5a":{"lock":false,"pos":{"x":12.25,"y":1.4815,"z":-4.014},"rot":{"x":0,"y":269.9999,"z":0}},"d02940":{"lock":false,"pos":{"x":12.25,"y":1.4815,"z":-36.014},"rot":{"x":0,"y":270.0045,"z":0}},"db7039":{"lock":false,"pos":{"x":12.25,"y":1.4815,"z":27.986},"rot":{"x":0,"y":270.0001,"z":0}},"ee987d":{"lock":false,"pos":{"x":12.25,"y":1.4815,"z":19.986},"rot":{"x":0,"y":270.0001,"z":0}},"fc7674":{"lock":false,"pos":{"x":12.247,"y":1.4815,"z":-12.016},"rot":{"x":0,"y":270.0001,"z":0}}}} +{ + "ml": { + "01d780": { + "lock": false, + "pos": { + "x": 12.252, + "y": 1.4815, + "z": 11.986 + }, + "rot": { + "x": 0, + "y": 270.0001, + "z": 0 + } + }, + "0dce91": { + "lock": false, + "pos": { + "x": 12.25, + "y": 1.4815, + "z": -28.014 + }, + "rot": { + "x": 0, + "y": 269.9792, + "z": 0 + } + }, + "23dd51": { + "lock": false, + "pos": { + "x": 12.249, + "y": 1.4815, + "z": 35.986 + }, + "rot": { + "x": 0, + "y": 270, + "z": 0 + } + }, + "3c4f3c": { + "lock": false, + "pos": { + "x": 12.251, + "y": 1.4815, + "z": -20.014 + }, + "rot": { + "x": 0, + "y": 269.9867, + "z": 0 + } + }, + "4c173f": { + "lock": false, + "pos": { + "x": 12.25, + "y": 1.4815, + "z": 3.986 + }, + "rot": { + "x": 0, + "y": 269.9998, + "z": 0 + } + }, + "4dee5a": { + "lock": false, + "pos": { + "x": 12.25, + "y": 1.4815, + "z": -4.014 + }, + "rot": { + "x": 0, + "y": 269.9999, + "z": 0 + } + }, + "d02940": { + "lock": false, + "pos": { + "x": 12.25, + "y": 1.4815, + "z": -36.014 + }, + "rot": { + "x": 0, + "y": 270.0045, + "z": 0 + } + }, + "db7039": { + "lock": false, + "pos": { + "x": 12.25, + "y": 1.4815, + "z": 27.986 + }, + "rot": { + "x": 0, + "y": 270.0001, + "z": 0 + } + }, + "ee987d": { + "lock": false, + "pos": { + "x": 12.25, + "y": 1.4815, + "z": 19.986 + }, + "rot": { + "x": 0, + "y": 270.0001, + "z": 0 + } + }, + "fc7674": { + "lock": false, + "pos": { + "x": 12.247, + "y": 1.4815, + "z": -12.016 + }, + "rot": { + "x": 0, + "y": 270.0001, + "z": 0 + } + } + } +} diff --git a/objects/TokenArranger.022907.luascriptstate b/objects/TokenArranger.022907.luascriptstate index 0c189c64..86f2ec90 100644 --- a/objects/TokenArranger.022907.luascriptstate +++ b/objects/TokenArranger.022907.luascriptstate @@ -1 +1,46 @@ -{"includeDrawnTokens":true,"percentage":false,"tokenPrecedence":{"":[0,11],"Auto-fail":[-100,7],"Bless":[110,8],"Cultist":[-2,4],"Curse":[-110,9],"Elder Sign":[100,2],"Elder Thing":[-4,6],"Frost":[-105,10],"Skull":[-1,3],"Tablet":[-3,5]}} +{ + "includeDrawnTokens": true, + "percentage": false, + "tokenPrecedence": { + "": [ + 0, + 11 + ], + "Auto-fail": [ + -100, + 7 + ], + "Bless": [ + 110, + 8 + ], + "Cultist": [ + -2, + 4 + ], + "Curse": [ + -110, + 9 + ], + "Elder Sign": [ + 100, + 2 + ], + "Elder Thing": [ + -4, + 6 + ], + "Frost": [ + -105, + 10 + ], + "Skull": [ + -1, + 3 + ], + "Tablet": [ + -3, + 5 + ] + } +}