oldschool-toontown/toontown/cogdominium/DistributedCogdoElevatorExt.py

18 lines
561 B
Python
Raw Permalink Normal View History

2019-11-02 17:27:54 -05:00
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')