snowballs: Update NPC phrases.

This commit is contained in:
Harvir 2013-12-27 21:18:39 +00:00
parent ba894505c3
commit 6c55516d07
2 changed files with 3 additions and 1 deletions

View file

@ -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:

View file

@ -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)])