forgot these. also remove magic cat sos

This commit is contained in:
Zach 2015-05-26 17:58:02 -05:00
parent f0ac25e0f9
commit 2545b2ba37
2 changed files with 13 additions and 2 deletions

View file

@ -6,6 +6,14 @@ from toontown.toonbase import TTLocalizer
from direct.task import Task from direct.task import Task
import LaffRestockGlobals import LaffRestockGlobals
from toontown.toon import NPCToons from toontown.toon import NPCToons
from DistributedToonAI import DistributedToonAI
zone2id = {
10000: 0,
13000: 1,
12000: 2,
11000: 3,
}
class DistributedNPCLaffRestockAI(DistributedNPCToonBaseAI): class DistributedNPCLaffRestockAI(DistributedNPCToonBaseAI):
@ -14,6 +22,10 @@ class DistributedNPCLaffRestockAI(DistributedNPCToonBaseAI):
self.givesQuests = 0 self.givesQuests = 0
self.busy = 0 self.busy = 0
def generate(self):
DistributedToonAI.generate(self)
self.b_setCogIndex(zone2id[self.zoneId])
def delete(self): def delete(self):
taskMgr.remove(self.uniqueName('clearMovie')) taskMgr.remove(self.uniqueName('clearMovie'))
self.ignoreAll() self.ignoreAll()

View file

@ -6228,8 +6228,7 @@ NPCToonNames = {20000: 'Tutorial Tom',
10001: 'Healer Sara', 10001: 'Healer Sara',
11001: 'Healer Gabriel', 11001: 'Healer Gabriel',
12001: 'Healer Bill', 12001: 'Healer Bill',
13001: 'Healer Clover', 13001: 'Healer Clover'}
91917: 'Magic Cat'}
zone2TitleDict = {2513: ('Toon Hall', ''), zone2TitleDict = {2513: ('Toon Hall', ''),
2514: ('Toontown Bank', ''), 2514: ('Toontown Bank', ''),
2516: ('Toontown School House', ''), 2516: ('Toontown School House', ''),