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:
workflow_dispatch:
release:
types: [created]
types: [published]
pull_request:
permissions: read-all

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -46,15 +46,15 @@
],
"Tooltip": true,
"Transform": {
"posX": -23.35,
"posY": 1.531,
"posZ": -19.35,
"posX": -24.77,
"posY": 1.53,
"posZ": -40.04,
"rotX": 0,
"rotY": 180,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.95,
"scaleX": 0.48,
"scaleY": 1,
"scaleZ": 0.95
"scaleZ": 0.48
},
"Value": 0,
"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,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": -24.909,
"posX": -47.73,
"posY": 1.48,
"posZ": -24.94,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -50,7 +50,7 @@
"posY": 1.581,
"posZ": -20.619,
"rotX": 0,
"rotY": 180,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.8,
"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,
"posZ": 29.735,
"rotX": 0,
"rotY": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.8,
"scaleY": 1,

View File

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

View File

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

View File

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

View File

@ -7,3 +7,20 @@ configuration = {
taboo = "taboos",
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()
end
function arkhamdb_reinit()
arkhamDb.initialize()
end
function onSave() return JSON.encode(getUiState()) end
-- 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 = {
upperLeft = {
x = -9,
z = -35
z = -46
},
lowerRight = {
x = -60,
z = 35
z = 46
}
}

View File

@ -177,17 +177,7 @@ end
-- draw the provided card to the requesting playermat
function actualEncounterCardDraw(card, params)
local metadata = JSON.decode(card.getGMNotes()) or {}
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)
card.deal(1, params.mat.matColor)
end
-- gets the discard pile and shuffles it into the encounter deck

View File

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

View File

@ -285,7 +285,7 @@ function makeDiscardButton(id)
label = "Discard",
click_function = handlerName,
function_owner = self,
position = position,
position = {position[1], position[2], position[3] + 0.6},
scale = { 0.12, 0.12, 0.12 },
width = 900,
height = 350,