Merge pull request #389 from argonui/cleanuphelper
Clean Up Helper: return drawn tokens to the chaos bag
This commit is contained in:
commit
0a18c98515
@ -190,6 +190,7 @@ function cleanUp(_, color)
|
|||||||
removeLines()
|
removeLines()
|
||||||
discardHands()
|
discardHands()
|
||||||
tokenSpawnTrackerApi.resetAll()
|
tokenSpawnTrackerApi.resetAll()
|
||||||
|
chaosBagApi.returnChaosTokens()
|
||||||
chaosBagApi.releaseAllSealedTokens(color)
|
chaosBagApi.releaseAllSealedTokens(color)
|
||||||
|
|
||||||
printToAll("Tidying main play area...", "White")
|
printToAll("Tidying main play area...", "White")
|
||||||
|
@ -28,6 +28,11 @@ do
|
|||||||
return Global.call("releaseAllSealedTokens", playerColor)
|
return Global.call("releaseAllSealedTokens", playerColor)
|
||||||
end
|
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
|
-- removes the specified chaos token from the chaos bag
|
||||||
---@param id String ID of the chaos token
|
---@param id String ID of the chaos token
|
||||||
ChaosBagApi.removeChaosToken = function(id)
|
ChaosBagApi.removeChaosToken = function(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user