Compare commits

...

16 Commits

Author SHA1 Message Date
f9e24bfa1d CI: Automatically create releases for pushed tags
All checks were successful
build-mod / build-the-mod (push) Successful in 37s
2024-08-17 13:24:33 -04:00
7f945dc71f Lower hand zones to prevent weird card interactions 2024-08-17 13:24:33 -04:00
e63b393c12 Allow swapping ArkhamDB importer to use AdamDB 2024-08-17 13:24:33 -04:00
e18991e582 Remove SCED Tour 2024-08-17 13:24:33 -04:00
5e2e0850e7 Move encounter discard buttons to bottom of card 2024-08-17 13:24:33 -04:00
3d255714d5 Spawn clues next to cards, instead of on them 2024-08-17 13:24:33 -04:00
cff3d8733e Deal encounter cards to players' hands 2024-08-17 13:24:33 -04:00
cb595b251c Enable useResourceCounters option 2024-08-17 13:24:33 -04:00
6d6bbf8732 Rotate all of the side token spawners/removers to normal orientation 2024-08-17 13:24:33 -04:00
00c97087d9 Expand play area for "doom in play" counter 2024-08-17 13:24:33 -04:00
9a15177567 Reposition clue/damage/horror/resource counters and trash 2024-08-17 13:24:33 -04:00
308612db0e Reposition/resize skill trackers 2024-08-17 13:24:33 -04:00
b87e4059b1 Update positions of action tokens 2024-08-17 13:24:33 -04:00
0eee01c77c Rotate red and green playermats to same as white/orange 2024-08-17 13:12:21 -04:00
03daf692ce Remove hand discard zones 2024-08-17 13:12:21 -04:00
5c172e4c4e Change default player count to 4 2024-08-17 13:12:21 -04:00
62 changed files with 191 additions and 417 deletions

View File

@ -1,11 +1,8 @@
name: build-mod name: build-mod
on: on:
workflow_dispatch: push:
release: tags:
types: [created] - "p*"
pull_request:
permissions: read-all
jobs: jobs:
build-the-mod: build-the-mod:
@ -14,5 +11,17 @@ jobs:
contents: write contents: write
actions: read actions: read
steps: steps:
- uses: argonui/TTSModManager.action@v1.0.0 - uses: actions/checkout@v3
- run: wget https://github.com/argonui/TTSModManager/releases/download/v1.2.1/TTSModManager-Linux
shell: bash
- run: chmod +x TTSModManager-Linux
shell: bash
- run: ./TTSModManager-Linux -moddir="./" -modfile="./SCED ${{ github.ref_name }}.json"
shell: bash
- name: Create Release
uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
files: "SCED ${{ github.ref_name }}.json"
name: "Patched ${{ github.ref_name }}"

View File

@ -156,16 +156,11 @@
"PhaseTrackerCache.645841", "PhaseTrackerCache.645841",
"TokenSource.124381", "TokenSource.124381",
"GameData.3dbe47", "GameData.3dbe47",
"SCEDTour.0e5aa8",
"DeckInstructionGenerator.240522", "DeckInstructionGenerator.240522",
"PlayerCards.2d30ee", "PlayerCards.2d30ee",
"TokenRemover.39b175", "TokenRemover.39b175",
"TokenRemover.2ba7a5", "TokenRemover.2ba7a5",
"TokenRemover.0a5a29", "TokenRemover.0a5a29",
"TokenDiscardZone.457de3",
"TokenDiscardZone.457de4",
"TokenDiscardZone.457de5",
"TokenDiscardZone.457de6",
"Decoration-Map.6161b4", "Decoration-Map.6161b4",
"TableDivider.612072", "TableDivider.612072",
"TableDivider.975c39", "TableDivider.975c39",

View File

@ -51,11 +51,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -36.867, "posX": -31.06,
"posY": 1.52, "posY": 1.52,
"posZ": 31.025, "posZ": 25.91,
"rotX": 0, "rotX": 0,
"rotY": 10, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.43, "scaleX": 0.43,
"scaleY": 0.33, "scaleY": 0.33,

