Merge pull request #1023 from argonui/src-clean-up

Moved scripts
This commit is contained in:
dscarpac 2024-11-21 14:26:59 -06:00 committed by GitHub
commit 1a2866decf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
102 changed files with 133 additions and 133 deletions

View File

@ -42,7 +42,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"accessories/CampaignImporterExporter\")",
"LuaScript": "require(\"core/CampaignImporterExporter\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Tile",

View File

@ -42,7 +42,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"accessories/CardBackEnhancer\")",
"LuaScript": "require(\"core/CardBackEnhancer\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Tile",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/DoomCounter\")",
"LuaScript": "require(\"mythos/DoomCounter\")",
"LuaScriptState": "[0,{\"Agenda\":true,\"Playarea\":true,\"Playermats\":true}]",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "AutofailCounter",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "ElderSignCounter",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/ActiveInvestigatorCounter\")",
"LuaScript": "require(\"playarea/ActiveInvestigatorCounter\")",
"LuaScriptState": "2",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/MasterClueCounter\")",
"LuaScript": "require(\"mythos/MasterClueCounter\")",
"LuaScriptState": "false",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -66,7 +66,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/MythosArea\")",
"LuaScript": "require(\"mythos/MythosArea\")",
"LuaScriptState": "{\"currentScenario\":\"\",\"tokenData\":[],\"useFrontData\":true}",
"MeasureMovement": false,
"Name": "Custom_Tile",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"accessories/AdditionalVictoryPointsCard\")",
"LuaScript": "require(\"mythos/AdditionalVictoryPointsCard\")",
"LuaScriptState": "{\"notes\":\"Click to type\",\"vp\":1}",
"MeasureMovement": false,
"Name": "CardCustom",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/DoomInPlayCounter\")",
"LuaScript": "require(\"mythos/DoomInPlayCounter\")",
"LuaScriptState": "false",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"accessories/PhaseTracker\")",
"LuaScript": "require(\"playarea/PhaseTracker\")",
"LuaScriptState": "{\"broadcastChange\":false,\"phaseId\":1}",
"MeasureMovement": false,
"Name": "Custom_Tile",

View File

@ -977,7 +977,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/PlayArea\")",
"LuaScript": "require(\"playarea/PlayArea\")",
"LuaScriptState_path": "PlayArea.721ba2.luascriptstate",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/PlayAreaSelector\")",
"LuaScript": "require(\"playarea/PlayAreaSelector\")",
"LuaScriptState": "{\"selectionIndex\":1,\"typeIndex\":1}",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "5",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "5",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "5",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "5",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"accessories/TokenArranger\")",
"LuaScript": "require(\"tokens/TokenArranger\")",
"LuaScriptState_path": "TokenArranger.022907.luascriptstate",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -33,8 +33,8 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"util/TokenRemover\")",
"LuaScriptState": "null",
"LuaScript": "require(\"tokens/TokenRemover\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Tile",
"Nickname": "Token Remover",

View File

@ -33,8 +33,8 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"util/TokenRemover\")",
"LuaScriptState": "null",
"LuaScript": "require(\"tokens/TokenRemover\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Tile",
"Nickname": "Token Remover",

View File

