mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Preparations
This commit is contained in:
parent
08417e7a55
commit
85406a5a52
4 changed files with 31 additions and 6 deletions
|
@ -1,10 +1,8 @@
|
|||
from toontown.building import DoorTypes
|
||||
from toontown.building.DistributedBoardingPartyAI import DistributedBoardingPartyAI
|
||||
from toontown.coghq import DistributedCogHQDoorAI
|
||||
from toontown.coghq import LobbyManagerAI
|
||||
from toontown.toonbase import TTLocalizer
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
||||
from toontown.coghq import DistributedCogHQDoorAI, LobbyManagerAI
|
||||
from toontown.toonbase import TTLocalizer, ToontownGlobals
|
||||
from toontown.toon import NPCToons
|
||||
|
||||
class CogHQAI:
|
||||
notify = directNotify.newCategory('CogHQAI')
|
||||
|
@ -41,6 +39,12 @@ class CogHQAI:
|
|||
self.extDoor = self.makeCogHQDoor(self.lobbyZoneId, 0, 0, self.lobbyFADoorCode)
|
||||
if simbase.config.GetBool('want-boarding-groups', True):
|
||||
self.createBoardingParty()
|
||||
self.npcs = NPCToons.createNpcsInZone(self.air, self.zoneId)
|
||||
|
||||
def shutdown(self):
|
||||
for npc in self.npcs:
|
||||
npc.requestDelete()
|
||||
del self.npcs
|
||||
|
||||
def createLobbyManager(self):
|
||||
self.lobbyMgr = LobbyManagerAI.LobbyManagerAI(self.air, self.bossCtor)
|
||||
|
|
|
@ -18,7 +18,7 @@ class DistributedNPCLaffRestock(DistributedNPCToonBase):
|
|||
if hasattr(self, 'dialog'):
|
||||
self.dialog.cleanup()
|
||||
del self.dialog
|
||||
|
||||
|
||||
def getCollSphereRadius(self):
|
||||
return 1.0
|
||||
|
||||
|
|
|
@ -11572,6 +11572,26 @@ NPCToonDict = {20000: (-1,
|
|||
'm',
|
||||
0,
|
||||
NPC_REGULAR),
|
||||
11001: (11000,
|
||||
lnames[11001],
|
||||
('dll',
|
||||
'ls',
|
||||
's',
|
||||
'm',
|
||||
6,
|
||||
0,
|
||||
6,
|
||||
6,
|
||||
9,
|
||||
3,
|
||||
9,
|
||||
3,
|
||||
2,
|
||||
4,
|
||||
0),
|
||||
'm',
|
||||
0,
|
||||
NPC_LAFF_RESTOCK),
|
||||
# Magic Cat SOS
|
||||
# 5 Stars, Sound SOS, Bikehorn 255 damage. "The Bikehorn of Death".
|
||||
91917: (-1,
|
||||
|
|
|
@ -6217,6 +6217,7 @@ NPCToonNames = {20000: 'Tutorial Tom',
|
|||
7009: 'Jimmy Thelock',
|
||||
7010: 'Little Blinky',
|
||||
7011: 'Donald',
|
||||
11001: 'Healer Gabriel',
|
||||
91917: 'Magic Cat'}
|
||||
zone2TitleDict = {2513: ('Toon Hall', ''),
|
||||
2514: ('Toontown Bank', ''),
|
||||
|
|
Loading…
Reference in a new issue