added TSK and Ghosts of Onigawa, minor layout update
This commit is contained in:
parent
ecfd765806
commit
6a5c0b4cd1
@ -653,6 +653,35 @@ local DATA = {
|
|||||||
}, {
|
}, {
|
||||||
Name = "III - Devourer Below 2",
|
Name = "III - Devourer Below 2",
|
||||||
URL = "https://i.ibb.co/6r6LFGz/Zealot-3-Devourer-Below-Sarah-Miller.png"
|
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 Dream Eaters",
|
||||||
"The Innsmouth Conspiracy",
|
"The Innsmouth Conspiracy",
|
||||||
"Edge of the Earth",
|
"Edge of the Earth",
|
||||||
|
"The Scarlet Keys",
|
||||||
"Side Scenarios",
|
"Side Scenarios",
|
||||||
"Cyclopean Foundations (FM)",
|
"Cyclopean Foundations (FM)",
|
||||||
"Dark Matter (FM)",
|
"Dark Matter (FM)",
|
||||||
|
"The Ghosts of Onigawa (FM)",
|
||||||
"Side Scenarios (FM)"
|
"Side Scenarios (FM)"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -722,6 +753,7 @@ function optionCallback(_, optionIndex)
|
|||||||
index = 0,
|
index = 0,
|
||||||
label = CycleList[CycleIndex]
|
label = CycleList[CycleIndex]
|
||||||
})
|
})
|
||||||
|
showImages()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- triggered by clicking the "display" button
|
-- triggered by clicking the "display" button
|
||||||
@ -732,8 +764,9 @@ function showImages(_, _, isRightClick)
|
|||||||
if isRightClick then return end
|
if isRightClick then return end
|
||||||
|
|
||||||
local pos = self.getPosition()
|
local pos = self.getPosition()
|
||||||
local offset = 4.5
|
local rot = self.getRotation()
|
||||||
pos.x = pos.x - offset
|
local offset = 3.7
|
||||||
|
pos.z = pos.z - 1 - offset
|
||||||
|
|
||||||
-- loop over respective entries in DATA
|
-- loop over respective entries in DATA
|
||||||
for i, entry in ipairs(DATA[CycleList[CycleIndex]]) do
|
for i, entry in ipairs(DATA[CycleList[CycleIndex]]) do
|
||||||
@ -743,14 +776,14 @@ function showImages(_, _, isRightClick)
|
|||||||
spawnObjectData({
|
spawnObjectData({
|
||||||
data = spawnData,
|
data = spawnData,
|
||||||
position = pos,
|
position = pos,
|
||||||
rotation = self.getRotation(),
|
rotation = rot,
|
||||||
scale = { 1, 1, 1 }
|
scale = { 0.9, 1, 0.9 }
|
||||||
})
|
})
|
||||||
|
|
||||||
-- display 10 tiles in a row, move then to next row
|
-- display 20 tiles in a row, move then to next row
|
||||||
if i % 10 == 0 then
|
if i % 20 == 0 then
|
||||||
pos.x = pos.x - offset
|
pos.x = pos.x - offset
|
||||||
pos.z = self.getPosition().z
|
pos.z = self.getPosition().z - 1 - offset
|
||||||
else
|
else
|
||||||
pos.z = pos.z - offset
|
pos.z = pos.z - offset
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user