mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
toontown/ai cleanup
This commit is contained in:
parent
a71ed6fc7b
commit
59a6e2ece1
27 changed files with 66 additions and 77 deletions
|
@ -36,5 +36,4 @@ class DistributedBlackCatMgr(DistributedObject.DistributedObject):
|
|||
self.sendUpdate('requestBlackCatTransformation')
|
||||
|
||||
def doBlackCatTransformation(self):
|
||||
print 'doit'
|
||||
getDustCloudIval(base.localAvatar).start()
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ class DistributedResistanceEmoteMgrAI(DistributedObjectAI, FSM):
|
|||
RESIST_INDEX = EmoteFuncDict['Resistance Salute']
|
||||
av.emoteAccess[RESIST_INDEX] = 1
|
||||
av.d_setEmoteAccess(av.emoteAccess)
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ class DistributedScavengerHuntTargetAI(DistributedObjectAI):
|
|||
|
||||
def attemptScavengerHunt(self):
|
||||
pass
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
|||
|
||||
class DistributedSillyMeterMgrAI(DistributedObjectAI):
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedSillyMeterMgrAI")
|
||||
|
||||
|
|
|
@ -28,4 +28,3 @@ class DistributedTrickOrTreatTargetAI(DistributedObjectAI, FSM):
|
|||
av.addMoney(100)
|
||||
if len(scavengerHunt) == 6:
|
||||
av.b_setCheesyEffect(12, 0, 0)
|
||||
|
||||
|
|
|
@ -27,4 +27,3 @@ class DistributedWinterCarolingTargetAI(DistributedObjectAI, FSM):
|
|||
av.b_setScavengerHunt(scavengerHunt)
|
||||
if len(scavengerHunt) == 6:
|
||||
av.b_setCheesyEffect(14, 0, 0)
|
||||
|
||||
|
|
|
@ -85,4 +85,3 @@ class NewsManagerAI(DistributedObjectAI):
|
|||
|
||||
def sendSystemMessage(self, todo0, todo1):
|
||||
pass
|
||||
|
||||
|
|
|
@ -15,4 +15,3 @@ class WelcomeValleyManagerAI(DistributedObjectAI):
|
|||
|
||||
def requestZoneIdResponse(self, todo0, todo1):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue