From 2545b2ba3794e62a3c291025c7a7f729e60580fc Mon Sep 17 00:00:00 2001 From: Zach Date: Tue, 26 May 2015 17:58:02 -0500 Subject: [PATCH] forgot these. also remove magic cat sos --- toontown/toon/DistributedNPCLaffRestockAI.py | 12 ++++++++++++ toontown/toonbase/TTLocalizerEnglish.py | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/toontown/toon/DistributedNPCLaffRestockAI.py b/toontown/toon/DistributedNPCLaffRestockAI.py index 5f267a36..0b7ac462 100755 --- a/toontown/toon/DistributedNPCLaffRestockAI.py +++ b/toontown/toon/DistributedNPCLaffRestockAI.py @@ -6,6 +6,14 @@ from toontown.toonbase import TTLocalizer from direct.task import Task import LaffRestockGlobals from toontown.toon import NPCToons +from DistributedToonAI import DistributedToonAI + +zone2id = { + 10000: 0, + 13000: 1, + 12000: 2, + 11000: 3, +} class DistributedNPCLaffRestockAI(DistributedNPCToonBaseAI): @@ -14,6 +22,10 @@ class DistributedNPCLaffRestockAI(DistributedNPCToonBaseAI): self.givesQuests = 0 self.busy = 0 + def generate(self): + DistributedToonAI.generate(self) + self.b_setCogIndex(zone2id[self.zoneId]) + def delete(self): taskMgr.remove(self.uniqueName('clearMovie')) self.ignoreAll() diff --git a/toontown/toonbase/TTLocalizerEnglish.py b/toontown/toonbase/TTLocalizerEnglish.py index 503e5fbd..11f439a0 100755 --- a/toontown/toonbase/TTLocalizerEnglish.py +++ b/toontown/toonbase/TTLocalizerEnglish.py @@ -6228,8 +6228,7 @@ NPCToonNames = {20000: 'Tutorial Tom', 10001: 'Healer Sara', 11001: 'Healer Gabriel', 12001: 'Healer Bill', - 13001: 'Healer Clover', - 91917: 'Magic Cat'} + 13001: 'Healer Clover'} zone2TitleDict = {2513: ('Toon Hall', ''), 2514: ('Toontown Bank', ''), 2516: ('Toontown School House', ''),