Compare commits

...

16 Commits

Author SHA1 Message Date
975313546e Try triggering release action on publish, instead of create
All checks were successful
build-mod / build-the-mod (release) Successful in 21s
2024-07-28 01:48:37 -04:00
b2dbd404fc Rotate all of the side token spawners/removers to normal orientation 2024-07-28 01:39:19 -04:00
1291287473 Lower hand zones to prevent weird card interactions 2024-07-28 01:32:33 -04:00
f2b842db13 Allow swapping ArkhamDB importer to use AdamDB 2024-07-28 01:29:24 -04:00
67a125db90 Expand play area for "doom in play" counter 2024-07-28 01:22:08 -04:00
f7187ecd4b Remove SCED Tour 2024-07-28 01:15:59 -04:00
92f9254f2a Reposition clue/damage/horror/resource counters and trash 2024-07-28 01:15:53 -04:00
fe787d4784 Reposition/resize skill trackers 2024-07-28 00:58:34 -04:00
6b8da996a4 Rotate red and green playermats to same as white/orange 2024-07-28 00:54:55 -04:00
69e5d59edf Move encounter discard buttons to bottom of card 2024-07-28 00:54:55 -04:00
bec4421bb0 Spawn clues next to cards, instead of on them 2024-07-28 00:54:55 -04:00
6790578e20 Deal encounter cards to players' hands 2024-07-28 00:54:55 -04:00
a33e5ee973 Enable useResourceCounters option 2024-07-28 00:54:55 -04:00
16f7f3f275 Update positions of action tokens 2024-07-28 00:54:55 -04:00
26eca90e46 Remove hand discard zones 2024-07-28 00:54:55 -04:00
596c9cef90 Change default player count to 4 2024-07-28 00:19:04 -04:00
62 changed files with 172 additions and 407 deletions

View File

@ -2,7 +2,7 @@ name: build-mod
on: on:
workflow_dispatch: workflow_dispatch:
release: release:
types: [created] types: [published]
pull_request: pull_request:
permissions: read-all permissions: read-all

View File

@ -156,16 +156,11 @@
"PhaseTrackerCache.645841", "PhaseTrackerCache.645841",
"TokenSource.124381", "TokenSource.124381",
"GameData.3dbe47", "GameData.3dbe47",
"SCEDTour.0e5aa8",
"InstructionGenerator.240522", "InstructionGenerator.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.33, "scaleX": 0.33,
"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.33, "scaleX": 0.33,
"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.26, "scaleX": 0.26,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.26 "scaleZ": 0.26

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.26, "scaleX": 0.26,
"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.26, "scaleX": 0.26,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.26 "scaleZ": 0.26

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.26, "scaleX": 0.26,
"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

@ -1 +1 @@
{"acknowledgedUpgradeVersions":[],"chaosTokensGUID":[],"optionPanel":{"cardLanguage":"en","changePlayAreaImage":false,"enableCardHelpers":true,"playAreaConnectionColor":{"a":1,"b":0.4,"g":0.4,"r":0.4},"playAreaConnections":true,"playAreaSnapTags":true,"showAttachmentHelper":false,"showCleanUpHelper":false,"showCYOA":false,"showDisplacementTool":false,"showDrawButton":false,"showHandHelper":false,"showSearchAssistant":false,"showTitleSplash":true,"useClassTexture":true,"useClueClickers":false,"useResourceCounters":"disabled","useSnapTags":true}} {"acknowledgedUpgradeVersions":[],"chaosTokensGUID":[],"optionPanel":{"cardLanguage":"en","changePlayAreaImage":false,"enableCardHelpers":true,"playAreaConnectionColor":{"a":1,"b":0.4,"g":0.4,"r":0.4},"playAreaConnections":true,"playAreaSnapTags":true,"showAttachmentHelper":false,"showCleanUpHelper":false,"showCYOA":false,"showDisplacementTool":false,"showDrawButton":false,"showHandHelper":false,"showSearchAssistant":false,"showTitleSplash":true,"useClassTexture":true,"useClueClickers":false,"useResourceCounters":"enabled","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

@ -363,11 +363,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

@ -363,11 +363,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.26, "scaleX": 0.26,
"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.26, "scaleX": 0.26,
"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 = {
taboo = "taboos", taboo = "taboos",
card_bag_guid = "15bb07" card_bag_guid = "15bb07"
} }
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

@ -177,17 +177,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.mat.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

@ -466,9 +466,9 @@ do
internal.buildClueOffsets = function(card, count) internal.buildClueOffsets = function(card, count)
local cluePositions = {} local cluePositions = {}
for i = 1, count do for i = 1, count do
local row = math.floor(1 + (i - 1) / 4) local column = math.floor((i - 1) / 4)
local column = (i - 1) % 4 local row = (i - 1) % 4
local cluePos = card.positionToWorld(Vector(-0.825 + 0.55 * column, 0, -1.5 + 0.55 * row)) local cluePos = card.positionToWorld(Vector(1.4 + 0.55 * column, 0, -1 + 0.55 * row))
cluePos.y = cluePos.y + 0.05 cluePos.y = cluePos.y + 0.05
table.insert(cluePositions, cluePos) table.insert(cluePositions, cluePos)
end end

View File

@ -285,7 +285,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,