2019-12-30 00:07:56 -06:00
|
|
|
from . import PurchaseManagerAI
|
2019-11-02 17:27:54 -05:00
|
|
|
|
|
|
|
class NewbiePurchaseManagerAI(PurchaseManagerAI.PurchaseManagerAI):
|
|
|
|
|
|
|
|
def __init__(self, air, newbieId, playerArray, mpArray, previousMinigameId, trolleyZone):
|
|
|
|
self.ownedNewbieId = newbieId
|
|
|
|
newbieList = []
|
|
|
|
PurchaseManagerAI.PurchaseManagerAI.__init__(self, air, playerArray, mpArray, previousMinigameId, trolleyZone, newbieList)
|
|
|
|
|
|
|
|
def startCountdown(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def getOwnedNewbieId(self):
|
|
|
|
return self.ownedNewbieId
|
|
|
|
|
|
|
|
def getInvolvedPlayerIds(self):
|
|
|
|
return [self.ownedNewbieId]
|
|
|
|
|
|
|
|
def handlePlayerLeaving(self, avId):
|
|
|
|
toon = self.air.doId2do.get(avId)
|
|
|
|
if toon:
|
|
|
|
self.air.questManager.toonRodeTrolleyFirstTime(toon)
|