historical/toontown-classic.git/toontown/cogdominium/DistributedCogdoElevatorExt.py
2024-01-16 11:20:27 -06:00

17 lines
561 B
Python

from toontown.building.DistributedElevatorExt import DistributedElevatorExt
class DistributedCogdoElevatorExt(DistributedElevatorExt):
def setupElevator(self):
DistributedElevatorExt.setupElevator(self)
self.elevatorSphereNodePath.setY(-1.0)
self.elevatorSphereNodePath.setZ(1.5)
def getElevatorModel(self):
return self.bldg.getCogdoElevatorNodePath()
def getBldgDoorOrigin(self):
return self.bldg.getCogdoDoorOrigin()
def _getDoorsClosedInfo(self):
return ('cogdoInterior', 'cogdoInterior')