Poodletooth-iLand/toontown/pets/PetDetail.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

16 lines
500 B
Python
Executable file

from direct.directnotify import DirectNotifyGlobal
from otp.avatar import AvatarDetail
from toontown.pets import DistributedPet
class PetDetail(AvatarDetail.AvatarDetail):
notify = DirectNotifyGlobal.directNotify.newCategory('PetDetail')
def getDClass(self):
return 'DistributedPet'
def createHolder(self):
pet = DistributedPet.DistributedPet(base.cr, bFake=True)
pet.forceAllowDelayDelete()
pet.generateInit()
pet.generate()
return pet