View File

@ -51,11 +51,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -23.89, "posX": -30.78,
"posY": 1.52, "posY": 1.6,
"posZ": -31.107, "posZ": -39.04,
"rotX": 0, "rotX": 0,
"rotY": 190, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.43, "scaleX": 0.43,
"scaleY": 0.33, "scaleY": 0.33,

View File

@ -50,7 +50,7 @@
"posY": 1.561, "posY": 1.561,
"posZ": -26.426, "posZ": -26.426,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 0.8, "scaleY": 0.8,

View File

@ -50,7 +50,7 @@
"posY": 1.561, "posY": 1.561,
"posZ": 25.864, "posZ": 25.864,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 0.8, "scaleY": 0.8,

View File

@ -20,7 +20,7 @@
"HideWhenFaceDown": false, "HideWhenFaceDown": false,
"IgnoreFoW": false, "IgnoreFoW": false,
"LayoutGroupSortIndex": 0, "LayoutGroupSortIndex": 0,
"Locked": true, "Locked": false,
"LuaScript": "require(\"arkhamdb/Configuration\")", "LuaScript": "require(\"arkhamdb/Configuration\")",
"LuaScriptState": "", "LuaScriptState": "",
"MeasureMovement": false, "MeasureMovement": false,
@ -33,9 +33,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": 78, "posX": -8.44,
"posY": 1.395, "posY": 2,
"posZ": 4.352, "posZ": 77,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 180, "rotZ": 180,

View File

@ -42,12 +42,12 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -37.182, "posX": -29.1,
"posY": 1.52, "posY": 1.53,
"posZ": 29.089, "posZ": 25.51,
"rotX": 0, "rotX": 0,
"rotY": 10, "rotY": 280,
"rotZ": 1, "rotZ": 0,
"scaleX": 0.3, "scaleX": 0.3,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.3 "scaleZ": 0.3

View File

@ -42,11 +42,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -23.497, "posX": -28.84,
"posY": 1.52, "posY": 1.56,
"posZ": -29.078, "posZ": -39.21,
"rotX": 0, "rotX": 0,
"rotY": 190, "rotY": 280,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.3, "scaleX": 0.3,
"scaleY": 1, "scaleY": 1,

View File

@ -42,9 +42,9 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -57.507, "posX": -57.51,
"posY": 1.52, "posY": 1.52,
"posZ": -22.894, "posZ": -22.89,
"rotX": 0, "rotX": 0,
"rotY": 280, "rotY": 280,
"rotZ": 0, "rotZ": 0,

View File

@ -42,9 +42,9 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -57.472, "posX": -57.47,
"posY": 1.52, "posY": 1.52,
"posZ": 9.273, "posZ": 9.27,
"rotX": 0, "rotX": 0,
"rotY": 280, "rotY": 280,
"rotZ": 0, "rotZ": 0,

View File

@ -60,7 +60,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": -22.555, "posZ": -22.555,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -60,7 +60,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": 21.992, "posZ": 21.992,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -50,7 +50,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": 27.799, "posZ": 27.799,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -50,7 +50,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": -28.362, "posZ": -28.362,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -32,11 +32,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -30.35, "posX": -37.75,
"posY": 6, "posY": 5.08,
"posZ": 36.6, "posZ": 30,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 90,
"rotZ": 0, "rotZ": 0,
"scaleX": 22, "scaleX": 22,
"scaleY": 7, "scaleY": 7,

View File

@ -33,7 +33,7 @@
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -65, "posX": -65,
"posY": 6, "posY": 5.08,
"posZ": -16.1, "posZ": -16.1,
"rotX": 0, "rotX": 0,
"rotY": 90, "rotY": 90,

View File

@ -33,7 +33,7 @@
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -65, "posX": -65,
"posY": 6, "posY": 5.08,
"posZ": 16.1, "posZ": 16.1,
"rotX": 0, "rotX": 0,
"rotY": 90, "rotY": 90,

View File

