mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
debug prints
This commit is contained in:
parent
5c51fe8037
commit
3ed02edc04
2 changed files with 5 additions and 0 deletions
|
@ -14,9 +14,11 @@ class DistributedCogHQExteriorDoor(DistributedCogHQDoor.DistributedCogHQDoor):
|
|||
self.lobbyGui = None
|
||||
|
||||
def selectLobby(self, avId):
|
||||
print("********\nCreating Lobby GUI...\n********")
|
||||
self.lobbyGui = BossLobbyGui(self.sendConfirmation, avId)
|
||||
|
||||
def sendConfirmation(self, avId, status):
|
||||
self.lobbyGui.destroy()
|
||||
self.lobbyGui = None
|
||||
print("********\nGUI Complete.\nSending Confirmation...\n********")
|
||||
self.sendUpdate('confirmEntrance', [avId, status])
|
||||
|
|
|
@ -31,11 +31,14 @@ class DistributedCogHQExteriorDoorAI(DistributedCogHQDoorAI.DistributedCogHQDoor
|
|||
if not allowed:
|
||||
self.sendReject(avId, self.isLockedDoor())
|
||||
else:
|
||||
print("********\nRequesting Lobby GUI...\n********")
|
||||
self.sendUpdate('selectLobby', [avId])
|
||||
|
||||
def confirmEntrance(self, avId, status):
|
||||
if status:
|
||||
print("********\nAvatar Heading to Lobby...\n********")
|
||||
self.enqueueAvatarIdEnter(avId)
|
||||
self.sendUpdateToAvatarId(avId, 'setOtherZoneIdAndDoId', [self.destinationZone, self.otherDoor.getDoId()])
|
||||
else:
|
||||
print("********\nAvatar Canceled Entrance.\n********")
|
||||
self.sendReject(avId, 0)
|
||||
|
|
Loading…
Reference in a new issue