Poodletooth-iLand/toontown/hood/LawbotHQ.py
2015-03-03 17:10:12 -05:00

21 lines
627 B
Python

from toontown.coghq.LawbotCogHQLoader import LawbotCogHQLoader
from toontown.toonbase import ToontownGlobals
from toontown.hood.CogHood import CogHood
class LawbotHQ(CogHood):
notify = directNotify.newCategory('LawbotHQ')
ID = ToontownGlobals.LawbotHQ
LOADER_CLASS = LawbotCogHQLoader
def load(self):
CogHood.load(self)
self.sky.hide()
def enter(self, requestStatus):
CogHood.enter(self, requestStatus)
base.localAvatar.setCameraFov(ToontownGlobals.CogHQCameraFov)
base.camLens.setNearFar(ToontownGlobals.LawbotHQCameraNear, ToontownGlobals.LawbotHQCameraFar)