@ -33,8 +33,8 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"util/TokenRemover\")",
"LuaScriptState": "null",
"LuaScript": "require(\"tokens/TokenRemover\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Tile",
"Nickname": "Token Remover",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScript": "require(\"tokens/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Memo": "resourceCounter",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/UniversalActionAbilityToken\")",
"LuaScript": "require(\"tokens/UniversalActionAbilityToken\")",
"LuaScriptState": "{\"class\":\"Neutral\",\"symbol\":\"Neutral\"}",
"MeasureMovement": false,
"Memo": "universalActionAbility",

View File

@ -21,7 +21,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"util/TokenSpawnTool\")",
"LuaScript": "require(\"tokens/TokenSpawnTool\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Checker_white",

View File

@ -21,7 +21,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/token/TokenSpawnTracker\")",
"LuaScript": "require(\"tokens/TokenSpawnTracker\")",
"LuaScriptState": "{\"cards\":[]}",
"MeasureMovement": false,
"Name": "Checker_white",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "damage",

View File

@ -40,7 +40,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/DamageHorrorCounter\")",
"LuaScript": "require(\"tokens/DamageHorrorCounter\")",
"LuaScriptState": "1",
"MeasureMovement": false,
"Memo": "horror",

View File

@ -155,7 +155,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "require(\"core/VictoryDisplay\")",
"LuaScript": "require(\"mythos/VictoryDisplay\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Token",

View File

@ -6,12 +6,12 @@
local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
local chaosBagApi = require("chaosbag/ChaosBagApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local mythosAreaApi = require("core/MythosAreaApi")
local playAreaApi = require("core/PlayAreaApi")
local mythosAreaApi = require("mythos/MythosAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local soundCubeApi = require("core/SoundCubeApi")
local tokenSpawnTrackerApi = require("core/token/TokenSpawnTrackerApi")
local tokenSpawnTrackerApi = require("tokens/TokenSpawnTrackerApi")
-- objects with this tag will be ignored
local IGNORE_TAG = "CleanUpHelper_ignore"

View File

@ -1,4 +1,4 @@
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local UI_offset = 1.15

View File

@ -1,6 +1,6 @@
do
local allCardsBagApi = require("playercards/AllCardsBagApi")
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local ArkhamDb = {}
local internal = {}

View File

@ -1,5 +1,5 @@
local chaosBagApi = require("chaosbag/ChaosBagApi")
local tokenArrangerApi = require("accessories/TokenArrangerApi")
local tokenArrangerApi = require("tokens/TokenArrangerApi")
-- common button parameters
local buttonParamaters = {}

View File

@ -1,3 +0,0 @@
require("core/GenericCounter")
MIN_VALUE = 1
MAX_VALUE = 4

View File

@ -3,9 +3,9 @@ local deckImporterApi = require("arkhamdb/DeckImporterApi")
local globalApi = require("core/GlobalApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local navigationOverlayApi = require("core/NavigationOverlayApi")
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local playermatApi = require("playermat/PlayermatApi")
local tokenArrangerApi = require("accessories/TokenArrangerApi")
local tokenArrangerApi = require("tokens/TokenArrangerApi")
-- base data for token creation
local saveTokenData = {

View File

@ -1,13 +1,13 @@
local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
local GlobalApi = require("core/GlobalApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local mythosAreaApi = require("core/MythosAreaApi")
local mythosAreaApi = require("mythos/MythosAreaApi")
local navigationOverlayApi = require("core/NavigationOverlayApi")
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenChecker = require("core/token/TokenChecker")
local victoryDisplayApi = require("core/VictoryDisplayApi")
local tokenChecker = require("tokens/TokenChecker")
local victoryDisplayApi = require("mythos/VictoryDisplayApi")
local sentMessage = false

View File

@ -1,15 +1,15 @@
require("core/Constants")
local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local mythosAreaApi = require("core/MythosAreaApi")
local mythosAreaApi = require("mythos/MythosAreaApi")
local navigationOverlayApi = require("core/NavigationOverlayApi")
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local soundCubeApi = require("core/SoundCubeApi")
local tokenArrangerApi = require("accessories/TokenArrangerApi")
local tokenChecker = require("core/token/TokenChecker")
local tokenSpawnTrackerApi = require("core/token/TokenSpawnTrackerApi")
local tokenArrangerApi = require("tokens/TokenArrangerApi")
local tokenChecker = require("tokens/TokenChecker")
local tokenSpawnTrackerApi = require("tokens/TokenSpawnTrackerApi")
---------------------------------------------------------
-- general setup

View File

@ -1,4 +1,4 @@
local victoryDisplayApi = require("core/VictoryDisplayApi")
local victoryDisplayApi = require("mythos/VictoryDisplayApi")
local MIN_VALUE = -10
local MAX_VALUE = 99

View File

@ -1,16 +1,16 @@
local guidReferenceApi = require("core/GUIDReferenceApi")
local playAreaApi = require("core/PlayAreaApi")
local searchLib = require("util/SearchLib")
local playAreaApi = require("playarea/PlayAreaApi")
local searchLib = require("util/SearchLib")
local optionsVisible = false
local options = {
local optionsVisible = false
local options = {
Agenda = true,
Playarea = true,
Playermats = true
}
val = 0
self.max_typed_number = 99
val = 0
self.max_typed_number = 99
-- save current value and options
function onSave() return JSON.encode({ val, options }) end
@ -85,7 +85,8 @@ function broadcastDoom(val)
end
-- sum the doom thresholds and modifiers
local doomThreshold = (md.doomThreshold or 0) + mod + (md.doomThresholdPerInvestigator or 0) * invCount + soloDoomThreshold
local doomThreshold = (md.doomThreshold or 0) + mod + (md.doomThresholdPerInvestigator or 0) * invCount +
soloDoomThreshold
local doomInPlayCounter = guidReferenceApi.getObjectByOwnerAndType("Mythos", "DoomInPlayCounter")
if doomInPlayCounter and md.subtractDoomInPlay then

View File

@ -2,12 +2,11 @@ require("core/Constants")
local deckLib = require("util/DeckLib")
local GlobalApi = require("core/GlobalApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenArrangerApi = require("accessories/TokenArrangerApi")
local tokenChecker = require("core/token/TokenChecker")
local tokenSpawnTrackerApi = require("core/token/TokenSpawnTrackerApi")
local tokenArrangerApi = require("tokens/TokenArrangerApi")
local tokenSpawnTrackerApi = require("tokens/TokenSpawnTrackerApi")
local ENCOUNTER_DECK_AREA = {
upperLeft = { x = 1.05, z = 0.15 },

View File

@ -1,9 +1,9 @@
local chaosBagApi = require("chaosbag/ChaosBagApi")
local deckLib = require("util/DeckLib")
local guidReferenceApi = require("core/GUIDReferenceApi")
local playAreaApi = require("core/PlayAreaApi")
local playAreaApi = require("playarea/PlayAreaApi")
local searchLib = require("util/SearchLib")
local tokenChecker = require("core/token/TokenChecker")
local tokenChecker = require("tokens/TokenChecker")
local pendingCall = false
local missingData = {}

View File

@ -0,0 +1,3 @@
require("tokens/GenericCounter")
MIN_VALUE = 1
MAX_VALUE = 4

View File

@ -1,6 +1,6 @@
local guidReferenceApi = require("core/GUIDReferenceApi")
local searchLib = require("util/SearchLib")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
-- Location connection directional options
local BIDIRECTIONAL = 0

View File

@ -1,6 +1,6 @@
require("core/PlayAreaImageData") -- this fills the variable "PLAYAREA_IMAGE_DATA"
local GlobalApi = require("core/GlobalApi")
local playAreaApi = require("core/PlayAreaApi")
require("playarea/PlayAreaImageData") -- this fills the variable "PLAYAREA_IMAGE_DATA"
local GlobalApi = require("core/GlobalApi")
local playAreaApi = require("playarea/PlayAreaApi")
local typeIndex, selectionIndex, plainNameCache
function updateSave()
@ -21,7 +21,7 @@ function onLoad(savedData)
function_owner = self,
click_function = "onClick_toggleGallery",
tooltip = "Show Image Gallery",
position = {0, 0.06, 0},
position = { 0, 0.06, 0 },
height = 1500,
width = 1500,
color = { 1, 1, 1, 0 }

View File

@ -25,7 +25,7 @@ SHOW_MULTI_RELEASE --@type: number (maximum amount of tokens to release at once
- enables an entry in the context menu
- this entry allows releasing of multiple tokens at once, to the maximum number
- does not fail if there are fewer than the maximum sealed
- example usage: "Nephthys" (to release up to 3 bless tokens at once)
- example usage: "Nephthys" (to release up to 3 bless tokens at once)
SHOW_MULTI_RETURN --@type: number (amount of tokens to return to pool at once)
- enables an entry in the context menu
@ -86,27 +86,27 @@ Thus it should be implemented like this:
----------------------------------------------------------]]
local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
local chaosBagApi = require("chaosbag/ChaosBagApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local playermatApi = require("playermat/PlayermatApi")
local tokenArrangerApi = require("accessories/TokenArrangerApi")
local chaosBagApi = require("chaosbag/ChaosBagApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local playermatApi = require("playermat/PlayermatApi")
local tokenArrangerApi = require("tokens/TokenArrangerApi")
local sealedTokens = {}
local ID_URL_MAP = {}
local tokensInBag = {}
local sealedTokens = {}
local ID_URL_MAP = {}
local tokensInBag = {}
-- XML background color for each token for label when stacked
local tokenColor = {
["Skull"] = "#4A0400E6",
["Cultist"] = "#173B0BE6",
["Tablet"] = "#1D2238E6",
local tokenColor = {
["Skull"] = "#4A0400E6",
["Cultist"] = "#173B0BE6",
["Tablet"] = "#1D2238E6",
["Elder Thing"] = "#4D2331E6",
["Auto-fail"] = "#9B0004E6",
["Bless"] = "#9D702CE6",
["Curse"] = "#633A84E6",
["Frost"] = "#404450E6",
["Elder Sign"] = "#50A8CEE6",
[""] = "#77674DE6"
["Auto-fail"] = "#9B0004E6",
["Bless"] = "#9D702CE6",
["Curse"] = "#633A84E6",
["Frost"] = "#404450E6",
["Elder Sign"] = "#50A8CEE6",
[""] = "#77674DE6"
}
function updateSave()

View File

@ -1,5 +1,5 @@
require("playercards/CardsWithHelper")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
-- intentionally global
hasXML = true

View File

@ -1,7 +1,7 @@
require("playercards/CardsWithHelper")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
-- intentionally global
hasXML = true

View File

@ -3,7 +3,7 @@ local blessCurseManagerApi = require("chaosbag/BlessCurseManagerApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
-- intentionally global
hasXML = true

View File

@ -1,5 +1,5 @@
local mythosAreaApi = require("core/MythosAreaApi")
local playermatApi = require("playermat/PlayermatApi")
local mythosAreaApi = require("mythos/MythosAreaApi")
local playermatApi = require("playermat/PlayermatApi")
function onLoad()
-- get class via metadata and proceed menu accordingly:

View File

@ -2,7 +2,7 @@ require("playercards/CardsWithHelper")
local guidReferenceApi = require("core/GUIDReferenceApi")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
-- intentionally global
hasXML = true

View File

@ -1,7 +1,7 @@
require("playercards/CardsWithHelper")
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
-- intentionally global
hasXML = true

View File

@ -3,12 +3,12 @@ local chaosBagApi = require("chaosbag/ChaosBagApi")
local deckLib = require("util/DeckLib")
local GlobalApi = require("core/GlobalApi")
local guidReferenceApi = require("core/GUIDReferenceApi")
local mythosAreaApi = require("core/MythosAreaApi")
local mythosAreaApi = require("mythos/MythosAreaApi")
local navigationOverlayApi = require("core/NavigationOverlayApi")
local searchLib = require("util/SearchLib")
local tokenChecker = require("core/token/TokenChecker")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenSpawnTrackerApi = require("core/token/TokenSpawnTrackerApi")
local tokenChecker = require("tokens/TokenChecker")
local tokenManagerApi = require("tokens/TokenManagerApi")
local tokenSpawnTrackerApi = require("tokens/TokenSpawnTrackerApi")
local zones = require("playermat/Zones")
-- option panel data

View File

@ -1,5 +1,5 @@
local chaosBagApi = require("chaosbag/ChaosBagApi")
local mythosAreaApi = require("core/MythosAreaApi")
local mythosAreaApi = require("mythos/MythosAreaApi")
-- common parameters
local buttonParameters = {}

View File

@ -1,6 +1,6 @@
local playermatApi = require("playermat/PlayermatApi")
local searchLib = require("util/SearchLib")
local tokenManagerApi = require("core/token/TokenManagerApi")
local tokenManagerApi = require("tokens/TokenManagerApi")
local TOKEN_INDEX = {}
TOKEN_INDEX[1] = "universalActionAbility"

Some files were not shown because too many files have changed in this diff Show More