return drawn tokens

This commit is contained in:
Chr1Z93 2023-10-05 10:27:03 +02:00
parent 769249c21f
commit aab36cd28f
2 changed files with 6 additions and 0 deletions

View File

@ -190,6 +190,7 @@ function cleanUp(_, color)
removeLines()
discardHands()
tokenSpawnTrackerApi.resetAll()
chaosBagApi.returnChaosTokens()
chaosBagApi.releaseAllSealedTokens(color)
printToAll("Tidying main play area...", "White")

View File

@ -28,6 +28,11 @@ do
return Global.call("releaseAllSealedTokens", playerColor)
end
-- returns all drawn tokens to the chaos bag
ChaosBagApi.returnChaosTokens = function(playerColor)
return Global.call("returnChaosTokens", playerColor)
end
-- removes the specified chaos token from the chaos bag
---@param id String ID of the chaos token
ChaosBagApi.removeChaosToken = function(id)