mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Oops, debug
This commit is contained in:
parent
49b2422187
commit
ffd8f1f001
1 changed files with 0 additions and 6 deletions
|
@ -66,7 +66,6 @@ class DistributedChair(DistributedFurnitureItem.DistributedFurnitureItem):
|
||||||
base.cr.playGame.getPlace().setState('walk')
|
base.cr.playGame.getPlace().setState('walk')
|
||||||
|
|
||||||
def setAvId(self, avId):
|
def setAvId(self, avId):
|
||||||
print 'Get av id %s' % avId
|
|
||||||
if avId == ToontownGlobals.CHAIR_NONE:
|
if avId == ToontownGlobals.CHAIR_NONE:
|
||||||
self.avId = avId
|
self.avId = avId
|
||||||
return
|
return
|
||||||
|
@ -93,22 +92,17 @@ class DistributedChair(DistributedFurnitureItem.DistributedFurnitureItem):
|
||||||
self.avId = avId
|
self.avId = avId
|
||||||
|
|
||||||
def setStatus(self, status):
|
def setStatus(self, status):
|
||||||
print 'Got status %s %s' % (status, self.avId)
|
|
||||||
av = base.cr.doId2do.get(self.avId)
|
av = base.cr.doId2do.get(self.avId)
|
||||||
|
|
||||||
if not av:
|
if not av:
|
||||||
print 'RIP'
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if status == ToontownGlobals.CHAIR_LOCKED:
|
if status == ToontownGlobals.CHAIR_LOCKED:
|
||||||
print 'locked'
|
|
||||||
self.locked = True
|
self.locked = True
|
||||||
|
|
||||||
if status == ToontownGlobals.CHAIR_UNEXPECTED_EXIT:
|
if status == ToontownGlobals.CHAIR_UNEXPECTED_EXIT:
|
||||||
print 'unexpected'
|
|
||||||
self.resetAvatar(av)
|
self.resetAvatar(av)
|
||||||
else:
|
else:
|
||||||
print 'rektangle'
|
|
||||||
sitStartDuration = av.getDuration('sit-start')
|
sitStartDuration = av.getDuration('sit-start')
|
||||||
self.destroyGui()
|
self.destroyGui()
|
||||||
Sequence(Parallel(ActorInterval(av, 'sit-start', startTime=sitStartDuration, endTime=0.0), Sequence(Wait(sitStartDuration * 0.25), av.posInterval(sitStartDuration * 0.25, self.getChair()[2]))), Func(self.resetAvatar, av)).start()
|
Sequence(Parallel(ActorInterval(av, 'sit-start', startTime=sitStartDuration, endTime=0.0), Sequence(Wait(sitStartDuration * 0.25), av.posInterval(sitStartDuration * 0.25, self.getChair()[2]))), Func(self.resetAvatar, av)).start()
|
||||||
|
|
Loading…
Reference in a new issue