toontown/ai cleanup

This commit is contained in:
John Cote 2015-04-29 00:01:52 -04:00
parent a71ed6fc7b
commit 59a6e2ece1
27 changed files with 66 additions and 77 deletions

View file

@ -36,5 +36,4 @@ class DistributedBlackCatMgr(DistributedObject.DistributedObject):
self.sendUpdate('requestBlackCatTransformation')
def doBlackCatTransformation(self):
print 'doit'
getDustCloudIval(base.localAvatar).start()

View file

@ -18,5 +18,3 @@ class DistributedGreenToonEffectMgrAI(DistributedObjectAI, FSM):
avId = self.air.getAvatarIdFromSender()
av = self.air.doId2do.get(avId)
av.b_setCheesyEffect(15, 0, 0)
pass

View file

@ -21,4 +21,3 @@ class DistributedPolarPlaceEffectMgrAI(DistributedObjectAI, FSM):
if not av: return
expireTime = int((time.time()/60) + 0.5) + 60
av.b_setCheesyEffect(13, 3000, expireTime)

View file

@ -22,4 +22,3 @@ class DistributedResistanceEmoteMgrAI(DistributedObjectAI, FSM):
RESIST_INDEX = EmoteFuncDict['Resistance Salute']
av.emoteAccess[RESIST_INDEX] = 1
av.d_setEmoteAccess(av.emoteAccess)

View file

@ -6,4 +6,3 @@ class DistributedScavengerHuntTargetAI(DistributedObjectAI):
def attemptScavengerHunt(self):
pass

View file

@ -3,4 +3,3 @@ from direct.distributed.DistributedObjectAI import DistributedObjectAI
class DistributedSillyMeterMgrAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedSillyMeterMgrAI")

View file

@ -28,4 +28,3 @@ class DistributedTrickOrTreatTargetAI(DistributedObjectAI, FSM):
av.addMoney(100)
if len(scavengerHunt) == 6:
av.b_setCheesyEffect(12, 0, 0)

View file

@ -27,4 +27,3 @@ class DistributedWinterCarolingTargetAI(DistributedObjectAI, FSM):
av.b_setScavengerHunt(scavengerHunt)
if len(scavengerHunt) == 6:
av.b_setCheesyEffect(14, 0, 0)

View file

@ -85,4 +85,3 @@ class NewsManagerAI(DistributedObjectAI):
def sendSystemMessage(self, todo0, todo1):
pass

View file

@ -15,4 +15,3 @@ class WelcomeValleyManagerAI(DistributedObjectAI):
def requestZoneIdResponse(self, todo0, todo1):
pass