Compare commits

...

4 Commits

Author SHA1 Message Date
Adam Goldsmith 852141d8a7 Set some more options on load
Build and Release / Build and Release (push) Failing after 30s Details
- no clickable clue counters (was previously set, but poorly)
- use clickable resource counters
- enable token arranger
- enable chaos bag manager
2023-07-22 00:42:48 -04:00
Adam Goldsmith c14d23da9e Fix positions of playermats 1 and 4 for "other doom in play" counter 2023-07-22 00:31:38 -04:00
Adam Goldsmith b2237355f2 Increase size of playarea scale to include action tokens in upkeep 2023-07-22 00:26:00 -04:00
Adam Goldsmith 1294571f00 Fix playermat `drawEncountercard()` for new `playerColor` variable name 2023-07-22 00:15:42 -04:00
6 changed files with 17 additions and 13 deletions

View File

@ -350,8 +350,12 @@ function onLoad(savedData)
optionPanel = loadedData.optionPanel
acknowledgedUpgradeVersions = loadedData.acknowledgedUpgradeVersions
updateOptionPanelState()
-- hack to disable on load
playmatApi.clickableClues(false, "All")
-- hack to set options on load
applyOptionPanelChange("useClueClickers", false)
applyOptionPanelChange("useResourceCounters", true)
applyOptionPanelChange("showTokenArranger", true)
applyOptionPanelChange("showChaosBagManager", true)
else
print("Saved state could not be found!")
end

View File

@ -670,7 +670,7 @@ __bundle_register("__root", function(require, _LOADED, __bundle_register, __bund
---------------------------------------------------------
PLAY_ZONE_POSITION = { x = -54.5, y = 4, z = 19 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 12 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 14 }
TRASHCAN_GUID = "147e80"
STAT_TRACKER_GUID = "e598c2"
RESOURCE_COUNTER_GUID = "4406f0"
@ -1462,7 +1462,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end
function drawEncountercard(_, _, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR)
Global.call("drawEncountercard", playerColor)
end
function returnGlobalDiscardPosition()

View File

@ -47,7 +47,7 @@ __bundle_register("__root", function(require, _LOADED, __bundle_register, __bund
---------------------------------------------------------
PLAY_ZONE_POSITION = { x = -54.5, y = 4, z = -19 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 12 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 14 }
TRASHCAN_GUID = "f7b6c8"
STAT_TRACKER_GUID = "b4a5f7"
RESOURCE_COUNTER_GUID = "816d84"
@ -839,7 +839,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end
function drawEncountercard(object, player, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR)
Global.call("drawEncountercard", playerColor)
end
function returnGlobalDiscardPosition()

View File

@ -47,7 +47,7 @@ __bundle_register("__root", function(require, _LOADED, __bundle_register, __bund
---------------------------------------------------------
PLAY_ZONE_POSITION = { x = -26.5, y = 4, z = 26.5 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 12 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 14 }
TRASHCAN_GUID = "5f896a"
STAT_TRACKER_GUID = "af7ed7"
RESOURCE_COUNTER_GUID = "cd15ac"
@ -839,7 +839,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end
function drawEncountercard(object, player, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR)
Global.call("drawEncountercard", playerColor)
end
function returnGlobalDiscardPosition()

View File

@ -824,7 +824,7 @@ function drawChaosTokenButton(_, _, isRightClick)
end
function drawEncountercard(object, player, isRightClick)
Global.call("drawEncountercard", PLAYER_COLOR)
Global.call("drawEncountercard", playerColor)
end
function returnGlobalDiscardPosition()
@ -1608,7 +1608,7 @@ __bundle_register("__root", function(require, _LOADED, __bundle_register, __bund
---------------------------------------------------------
PLAY_ZONE_POSITION = { x = -26.5, y = 4, z = -26.5 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 12 }
PLAY_ZONE_SCALE = { x = 32, y = 5, z = 14 }
TRASHCAN_GUID = "4b8594"
STAT_TRACKER_GUID = "e74881"
RESOURCE_COUNTER_GUID = "a4b60d"

View File

@ -59,8 +59,8 @@ local IGNORE_TAG = "DoomCounter_ignore"
local originAndSize = {
{ origin = { -55, 1.6, 16.5 }, size = { 12, 1, 25 } },
{ origin = { -55, 1.6, -16.5 }, size = { 12, 1, 25 } },
{ origin = { -25, 1.6, 27 }, size = { 25, 1, 12 } },
{ origin = { -25, 1.6, -27 }, size = { 25, 1, 12 } }
{ origin = { -25, 1.6, 32.5 }, size = { 12, 1, 25 } },
{ origin = { -25, 1.6, -32.5 }, size = { 12, 1, 25 } }
}
-- create button, context menu and start loop
@ -152,4 +152,4 @@ function removeDoom(options)
end
end
end)
return __bundle_require("__root")
return __bundle_require("__root")