metadata update
This commit is contained in:
parent
616d58218d
commit
a0b8dc6d87
@ -6,5 +6,12 @@
|
|||||||
"level": 0,
|
"level": 0,
|
||||||
"traits": "Item. Occult. Tome.",
|
"traits": "Item. Occult. Tome.",
|
||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Secret",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Path to Carcosa"
|
"cycle": "The Path to Carcosa"
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,12 @@
|
|||||||
"level": 0,
|
"level": 0,
|
||||||
"traits": "Item. Tome. Occult.",
|
"traits": "Item. Tome. Occult.",
|
||||||
"wildIcons": 1,
|
"wildIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Leyline",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "Edge of the Earth"
|
"cycle": "Edge of the Earth"
|
||||||
}
|
}
|
||||||
|
@ -7,5 +7,12 @@
|
|||||||
"traits": "Ritual.",
|
"traits": "Ritual.",
|
||||||
"willpowerIcons": 1,
|
"willpowerIcons": 1,
|
||||||
"agilityIcons": 1,
|
"agilityIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Click",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Forgotten Age"
|
"cycle": "The Forgotten Age"
|
||||||
}
|
}
|
||||||
|
@ -7,5 +7,12 @@
|
|||||||
"traits": "Item. Tome. Blessed.",
|
"traits": "Item. Tome. Blessed.",
|
||||||
"willpowerIcons": 1,
|
"willpowerIcons": 1,
|
||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Secret",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Innsmouth Conspiracy"
|
"cycle": "The Innsmouth Conspiracy"
|
||||||
}
|
}
|
||||||
|
@ -7,5 +7,12 @@
|
|||||||
"traits": "Item. Tome. Cursed.",
|
"traits": "Item. Tome. Cursed.",
|
||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
"agilityIcons": 1,
|
"agilityIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Secret",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Innsmouth Conspiracy"
|
"cycle": "The Innsmouth Conspiracy"
|
||||||
}
|
}
|
||||||
|
@ -8,5 +8,12 @@
|
|||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
"agilityIcons": 1,
|
"agilityIcons": 1,
|
||||||
"wildIcons": 1,
|
"wildIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Evidence",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Scarlet Keys"
|
"cycle": "The Scarlet Keys"
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,12 @@
|
|||||||
"level": 0,
|
"level": 0,
|
||||||
"traits": "Item. Tool. Science.",
|
"traits": "Item. Tool. Science.",
|
||||||
"agilityIcons": 1,
|
"agilityIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Evidence",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Scarlet Keys"
|
"cycle": "The Scarlet Keys"
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,13 @@
|
|||||||
"level": 0,
|
"level": 0,
|
||||||
"traits": "Talent. Science.",
|
"traits": "Talent. Science.",
|
||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Evidence",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"customizations": [
|
"customizations": [
|
||||||
{
|
{
|
||||||
"name": "Pessimistic Outlook",
|
"name": "Pessimistic Outlook",
|
||||||
|
@ -5,5 +5,12 @@
|
|||||||
"cost": 1,
|
"cost": 1,
|
||||||
"traits": "Item. Relic.",
|
"traits": "Item. Relic.",
|
||||||
"wildIcons": 2,
|
"wildIcons": 2,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Offering",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "Promo"
|
"cycle": "Promo"
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,12 @@
|
|||||||
"level": 0,
|
"level": 0,
|
||||||
"traits": "Item. Tool.",
|
"traits": "Item. Tool.",
|
||||||
"willpowerIcons": 1,
|
"willpowerIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Evidence",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Circle Undone"
|
"cycle": "The Circle Undone"
|
||||||
}
|
}
|
||||||
|
@ -8,5 +8,12 @@
|
|||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
"combatIcons": 1,
|
"combatIcons": 1,
|
||||||
"wildIcons": 1,
|
"wildIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Evidence",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "Edge of the Earth"
|
"cycle": "Edge of the Earth"
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,13 @@
|
|||||||
"level": 4,
|
"level": 4,
|
||||||
"traits": "Ritual. Blessed. Cursed.",
|
"traits": "Ritual. Blessed. Cursed.",
|
||||||
"wildIcons": 1,
|
"wildIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Corruption",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
"cycle": "The Innsmouth Conspiracy"
|
"cycle": "The Innsmouth Conspiracy"
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,12 @@
|
|||||||
"level": 0,
|
"level": 0,
|
||||||
"traits": "Item. Tome. Science.",
|
"traits": "Item. Tome. Science.",
|
||||||
"intellectIcons": 1,
|
"intellectIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Evidence",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Scarlet Keys"
|
"cycle": "The Scarlet Keys"
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,12 @@
|
|||||||
"level": 3,
|
"level": 3,
|
||||||
"traits": "Ritual.",
|
"traits": "Ritual.",
|
||||||
"permanent": true,
|
"permanent": true,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Offering",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Scarlet Keys"
|
"cycle": "The Scarlet Keys"
|
||||||
}
|
}
|
||||||
|
@ -12,5 +12,12 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"combatIcons": 1,
|
"combatIcons": 1,
|
||||||
|
"uses": [
|
||||||
|
{
|
||||||
|
"count": 0,
|
||||||
|
"type": "Offering",
|
||||||
|
"token": "resource"
|
||||||
|
}
|
||||||
|
],
|
||||||
"cycle": "The Dream-Eaters"
|
"cycle": "The Dream-Eaters"
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
{"acknowledgedUpgradeVersions":[],"optionPanel":{"cardLanguage":"en","playAreaSnapTags":true,"showAttachmentHelper":false,"showCleanUpHelper":false,"showCustomPlaymatImages":false,"showCYOA":false,"showDisplacementTool":false,"showDrawButton":false,"showHandHelper":[],"showSearchAssistant":[],"showTitleSplash":true,"useClueClickers":false,"useSnapTags":true}}
|
{"acknowledgedUpgradeVersions":[],"optionPanel":{"cardLanguage":"en","playAreaSnapTags":true,"showAttachmentHelper":false,"showCleanUpHelper":false,"showCustomPlaymatImages":false,"showCYOA":false,"showDisplacementTool":false,"showDrawButton":false,"showHandHelper":[],"showSearchAssistant":[],"showTitleSplash":true,"useClueClickers":false,"useResourceCounters":"disabled","useSnapTags":true}}
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
|
||||||
|
local mythosAreaApi = require("core/MythosAreaApi")
|
||||||
|
local navigationOverlayApi = require("core/NavigationOverlayApi")
|
||||||
|
local playAreaApi = require("core/PlayAreaApi")
|
||||||
|
local playmatApi = require("playermat/PlaymatApi")
|
||||||
|
local soundCubeApi = require("core/SoundCubeApi")
|
||||||
|
local tokenArrangerApi = require("accessories/TokenArrangerApi")
|
||||||
|
local tokenChecker = require("core/token/TokenChecker")
|
||||||
|
local tokenManager = require("core/token/TokenManager")
|
||||||
|
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
-- general setup
|
-- general setup
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@ -5,9 +15,6 @@
|
|||||||
ENCOUNTER_DECK_POS = {-3.93, 1, 5.76}
|
ENCOUNTER_DECK_POS = {-3.93, 1, 5.76}
|
||||||
ENCOUNTER_DECK_DISCARD_POSITION = {-3.85, 1, 10.38}
|
ENCOUNTER_DECK_DISCARD_POSITION = {-3.85, 1, 10.38}
|
||||||
|
|
||||||
-- optionPanel data
|
|
||||||
optionPanel = {}
|
|
||||||
|
|
||||||
-- GUID of data helper
|
-- GUID of data helper
|
||||||
DATA_HELPER_GUID = "708279"
|
DATA_HELPER_GUID = "708279"
|
||||||
|
|
||||||
@ -31,15 +38,6 @@ local IS_RESHUFFLING = false
|
|||||||
local bagSearchers = {}
|
local bagSearchers = {}
|
||||||
local MAT_COLORS = {"White", "Orange", "Green", "Red"}
|
local MAT_COLORS = {"White", "Orange", "Green", "Red"}
|
||||||
local hideTitleSplashWaitFunctionId = nil
|
local hideTitleSplashWaitFunctionId = nil
|
||||||
local playmatApi = require("playermat/PlaymatApi")
|
|
||||||
local tokenManager = require("core/token/TokenManager")
|
|
||||||
local playAreaAPI = require("core/PlayAreaApi")
|
|
||||||
local soundCubeApi = require("core/SoundCubeApi")
|
|
||||||
local mythosAreaApi = require("core/MythosAreaApi")
|
|
||||||
local tokenArrangerApi = require("accessories/TokenArrangerApi")
|
|
||||||
local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
|
|
||||||
local navigationOverlayApi = require("core/NavigationOverlayApi")
|
|
||||||
local tokenChecker = require("core/token/TokenChecker")
|
|
||||||
|
|
||||||
-- online functionality related variables
|
-- online functionality related variables
|
||||||
local MOD_VERSION = "3.2.0"
|
local MOD_VERSION = "3.2.0"
|
||||||
@ -47,6 +45,8 @@ local SOURCE_REPO = 'https://raw.githubusercontent.com/chr1z93/loadable-objects/
|
|||||||
local library, requestObj, modMeta, notificationVisible
|
local library, requestObj, modMeta, notificationVisible
|
||||||
local acknowledgedUpgradeVersions = {}
|
local acknowledgedUpgradeVersions = {}
|
||||||
|
|
||||||
|
-- optionPanel data
|
||||||
|
optionPanel = {}
|
||||||
local LANGUAGES = {
|
local LANGUAGES = {
|
||||||
{ code = "zh_CN", name = "简体中文" },
|
{ code = "zh_CN", name = "简体中文" },
|
||||||
{ code = "zh_TW", name = "繁體中文" },
|
{ code = "zh_TW", name = "繁體中文" },
|
||||||
@ -56,6 +56,11 @@ local LANGUAGES = {
|
|||||||
{ code = "fr", name = "Français" },
|
{ code = "fr", name = "Français" },
|
||||||
{ code = "it", name = "Italiano" }
|
{ code = "it", name = "Italiano" }
|
||||||
}
|
}
|
||||||
|
local RESOURCE_OPTIONS = {
|
||||||
|
"enabled",
|
||||||
|
"custom",
|
||||||
|
"disabled"
|
||||||
|
}
|
||||||
|
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
-- data for tokens
|
-- data for tokens
|
||||||
@ -170,7 +175,7 @@ end
|
|||||||
-- This requires the try method as cards won't exist any more after they enter a deck, so the lines
|
-- This requires the try method as cards won't exist any more after they enter a deck, so the lines
|
||||||
-- can't be cleared.
|
-- can't be cleared.
|
||||||
function tryObjectEnterContainer(container, object)
|
function tryObjectEnterContainer(container, object)
|
||||||
playAreaAPI.tryObjectEnterContainer(container, object)
|
playAreaApi.tryObjectEnterContainer(container, object)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -902,22 +907,12 @@ end
|
|||||||
|
|
||||||
-- called by the resource counter selection dropdown
|
-- called by the resource counter selection dropdown
|
||||||
function resourceCounterSelected(_, selectedIndex, id)
|
function resourceCounterSelected(_, selectedIndex, id)
|
||||||
local optionList = {
|
optionPanel[id] = RESOURCE_OPTIONS[tonumber(selectedIndex) + 1]
|
||||||
"enabled",
|
|
||||||
"custom",
|
|
||||||
"disabled"
|
|
||||||
}
|
|
||||||
optionPanel[id] = optionList[tonumber(selectedIndex) + 1]
|
|
||||||
print(optionPanel[id])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- returns the ID for the provided option name
|
||||||
function returnResourceCounterId(name)
|
function returnResourceCounterId(name)
|
||||||
local optionList = {
|
for index, optionName in ipairs(RESOURCE_OPTIONS) do
|
||||||
"enabled",
|
|
||||||
"custom",
|
|
||||||
"disabled"
|
|
||||||
}
|
|
||||||
for index, optionName in ipairs(optionList) do
|
|
||||||
if optionName == name then
|
if optionName == name then
|
||||||
return index
|
return index
|
||||||
end
|
end
|
||||||
@ -967,7 +962,7 @@ function applyOptionPanelChange(id, state)
|
|||||||
|
|
||||||
-- option: Play area snap tags
|
-- option: Play area snap tags
|
||||||
elseif id == "playAreaSnapTags" then
|
elseif id == "playAreaSnapTags" then
|
||||||
playAreaAPI.setLimitSnapsByType(state)
|
playAreaApi.setLimitSnapsByType(state)
|
||||||
optionPanel[id] = state
|
optionPanel[id] = state
|
||||||
|
|
||||||
-- option: Show Title on placing scenarios
|
-- option: Show Title on placing scenarios
|
||||||
@ -1109,8 +1104,9 @@ function onClick_defaultSettings()
|
|||||||
applyOptionPanelChange(id, state)
|
applyOptionPanelChange(id, state)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- clean reset of variable
|
-- clean reset of variables
|
||||||
optionPanel = {
|
optionPanel = {
|
||||||
|
cardLanguage = "en",
|
||||||
playAreaSnapTags = true,
|
playAreaSnapTags = true,
|
||||||
showAttachmentHelper = false,
|
showAttachmentHelper = false,
|
||||||
showCleanUpHelper = false,
|
showCleanUpHelper = false,
|
||||||
@ -1122,6 +1118,7 @@ function onClick_defaultSettings()
|
|||||||
showSearchAssistant = {},
|
showSearchAssistant = {},
|
||||||
showTitleSplash = true,
|
showTitleSplash = true,
|
||||||
useClueClickers = false,
|
useClueClickers = false,
|
||||||
|
useResourceCounters = "disabled",
|
||||||
useSnapTags = true
|
useSnapTags = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user