@ -32,11 +32,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -30.35, "posX": -37.75,
"posY": 6, "posY": 5.08,
"posZ": -36.6, "posZ": -30,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 90,
"rotZ": 0, "rotZ": 0,
"scaleX": 22, "scaleX": 22,
"scaleY": 7, "scaleY": 7,

View File

@ -42,12 +42,12 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -39.163, "posX": -29.48,
"posY": 1.519, "posY": 1.54,
"posZ": 29.487, "posZ": 23.59,
"rotX": 0, "rotX": 0,
"rotY": 10, "rotY": 280,
"rotZ": 1, "rotZ": 0,
"scaleX": 0.3, "scaleX": 0.3,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.3 "scaleZ": 0.3

View File

@ -42,11 +42,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -21.469, "posX": -29.25,
"posY": 1.52, "posY": 1.57,
"posZ": -29.42, "posZ": -41.26,
"rotX": 0, "rotX": 0,
"rotY": 190, "rotY": 280,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.3, "scaleX": 0.3,
"scaleY": 1, "scaleY": 1,

View File

@ -50,7 +50,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": -24.491, "posZ": -24.491,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -50,7 +50,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": 23.928, "posZ": 23.928,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -34,7 +34,7 @@
"LayoutGroupSortIndex": 0, "LayoutGroupSortIndex": 0,
"Locked": true, "Locked": true,
"LuaScript": "require(\"core/ActiveInvestigatorCounter\")", "LuaScript": "require(\"core/ActiveInvestigatorCounter\")",
"LuaScriptState": "2", "LuaScriptState": "4",
"MeasureMovement": false, "MeasureMovement": false,
"Name": "Custom_Token", "Name": "Custom_Token",
"Nickname": "Investigator Count", "Nickname": "Investigator Count",

View File

@ -46,15 +46,15 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -37.35, "posX": -25.07,
"posY": 1.531, "posY": 1.53,
"posZ": 19.35, "posZ": 25.02,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.95, "scaleX": 0.48,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.95 "scaleZ": 0.48
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -46,15 +46,15 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -47.75, "posX": -53.44,
"posY": 1.531, "posY": 1.53,
"posZ": -23.1, "posZ": -23.69,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.95, "scaleX": 0.48,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.95 "scaleZ": 0.48
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -46,15 +46,15 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -47.75, "posX": -53.38,
"posY": 1.531, "posY": 1.53,
"posZ": 9.1, "posZ": 8.44,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.95, "scaleX": 0.48,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.95 "scaleZ": 0.48
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -46,15 +46,15 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -23.35, "posX": -24.77,
"posY": 1.531, "posY": 1.53,
"posZ": -19.35, "posZ": -40.04,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.95, "scaleX": 0.48,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.95 "scaleZ": 0.48
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -24,7 +24,7 @@
"showTitleSplash": true, "showTitleSplash": true,
"useClassTexture": true, "useClassTexture": true,
"useClueClickers": false, "useClueClickers": false,
"useResourceCounters": "disabled", "useResourceCounters": "enabled",
"useSnapTags": true "useSnapTags": true
} }
} }

View File

@ -53,9 +53,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -53.2, "posX": -47.73,
"posY": 1.55, "posY": 1.48,
"posZ": -24.909, "posZ": -24.94,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,

View File

@ -53,11 +53,11 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -21.541, "posX": -19.06,
"posY": 1.55, "posY": 1.48,
"posZ": -24.8, "posZ": -41.34,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.45, "scaleX": 0.45,
"scaleY": 1, "scaleY": 1,

View File

@ -53,11 +53,11 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -36.973, "posX": -19.36,
"posY": 1.55, "posY": 1.48,
"posZ": 24.8, "posZ": 25.85,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.45, "scaleX": 0.45,
"scaleY": 1, "scaleY": 1,

View File

@ -53,11 +53,11 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -38.066, "posX": -19.36,
"posY": 1.55, "posY": 1.48,
"posZ": 24.8, "posZ": 24.75,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.45, "scaleX": 0.45,
"scaleY": 1, "scaleY": 1,

View File

