SCED/src/arkhamdb/HotfixBag.ttslua
Kevin 83f75c2318 Initial code extraction and commit
Initialize the SCED repository by moving most scripts from TTS objects 
to separate files which are included via require().
2021-10-06 20:37:31 -07:00

13 lines
540 B
Plaintext

-- A Hotfix bag contains replacement cards for the All Cards Bag, and should
-- have the 'AllCardsHotfix' tag on the object. Code for the All Cards Bag will
-- find these bags during indexing, and use them to replace cards from the
-- actual bag.
-- Tells the All Cards Bag to recreate its indexes. The All Cards Bag may
-- ignore this request; see the rebuildIndexForHotfix() method in the All Cards
-- Bag for details.
function onLoad()
local allCardsBag = getObjectFromGUID("15bb07")
allCardsBag.call("rebuildIndexForHotfix")
end