Compare commits
4 Commits
7a9afb4d80
...
852141d8a7
Author | SHA1 | Date |
---|---|---|
Adam Goldsmith | 852141d8a7 | |
Adam Goldsmith | c14d23da9e | |
Adam Goldsmith | b2237355f2 | |
Adam Goldsmith | 1294571f00 |
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue