Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Global/Global.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -1701,8 +1701,6 @@ function setChaosBagState(tokenList)

-- reset bless / curse manager
BlessCurseManagerApi.removeTakenTokensAndReset()

printToAll("Chaos Bag set to chosen difficulty.", "Green")
end

-- spawns the specified chaos token and puts it into the chaos bag
Expand Down
6 changes: 5 additions & 1 deletion src/chaosbag/ChaosBagApi.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ do

-- Respawns the chaos bag with a new state of tokens
---@param tokenList table List of chaos token ids
function ChaosBagApi.setChaosBagState(tokenList)
---@param disablePrint? boolean True to suppress printing
function ChaosBagApi.setChaosBagState(tokenList, disablePrint)
Global.call("setChaosBagState", tokenList)
if not disablePrint then
printToAll("Chaos Bag set to chosen difficulty.", "Green")
end
end

-- Returns a list of chaos token ids in the current chaos bag
Expand Down
Loading