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