diff --git a/toontown/ai/QuestManagerAI.py b/toontown/ai/QuestManagerAI.py index 0309b98a..54b29696 100755 --- a/toontown/ai/QuestManagerAI.py +++ b/toontown/ai/QuestManagerAI.py @@ -290,6 +290,12 @@ class QuestManagerAI: questList.append(questDesc) av.b_setQuests(questList) + + def toonCalledClarabelle(self, toon): + for index, quest in enumerate(self.__toonQuestsList2Quests(toon.quests)): + if isinstance(quest, Quests.PhoneQuest): + self.__incrementQuestProgress(toon.quests[index]) + toon.updateQuests() def toonMadeNPCFriend(self, av, count, method): avQuests = av.getQuests() diff --git a/toontown/estate/DistributedPhoneAI.py b/toontown/estate/DistributedPhoneAI.py index 4aa404bc..7c91051f 100755 --- a/toontown/estate/DistributedPhoneAI.py +++ b/toontown/estate/DistributedPhoneAI.py @@ -89,6 +89,8 @@ class DistributedPhoneAI(DistributedFurnitureItemAI): self.d_setMovie(PHONE_MOVIE_PICKUP, avId) av.b_setCatalogNotify(0, av.mailboxNotify) + self.air.questManager.toonCalledClarabelle(av) + def avatarExit(self): if not self.inUse: self.notify.warning('Requested avatarExit but phone isn\'t in use!')