mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Top Toons Bool
This commit is contained in:
parent
e78d84f9e4
commit
e3c34e4fe8
3 changed files with 7 additions and 2 deletions
1
dependencies/config/release/dev.prc
vendored
1
dependencies/config/release/dev.prc
vendored
|
@ -30,6 +30,7 @@ want-chinese-checkers #t
|
|||
want-checkers #t
|
||||
want-house-types #t
|
||||
want-gifting #t
|
||||
want-top-toons #f
|
||||
|
||||
# Chat:
|
||||
want-whitelist #t
|
||||
|
|
|
@ -87,6 +87,7 @@ class ToontownAIRepository(ToontownInternalRepository):
|
|||
self.wantCogbuildings = self.config.GetBool('want-cogbuildings', True)
|
||||
self.wantCogdominiums = self.config.GetBool('want-cogdominiums', True)
|
||||
self.wantTrackClsends = self.config.GetBool('want-track-clsends', False)
|
||||
self.wantTopToons = self.config.GetBool('want-top-toons', True)
|
||||
self.baseXpMultiplier = self.config.GetFloat('base-xp-multiplier', 1.0)
|
||||
|
||||
self.cogSuitMessageSent = False
|
||||
|
@ -121,7 +122,8 @@ class ToontownAIRepository(ToontownInternalRepository):
|
|||
self.buildingQueryMgr = DistributedBuildingQueryMgrAI(self)
|
||||
self.buildingQueryMgr.generateWithRequired(2)
|
||||
self.groupManager.generateWithRequired(2)
|
||||
self.topToonsMgr = TopToonsManagerAI(self)
|
||||
if self.wantTopToons:
|
||||
self.topToonsMgr = TopToonsManagerAI(self)
|
||||
if self.wantKarts:
|
||||
self.leaderboardMgr = LeaderboardMgrAI(self)
|
||||
if self.wantFishing:
|
||||
|
|
|
@ -15,6 +15,7 @@ class ToontownUberRepository(ToontownInternalRepository):
|
|||
ToontownInternalRepository.__init__(self, baseChannel, serverId, dcSuffix='UD')
|
||||
|
||||
self.notify.setInfo(True)
|
||||
self.wantTopToons = self.config.GetBool('want-top-toons', True)
|
||||
|
||||
def handleConnected(self):
|
||||
ToontownInternalRepository.handleConnected(self)
|
||||
|
@ -39,5 +40,6 @@ class ToontownUberRepository(ToontownInternalRepository):
|
|||
self.friendsManager = simbase.air.generateGlobalObject(OTP_DO_ID_TTS_FRIENDS_MANAGER, 'TTSFriendsManager')
|
||||
self.globalPartyMgr = simbase.air.generateGlobalObject(OTP_DO_ID_GLOBAL_PARTY_MANAGER, 'GlobalPartyManager')
|
||||
self.groupManager = simbase.air.generateGlobalObject(OPT_DO_ID_GROUP_MANAGER, 'GroupManager')
|
||||
self.topToonsMgr = TopToonsManagerUD(self)
|
||||
if self.wantTopToons:
|
||||
self.topToonsMgr = TopToonsManagerUD(self)
|
||||
|
||||
|
|
Loading…
Reference in a new issue