diff --git a/src/accessories/CustomPlaymatImages.ttslua b/src/accessories/CustomPlaymatImages.ttslua index 0f7eabfa..95edf33f 100644 --- a/src/accessories/CustomPlaymatImages.ttslua +++ b/src/accessories/CustomPlaymatImages.ttslua @@ -653,6 +653,56 @@ 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/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/" + }, { + Name = "21-F Dealings in the Dark", + URL = "http://cloud-3.steamusercontent.com/ugc/2037357792057358816/7C9FE4C34CD0A7AE87EF054742D878F310C71AA7/" + }, { + 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/" } } } @@ -675,9 +725,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 +774,7 @@ function optionCallback(_, optionIndex) index = 0, label = CycleList[CycleIndex] }) + showImages() end -- triggered by clicking the "display" button @@ -732,8 +785,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 +797,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