snowballs: Update NPC phrases.
This commit is contained in:
parent
ba894505c3
commit
6c55516d07
2 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,8 @@ class DistributedNPCSnowballGiver(DistributedNPCToonBase):
|
|||
chatPhrases = [
|
||||
'Go get \'em, %s!' % avName,
|
||||
'You can do it, %s!' % avName,
|
||||
'Remember the technique!',
|
||||
'Good thing I\'m wearing gloves. Have some snowballs!',
|
||||
]
|
||||
self.setChatAbsolute(chatPhrases[sbPhraseId], CFSpeech | CFTimeout)
|
||||
else:
|
||||
|
|
|
@ -17,4 +17,4 @@ class DistributedNPCSnowballGiverAI(DistributedNPCToonBaseAI):
|
|||
self.notify.debug('avatar enter ' + str(avId))
|
||||
av.b_setPieType(1)
|
||||
av.b_setNumPies(25)
|
||||
self.sendUpdate('gaveSnowballs', [self.npcId, avId, randrange(1)])
|
||||
self.sendUpdate('gaveSnowballs', [self.npcId, avId, randrange(3)])
|
||||
|
|
Loading…
Reference in a new issue