updated seeker color and added scan

This commit is contained in:
Chr1Z93 2024-06-04 10:34:07 +02:00
parent ed26af2124
commit 9c30c3c8c4
16 changed files with 44 additions and 24 deletions

View File

@ -7,5 +7,12 @@
"level": 2,
"traits": "Ritual.",
"agilityIcons": 1,
"uses": [
{
"count": 1,
"type": "Universal",
"token": "universalActionAbility"
}
],
"cycle": "The Dream-Eaters"
}

View File

@ -8,6 +8,7 @@
"combatIcons": 3,
"agilityIcons": 4,
"cycle": "Investigator Packs",
"extraToken": "Reaction",
"deck_requirements": {
"size": 30,
"randomBasicWeaknessCount": 1,

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -26,7 +26,7 @@
{
"Name": "Bundle",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612031389309/E6C09F0D7A3113B2AAC011396EC6CAFC472834E4/"
"URL": "http://cloud-3.steamusercontent.com/ugc/2447222612040720035/C0FDFF98821D3DF56C67124C2695C3AB18F274DD/"
}
],
"Description": "Action / Ability Token",

View File

@ -18,10 +18,12 @@ local listOfSymbols = {
"FreeTrigger",
"Investigate",
"Move",
"None",
"Parley",
"PlayItem",
"Reaction",
"Resource",
"Scan",
"Spell",
"Tome",
"Guardian",
@ -37,7 +39,7 @@ local colorsForClasses = {
Mystic = Color.new(82 / 255, 18 / 255, 97 / 255),
Neutral = Color.new(108 / 255, 110 / 255, 112 / 255),
Rogue = Color.new(17 / 255, 72 / 255, 54 / 255),
Seeker = Color.new(228 / 255, 148 / 255, 74 / 255),
Seeker = Color.new(200 / 255, 120 / 255, 50 / 255),
Survivor = Color.new(190 / 255, 30 / 255, 45 / 255)
}
@ -197,10 +199,18 @@ function addContextMenu()
self.addContextMenuItem("Change 1st symbol", function(playerColor)
local symbolList = getSymbolList()
Player[playerColor].showOptionsDialog("Choose symbol", listOfSymbols, symbolList[1], function(newSymbol)
if symbolList[2] then
symbol = newSymbol .. "/" .. symbolList[2]
if newSymbol == "None" then
if symbolList[2] then
symbol = symbolList[2]
else
printToColor("Need to have at least one symbol.", playerColor)
end
else
symbol = newSymbol
if symbolList[2] then
symbol = newSymbol .. "/" .. symbolList[2]
else
symbol = newSymbol
end
end
updateDisplay()
end)
@ -209,16 +219,14 @@ function addContextMenu()
self.addContextMenuItem("Change 2nd symbol", function(playerColor)
local symbolList = getSymbolList()
Player[playerColor].showOptionsDialog("Choose 2nd symbol", listOfSymbols, symbolList[2] or symbolList[1], function(newSymbol)
symbol = symbolList[1] .. "/" .. newSymbol
if newSymbol == "None" then
symbol = symbolList[1]
else
symbol = symbolList[1] .. "/" .. newSymbol
end
updateDisplay()
end)
end)
self.addContextMenuItem("Remove 2nd symbol", function()
local symbolList = getSymbolList()
symbol = symbolList[1]
updateDisplay()
end)
end
function updateClass(newClass)
@ -261,6 +269,10 @@ end
function onRandomize()
local newSymbol = listOfSymbols[math.random(1, #listOfSymbols)]
while newSymbol == "None" do
newSymbol = listOfSymbols[math.random(1, #listOfSymbols)]
end
-- if the new symbol is a class symbol, don't get a random class
if isClassName(newSymbol) then
updateClassAndSymbol({ class = newSymbol, symbol = newSymbol })