@ -53,11 +53,11 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -39.159, "posX": -19.36,
"posY": 1.55, "posY": 1.48,
"posZ": 24.8, "posZ": 23.66,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.45, "scaleX": 0.45,
"scaleY": 1, "scaleY": 1,

View File

@ -53,9 +53,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -53.2, "posX": -47.73,
"posY": 1.55, "posY": 1.48,
"posZ": 7.291, "posZ": 7.26,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,

View File

@ -53,9 +53,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -53.2, "posX": -47.73,
"posY": 1.55, "posY": 1.48,
"posZ": 9.477, "posZ": 9.45,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,

View File

@ -53,11 +53,11 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -23.727, "posX": -19.06,
"posY": 1.55, "posY": 1.48,
"posZ": -24.8, "posZ": -39.15,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.45, "scaleX": 0.45,
"scaleY": 1, "scaleY": 1,

View File

@ -53,9 +53,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -53.2, "posX": -47.73,
"posY": 1.55, "posY": 1.48,
"posZ": -23.816, "posZ": -23.85,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,

View File

@ -53,9 +53,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -53.2, "posX": -47.73,
"posY": 1.55, "posY": 1.48,
"posZ": 8.384, "posZ": 8.35,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,

View File

@ -53,9 +53,9 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -53.2, "posX": -47.73,
"posY": 1.55, "posY": 1.48,
"posZ": -22.723, "posZ": -22.75,
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,

View File

@ -53,11 +53,11 @@
], ],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -22.634, "posX": -19.06,
"posY": 1.55, "posY": 1.48,
"posZ": -24.8, "posZ": -40.25,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.45, "scaleX": 0.45,
"scaleY": 1, "scaleY": 1,

View File

@ -385,11 +385,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -30.35, "posX": -26.63,
"posY": 1.45, "posY": 1.45,
"posZ": 26.6, "posZ": 32.5,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 6.43, "scaleX": 6.43,
"scaleY": 1, "scaleY": 1,

View File

@ -385,11 +385,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -30.35, "posX": -26.33,
"posY": 1.45, "posY": 1.45,
"posZ": -26.6, "posZ": -32.5,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 6.43, "scaleX": 6.43,
"scaleY": 1, "scaleY": 1,

View File

@ -42,11 +42,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -21.914, "posX": -31.21,
"posY": 1.52, "posY": 1.57,
"posZ": -31.433, "posZ": -40.88,
"rotX": 0, "rotX": 0,
"rotY": 190, "rotY": 280,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.3, "scaleX": 0.3,
"scaleY": 1, "scaleY": 1,

View File

@ -42,11 +42,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -38.812, "posX": -31.43,
"posY": 1.52, "posY": 1.53,
"posZ": 31.434, "posZ": 23.93,
"rotX": 0, "rotX": 0,
"rotY": 10, "rotY": 280,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.3, "scaleX": 0.3,
"scaleY": 1, "scaleY": 1,

View File

@ -50,7 +50,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": 20.057, "posZ": 20.057,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -50,7 +50,7 @@
"posY": 1.581, "posY": 1.581,
"posZ": -20.619, "posZ": -20.619,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -1,57 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": false,
"StandUp": false,
"Thickness": 0.1
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "https://i.imgur.com/Q1J2Dgl.png",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "0e5aa8",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/tour/TourStarter\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Custom_Token",
"Nickname": "SCED Tour",
"Snap": true,
"Sticky": true,
"Tooltip": false,
"Transform": {
"posX": -24.5,
"posY": 1.57,
"posZ": 0,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 4,
"scaleY": 1,
"scaleZ": 4
},
"Value": 0,
"XmlUI": ""
}

View File

@ -1,46 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"a": 0.5098,
"b": 1,
"g": 1,
"r": 1
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "457de3",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "ScriptingTrigger",
"Nickname": "TokenDiscardZone",
"Snap": true,
"Sticky": true,
"Tooltip": false,
"Transform": {
"posX": -65,
"posY": 1.5,
"posZ": 16.1,
"rotX": 0,
"rotY": 90,
"rotZ": 0,
"scaleX": 22,
"scaleY": 0.5,
"scaleZ": 5
},
"Value": 0,
"XmlUI": ""
}

