diff --git a/toontown/coderedemption/TTCodeRedemptionMgrAI.py b/toontown/coderedemption/TTCodeRedemptionMgrAI.py index ea955c48..141b04c4 100644 --- a/toontown/coderedemption/TTCodeRedemptionMgrAI.py +++ b/toontown/coderedemption/TTCodeRedemptionMgrAI.py @@ -43,7 +43,6 @@ only include the comma if there are multiple arguments. class TTCodeRedemptionMgrAI(DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory("TTCodeRedemptionMgrAI") codes = { - # weed code is for testing purposes, remove when done. 'weed': { 'items': [ CatalogClothingItem.CatalogClothingItem(1821, 0) @@ -55,6 +54,11 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI): 'items': [ CatalogGardenStarterItem.CatalogGardenStarterItem() ] + }, + 'sillymeter': { + 'items': [ + CatalogClothingItem.CatalogClothingItem(1753, 0) + ] } } @@ -77,6 +81,8 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI): if not av: return + code = code.lower() + if code in self.codes: if av.isCodeRedeemed(code): self.sendUpdateToAvatarId(avId, 'redeemCodeResult', [4])