mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 13:12:30 -06:00
44d5ef5a18
#1 Fixed giving gags at start of toontorial #2 Don't force toontorial skip #3 Properly show tutorial reward scene #4 Remove Japanese bullshit #5 Fix Clara - she now shows the preview for all gag tracks #6 Fix Localizer - they don't lie anymore - You have no gags! Duh I have. #7 Fix Flunky task.
22 lines
No EOL
923 B
Python
22 lines
No EOL
923 B
Python
from direct.directnotify.DirectNotifyGlobal import *
|
|
from toontown.battle.DistributedBattleAI import DistributedBattleAI
|
|
|
|
|
|
class DistributedBattleTutorialAI(DistributedBattleAI):
|
|
notify = directNotify.newCategory('DistributedBattleTutorialAI')
|
|
|
|
def __init__(self, air, battleMgr, pos, suit, toonId, zoneId,
|
|
finishCallback=None, maxSuits=4, tutorialFlag=1, levelFlag=0,
|
|
interactivePropTrackBonus=-1):
|
|
DistributedBattleAI.__init__(self, air, battleMgr, pos, suit, toonId,
|
|
zoneId, finishCallback=finishCallback, maxSuits=1,
|
|
tutorialFlag=1, levelFlag=0, interactivePropTrackBonus=-1)
|
|
|
|
def startRewardTimer(self):
|
|
pass # We don't want a reward timer in the tutorial.
|
|
|
|
def exitReward(self):
|
|
av = simbase.air.doId2do.get(self.air.getAvatarIdFromSender())
|
|
|
|
if av:
|
|
av.b_setQuests([[101, 1, 1000, 100, 1]]) |