Poodletooth-iLand/toontown/hood/LawbotHQ.py

22 lines
627 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
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)