View File

@ -1,46 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"a": 0.5098,
"b": 1,
"g": 1,
"r": 1
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "457de4",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "ScriptingTrigger",
"Nickname": "TokenDiscardZone",
"Snap": true,
"Sticky": true,
"Tooltip": false,
"Transform": {
"posX": -65,
"posY": 1.5,
"posZ": -16.1,
"rotX": 0,
"rotY": 90,
"rotZ": 0,
"scaleX": 22,
"scaleY": 0.5,
"scaleZ": 5
},
"Value": 0,
"XmlUI": ""
}

View File

@ -1,46 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"a": 0.5098,
"b": 1,
"g": 1,
"r": 1
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "457de5",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "ScriptingTrigger",
"Nickname": "TokenDiscardZone",
"Snap": true,
"Sticky": true,
"Tooltip": false,
"Transform": {
"posX": -30.35,
"posY": 1.5,
"posZ": 36.6,
"rotX": 0,
"rotY": 180,
"rotZ": 0,
"scaleX": 22,
"scaleY": 0.5,
"scaleZ": 5
},
"Value": 0,
"XmlUI": ""
}

View File

@ -1,46 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"a": 0.5098,
"b": 1,
"g": 1,
"r": 1
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "457de6",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": true,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "ScriptingTrigger",
"Nickname": "TokenDiscardZone",
"Snap": true,
"Sticky": true,
"Tooltip": false,
"Transform": {
"posX": -30.35,
"posY": 1.5,
"posZ": -36.6,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"scaleX": 22,
"scaleY": 0.5,
"scaleZ": 5
},
"Value": 0,
"XmlUI": ""
}

View File

@ -49,7 +49,7 @@
"posY": 1.481, "posY": 1.481,
"posZ": 29.735, "posZ": 29.735,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -49,7 +49,7 @@
"posY": 1.481, "posY": 1.481,
"posZ": -30.309, "posZ": -30.309,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.8, "scaleX": 0.8,
"scaleY": 1, "scaleY": 1,

View File

@ -46,11 +46,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -42.25, "posX": -19.09,
"posY": 1.55, "posY": 1.65,
"posZ": -19.3, "posZ": -20.4,
"rotX": 0, "rotX": 0,
"rotY": 180, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.75, "scaleX": 0.75,
"scaleY": 1, "scaleY": 1,

View File

@ -46,11 +46,11 @@
"Sticky": true, "Sticky": true,
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -42.25, "posX": -19.37,
"posY": 1.55, "posY": 1.66,
"posZ": 19.3, "posZ": 20.39,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.75, "scaleX": 0.75,
"scaleY": 1, "scaleY": 1,

View File

@ -7,3 +7,20 @@ configuration = {
cards = "card", cards = "card",
taboo = "taboos" taboo = "taboos"
} }
function onRotate(spin, flip, player_color, old_spin, old_flip)
local builder = getObjectFromGUID("a28140")
if flip == 0 then
configuration.api_uri = "https://arkhamdb.adamgoldsmith.name/api/public"
builder.UI.setXml('<Text fontSize="25" color="orange" position="17 -74 -11" rotation="0 0 180">Adam</Text>')
else
configuration.api_uri = "https://arkhamdb.com/api/public"
builder.UI.setXml('')
end
builder.call("arkhamdb_reinit", {})
print("Set URL to " .. configuration.api_uri)
end

View File

@ -40,6 +40,10 @@ function onLoad(script_state)
arkhamDb.initialize() arkhamDb.initialize()
end end
function arkhamdb_reinit()
arkhamDb.initialize()
end
function onSave() return JSON.encode(getUiState()) end function onSave() return JSON.encode(getUiState()) end
-- Returns a table with the full state of the UI, including options and deck IDs. -- Returns a table with the full state of the UI, including options and deck IDs.

View File

