Poodletooth-iLand/toontown/toon/DistributedNPCFlippyInToonHall.py
John 35b646c4e6 Revert "Spring cleaning"
This reverts commit 1e4bad8c6b.
2015-06-16 20:26:44 +03:00

21 lines
No EOL
610 B
Python
Executable file

from pandac.PandaModules import *
from DistributedNPCToon import *
class DistributedNPCFlippyInToonHall(DistributedNPCToon):
def __init__(self, cr):
DistributedNPCToon.__init__(self, cr)
def getCollSphereRadius(self):
return 4
def initPos(self):
self.clearMat()
self.setScale(1.25)
def handleCollisionSphereEnter(self, collEntry):
base.cr.playGame.getPlace().fsm.request('quest', [self])
self.sendUpdate('avatarEnter', [])
self.nametag3d.setDepthTest(0)
self.nametag3d.setBin('fixed', 0)
self.lookAt(base.localAvatar)