mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Boss Taunts when releasing cogs
This commit is contained in:
parent
2f5840cd46
commit
394e232b6d
2 changed files with 13 additions and 4 deletions
|
@ -13,9 +13,7 @@ from toontown.distributed import DelayDelete
|
|||
from otp.nametag.NametagConstants import *
|
||||
from otp.nametag import NametagGlobals
|
||||
from toontown.suit import Suit
|
||||
from toontown.toonbase import ToontownBattleGlobals
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
||||
from toontown.toonbase import ToontownBattleGlobals, ToontownGlobals, TTLocalizer
|
||||
|
||||
class DistributedBattleFinal(DistributedBattleBase.DistributedBattleBase):
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleFinal')
|
||||
|
@ -93,6 +91,10 @@ class DistributedBattleFinal(DistributedBattleBase.DistributedBattleBase):
|
|||
def showSuitsJoining(self, suits, ts, name, callback):
|
||||
if self.bossCog == None:
|
||||
return
|
||||
|
||||
random.seed(suits[0].dna.name)
|
||||
bossTaunt = Func(self.bossCog.setChatAbsolute, random.choice(TTLocalizer.BossTaunts), CFSpeech | CFTimeout)
|
||||
|
||||
if self.battleSide:
|
||||
openDoor = Func(self.bossCog.doorB.request, 'open')
|
||||
closeDoor = Func(self.bossCog.doorB.request, 'close')
|
||||
|
@ -125,7 +127,7 @@ class DistributedBattleFinal(DistributedBattleBase.DistributedBattleBase):
|
|||
else:
|
||||
base.camera.setPosHpr(-20, -4, 7, -60, 0, 0)
|
||||
done = Func(callback)
|
||||
track = Sequence(openDoor, suitTrack, closeDoor, done, name=name)
|
||||
track = Sequence(bossTaunt, openDoor, suitTrack, closeDoor, done, name=name)
|
||||
track.start(ts)
|
||||
self.storeInterval(track, name)
|
||||
return
|
||||
|
|
|
@ -8524,3 +8524,10 @@ BossLocations = {
|
|||
'm': 'Cashbot Treasury Vault',
|
||||
's': 'Sellbot Towers\nRooftop'
|
||||
}
|
||||
BossTaunts = [
|
||||
"You can't stop this. We'll just keep on coming.",
|
||||
'Break time is over.',
|
||||
"Your laffable fun can't stop our work.",
|
||||
'You toons need to be taught some manners.',
|
||||
"We're only starting our business proposal."
|
||||
]
|
Loading…
Reference in a new issue