@ -7,11 +7,11 @@ local IGNORE_TAG = "DoomCounter_ignore"
local TOTAL_PLAY_AREA = { local TOTAL_PLAY_AREA = {
upperLeft = { upperLeft = {
x = -9, x = -9,
z = -35 z = -46
}, },
lowerRight = { lowerRight = {
x = -60, x = -60,
z = 35 z = 46
} }
} }

View File

@ -2389,11 +2389,11 @@ TokenManager.buildClueOffsets = function(card, count)
local localIndex = (i - 1) % 16 local localIndex = (i - 1) % 16
-- get row and column for this clue -- get row and column for this clue
local row = math.floor(localIndex / 4) + 1 local column = math.floor(localIndex / 4)
local column = localIndex % 4 local row = (localIndex) % 4
-- calculate local position -- calculate local position
local localPos = Vector((-0.825 + 0.55 * column) * modifier, 0, -1.5 + 0.55 * row) local localPos = Vector((1.4 + 0.55 * column) * modifier, 0, -1 + 0.55 * row)
-- get the global clue position (higher y-position for each set) -- get the global clue position (higher y-position for each set)
local cluePos = card.positionToWorld(localPos) + Vector(0, 0.03 + 0.103 * (set - 1), 0) local cluePos = card.positionToWorld(localPos) + Vector(0, 0.03 + 0.103 * (set - 1), 0)

View File

@ -231,17 +231,7 @@ end
-- draw the provided card to the requesting playermat -- draw the provided card to the requesting playermat
function actualEncounterCardDraw(card, params) function actualEncounterCardDraw(card, params)
local metadata = JSON.decode(card.getGMNotes()) or {} card.deal(1, params.matColor)
local DATA_HELPER = guidReferenceApi.getObjectByOwnerAndType("Mythos", "DataHelper")
-- draw hidden cards facedown
local faceUpRotation = 0
if metadata.hidden or DATA_HELPER.call('checkHiddenCard', card.getName()) then
faceUpRotation = 180
end
local rot = playermatApi.returnRotation(params.matColor):setAt("z", faceUpRotation)
deckLib.placeOrMergeIntoDeck(card, params.position, rot)
end end
-- gets the discard pile and shuffles it into the encounter deck -- gets the discard pile and shuffles it into the encounter deck

View File

@ -76,8 +76,8 @@ local DISCARD_PILE_POSITION = { x = -1.82, y = 0.1, z = 0.61 }
local DRAWN_ENCOUNTER_POSITION = { x = 1.365, y = 0.5, z = -0.625 } local DRAWN_ENCOUNTER_POSITION = { x = 1.365, y = 0.5, z = -0.625 }
local tokenSpawnPos = { local tokenSpawnPos = {
action = { action = {
Vector(-0.86, 0, -0.28), -- left of the regular three actions Vector(-0.86, 0, -0.13), -- left of the regular three actions
Vector(-1.54, 0, -0.28), -- right of the regular three actions Vector(-1.54, 0, -0.13), -- right of the regular three actions
}, },
ability = { ability = {
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
@ -318,7 +318,7 @@ function makeDiscardButton(id)
label = "Discard", label = "Discard",
click_function = handlerName, click_function = handlerName,
function_owner = self, function_owner = self,
position = position, position = {position[1], position[2], position[3] + 0.6},
scale = { 0.12, 0.12, 0.12 }, scale = { 0.12, 0.12, 0.12 },
width = 900, width = 900,
height = 350, height = 350,
@ -1276,7 +1276,7 @@ function maybeUpdateActiveInvestigator(card)
local callbackParams = { class = activeInvestigatorData.class, symbol = activeInvestigatorData.class } local callbackParams = { class = activeInvestigatorData.class, symbol = activeInvestigatorData.class }
for i = 1, 3 do for i = 1, 3 do
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -0.28)):add(Vector(0, 0.2, 0)) local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -1.13)):add(Vector(0, 0.2, 0))
tokenManagerApi.spawnToken(pos, "universalActionAbility", rotation, callbackName, callbackParams) tokenManagerApi.spawnToken(pos, "universalActionAbility", rotation, callbackName, callbackParams)
end end