mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
Merge branch 'features/ttn' of http://git.toontownstride.com/toontownstride/src into features/ttn
This commit is contained in:
commit
86b825a1f0
2 changed files with 8 additions and 0 deletions
|
@ -291,6 +291,12 @@ class QuestManagerAI:
|
|||
|
||||
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()
|
||||
questList = []
|
||||
|
|
|
@ -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!')
|
||||
|
|
Loading…
Reference in a new issue