uncomment deprecated tables for tokenmanager

This commit is contained in:
Chr1Z93 2023-03-17 10:41:36 +01:00
parent 0865c2b92f
commit 96d4f5a9bd

View File

@ -526,10 +526,6 @@ function setSpawnedPlayerCardGuid(params)
end
end
-- deprecated, use metadata (GM Notes) instead (still used by custom data helpers)
-- Encounter Cards with "Hidden."
HIDDEN_CARD_DATA = {}
-- called by "Global" during encounter card drawing
function checkHiddenCard(name)
for _, n in ipairs(HIDDEN_CARD_DATA) do
@ -550,28 +546,24 @@ function updateHiddenCards(args)
end
--------------------------------------------------------------------------
-- deprecated code (commented out)
-- deprecated code
--------------------------------------------------------------------------
-- deprecated, use metadata (GM Notes) instead
-- Known locations and clues. We check this to determine if we should atttempt to spawn clues,
-- first we look for <LOCATION_NAME>_<GUID> and if we find nothing we look for <LOCATION_NAME>
-- format is [location_guid -> clueCount]
-- LOCATIONS_DATA = JSON.decode([[{
-- "XXXX": {"type": "fixed", "value": 2, "clueSide": "back"},
-- "xxx": {"type": "perPlayer", "value": 2, "clueSide": "back"}
-- }]])
LOCATIONS_DATA = JSON.decode([[{
"XXXX": {"type": "fixed", "value": 2, "clueSide": "back"},
"xxx": {"type": "perPlayer", "value": 2, "clueSide": "back"}
}]])
-- deprecated, use metadata (GM Notes) instead
-- Player cards with token counts and types
-- PLAYER_CARD_DATA = JSON.decode([[{
-- "xxx": {
-- "tokenType": "resource",
-- "tokenCount": 3
-- }
-- }]])
PLAYER_CARD_DATA = JSON.decode([[{
"xxx": {"tokenType": "resource", "tokenCount": 3}
}]])
-- deprecated, included in TokenManager
-- PLAYER_CARD_TOKEN_OFFSETS = {
-- [1] = {{ 0, 3, -0.2 }}
-- }
-- deprecated, use metadata (GM Notes) instead (still used by custom data helpers)
-- Encounter Cards with "Hidden." (List of names)
HIDDEN_CARD_DATA = {}