From 6a5c0b4cd1919680ba879882892e5ed8bab1ac4d Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Wed, 19 Apr 2023 21:15:03 +0200 Subject: [PATCH 1/3] added TSK and Ghosts of Onigawa, minor layout update --- src/accessories/CustomPlaymatImages.ttslua | 47 ++++++++++++++++++---- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/src/accessories/CustomPlaymatImages.ttslua b/src/accessories/CustomPlaymatImages.ttslua index 0f7eabfa..056a2bab 100644 --- a/src/accessories/CustomPlaymatImages.ttslua +++ b/src/accessories/CustomPlaymatImages.ttslua @@ -653,6 +653,35 @@ local DATA = { }, { Name = "III - Devourer Below 2", URL = "https://i.ibb.co/6r6LFGz/Zealot-3-Devourer-Below-Sarah-Miller.png" + } }, + ["The Ghosts of Onigawa (FM)"] = { { + Name = "I - The Ghosts of Onigawa", + URL = "https://github.com/ArkhamDotCards/theghostsofonigawa/blob/main/product/onigawa-playmat-01.png?raw=true" + }, { + Name = "II - In The Shadow Of Mount Kokoro", + URL = "https://github.com/ArkhamDotCards/theghostsofonigawa/blob/main/product/onigawa-playmat-02.png?raw=true" + }, { + Name = "III - The Onigawa River", + URL = "https://github.com/ArkhamDotCards/theghostsofonigawa/blob/main/product/onigawa-playmat-03.png?raw=true" + }, { + Name = "IV - The Crimson Butterfly", + URL = "https://github.com/ArkhamDotCards/theghostsofonigawa/blob/main/product/onigawa-playmat-04.png?raw=true" + }, { + Name = "V - The Koi Conspiracy", + URL = "https://github.com/ArkhamDotCards/theghostsofonigawa/blob/main/product/onigawa-playmat-05.png?raw=true" + } }, + ["The Scarlet Keys"] = { { + Name = "5-A Riddles and Rain", + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955398/8AA6CA240AA14FE83BB56B31B8F551BA67E051C5/" + }, { + Name = "16-D Sanguine Shadows", + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955264/90C07925065127BC9C5027A0D236F1805635CD8E/" + }, { + Name = "21-F Dealings in the Dark", + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955657/D5D4D60B9431F62CA3283BEE591D809F43AD6F4F/" + }, { + Name = "28-I Dancing Mad", + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955518/EAB857DD5629EC6A3078FB0A3A703B85B5F514B9/" } } } @@ -675,9 +704,11 @@ local CycleList = { "The Dream Eaters", "The Innsmouth Conspiracy", "Edge of the Earth", + "The Scarlet Keys", "Side Scenarios", "Cyclopean Foundations (FM)", "Dark Matter (FM)", + "The Ghosts of Onigawa (FM)", "Side Scenarios (FM)" } @@ -722,6 +753,7 @@ function optionCallback(_, optionIndex) index = 0, label = CycleList[CycleIndex] }) + showImages() end -- triggered by clicking the "display" button @@ -732,8 +764,9 @@ function showImages(_, _, isRightClick) if isRightClick then return end local pos = self.getPosition() - local offset = 4.5 - pos.x = pos.x - offset + local rot = self.getRotation() + local offset = 3.7 + pos.z = pos.z - 1 - offset -- loop over respective entries in DATA for i, entry in ipairs(DATA[CycleList[CycleIndex]]) do @@ -743,14 +776,14 @@ function showImages(_, _, isRightClick) spawnObjectData({ data = spawnData, position = pos, - rotation = self.getRotation(), - scale = { 1, 1, 1 } + rotation = rot, + scale = { 0.9, 1, 0.9 } }) - -- display 10 tiles in a row, move then to next row - if i % 10 == 0 then + -- display 20 tiles in a row, move then to next row + if i % 20 == 0 then pos.x = pos.x - offset - pos.z = self.getPosition().z + pos.z = self.getPosition().z - 1 - offset else pos.z = pos.z - offset end From 6c0deb0f3e42fcc94c92d404cf69efe5162b5e0e Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Wed, 19 Apr 2023 22:45:54 +0200 Subject: [PATCH 2/3] upscaled TSK images --- src/accessories/CustomPlaymatImages.ttslua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/accessories/CustomPlaymatImages.ttslua b/src/accessories/CustomPlaymatImages.ttslua index 056a2bab..008ada31 100644 --- a/src/accessories/CustomPlaymatImages.ttslua +++ b/src/accessories/CustomPlaymatImages.ttslua @@ -672,13 +672,13 @@ local DATA = { } }, ["The Scarlet Keys"] = { { Name = "5-A Riddles and Rain", - URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955398/8AA6CA240AA14FE83BB56B31B8F551BA67E051C5/" + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792057358580/E9E5FE4028C08B3D4883406821221B73C8B5B2C7/" }, { Name = "16-D Sanguine Shadows", - URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955264/90C07925065127BC9C5027A0D236F1805635CD8E/" + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792057358704/4A7261EB31511467CBC46E876476DD205F528A4B/" }, { Name = "21-F Dealings in the Dark", - URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955657/D5D4D60B9431F62CA3283BEE591D809F43AD6F4F/" + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792057358816/7C9FE4C34CD0A7AE87EF054742D878F310C71AA7/" }, { Name = "28-I Dancing Mad", URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955518/EAB857DD5629EC6A3078FB0A3A703B85B5F514B9/" From 81bfaaf14ad9c1f5b0a576fb52c4e8d4a44c68c7 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sat, 6 May 2023 13:30:33 +0200 Subject: [PATCH 3/3] added missing TSK images --- src/accessories/CustomPlaymatImages.ttslua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/accessories/CustomPlaymatImages.ttslua b/src/accessories/CustomPlaymatImages.ttslua index 008ada31..95edf33f 100644 --- a/src/accessories/CustomPlaymatImages.ttslua +++ b/src/accessories/CustomPlaymatImages.ttslua @@ -673,6 +673,9 @@ local DATA = { ["The Scarlet Keys"] = { { Name = "5-A Riddles and Rain", URL = "http://cloud-3.steamusercontent.com/ugc/2037357792057358580/E9E5FE4028C08B3D4883406821221B73C8B5B2C7/" + }, { + Name = "11-B Dead Heat", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566443853/CAD7771D90141EA6D5FFAFE1EC5E7AD9647C82DB/" }, { Name = "16-D Sanguine Shadows", URL = "http://cloud-3.steamusercontent.com/ugc/2037357792057358704/4A7261EB31511467CBC46E876476DD205F528A4B/" @@ -682,6 +685,24 @@ local DATA = { }, { Name = "28-I Dancing Mad", URL = "http://cloud-3.steamusercontent.com/ugc/2037357792056955518/EAB857DD5629EC6A3078FB0A3A703B85B5F514B9/" + }, { + Name = "23-K On Thin Ice", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566444026/EB5628E254AE25DA89A9C999EAAD995ECF67068E/" + }, { + Name = "38-N Dogs of War", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566444199/194FD9A713907197471A55411AE300B62C5F5278/" + }, { + Name = "46-Q Shades of Suffering", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566444330/3ED2CCE95DE933546E1B5CBBF445D773E6D65465/" + }, { + Name = "56-Y ???", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566444450/FE4C335B0F72E83900A4EED0FD1A1D304D70D6B7/" + }, { + Name = "59-Z Congress of Keys I", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566444576/5BB32469ED412D59BB0A46E57D226500B1D0568B/" + }, { + Name = "59-Z Congress of Keys II", + URL = "http://cloud-3.steamusercontent.com/ugc/2038485431566444690/B01A1FEAB57473D9B6DF11B92D62C214AA1C2C02/" } } }