mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 16:57:54 +00:00
15 lines
453 B
Python
15 lines
453 B
Python
|
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||
|
from otp.avatar import AvatarDetail
|
||
|
from toontown.toon import DistributedToon
|
||
|
|
||
|
class ToonDetail(AvatarDetail.AvatarDetail):
|
||
|
notify = directNotify.newCategory('ToonDetail')
|
||
|
|
||
|
def getDClass(self):
|
||
|
return 'DistributedToon'
|
||
|
|
||
|
def createHolder(self):
|
||
|
toon = DistributedToon.DistributedToon(base.cr, bFake=True)
|
||
|
toon.forceAllowDelayDelete()
|
||
|
return toon
|