toontown-just-works/toontown/hood/LawbotHQ.py
2024-07-07 18:08:39 -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)