toontown-just-works/toontown/hood/SellbotHQ.py

22 lines
634 B
Python
Raw Normal View History

2024-07-07 18:08:39 -05:00
from toontown.coghq.SellbotCogHQLoader import SellbotCogHQLoader
from toontown.toonbase import ToontownGlobals
from toontown.hood.CogHood import CogHood
class SellbotHQ(CogHood):
notify = directNotify.newCategory('SellbotHQ')
ID = ToontownGlobals.SellbotHQ
LOADER_CLASS = SellbotCogHQLoader
def load(self):
CogHood.load(self)
self.sky.setScale(2.0)
def enter(self, requestStatus):
CogHood.enter(self, requestStatus)
base.localAvatar.setCameraFov(ToontownGlobals.CogHQCameraFov)
base.camLens.setNearFar(ToontownGlobals.CogHQCameraNear, ToontownGlobals.CogHQCameraFar)