Poodletooth-iLand/toontown/shtiker/NewbiePurchaseManagerAI.py

23 lines
720 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
import PurchaseManagerAI
class NewbiePurchaseManagerAI(PurchaseManagerAI.PurchaseManagerAI):
2015-04-23 12:55:47 -05:00
def __init__(self, air, newbieId, avArray, mpArray, previousMinigameId, trolleyZone):
2015-03-03 16:10:12 -06:00
self.ownedNewbieId = newbieId
newbieList = []
2015-04-23 12:55:47 -05:00
PurchaseManagerAI.PurchaseManagerAI.__init__(self, air, avArray, mpArray, previousMinigameId, trolleyZone, newbieList)
2015-03-03 16:10:12 -06:00
def startCountdown(self):
pass
def getOwnedNewbieId(self):
return self.ownedNewbieId
2015-04-23 12:55:47 -05:00
def getInvolvedAvIds(self):
2015-03-03 16:10:12 -06:00
return [self.ownedNewbieId]
def handlePlayerLeaving(self, avId):
toon = self.air.doId2do.get(avId)
if toon:
self.air.questManager.toonRodeTrolleyFirstTime(toon)