Пример #1
0
    15: 'CashbotMintPipeRoom_Action00',
    16: 'CashbotMintPipeRoom_Battle00',
    17: 'CashbotMintStomperAlley_Action00',
    18: 'CashbotMintStomperAlley_Action01',
    19: 'CashbotMintBoomerangRoom_Battle00',
    20: 'CashbotMintBoilerRoom_Battle01',
    21: 'CashbotMintControlRoom_Battle00',
    22: 'CashbotMintDuctRoom_Battle01',
    23: 'CashbotMintGearRoom_Battle01',
    24: 'CashbotMintLavaRoomFoyer_Battle01',
    25: 'CashbotMintOilRoom_Battle00',
    26: 'CashbotMintLobby_Battle01',
    27: 'CashbotMintPaintMixerReward_Battle00',
    28: 'CashbotMintPipeRoom_Battle01'
}
CashbotMintRoomName2RoomId = invertDict(CashbotMintRoomId2RoomName)
CashbotMintEntranceIDs = (0, )
CashbotMintMiddleRoomIDs = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
                            16, 17, 18, 19)
CashbotMintFinalRoomIDs = (20, 21, 22, 23, 24, 25, 26, 27, 28)
CashbotMintConnectorRooms = ('phase_10/models/cashbotHQ/connector_7cubeL2',
                             'phase_10/models/cashbotHQ/connector_7cubeR2')
CashbotMintSpecModules = {}
for roomName, roomId in CashbotMintRoomName2RoomId.items():
    CashbotMintSpecModules[roomId] = locals()[roomName]

CogSpecModules = {
    'CashbotMintBoilerRoom_Battle00': CashbotMintBoilerRoom_Battle00_Cogs,
    'CashbotMintBoilerRoom_Battle01': CashbotMintBoilerRoom_Battle01_Cogs,
    'CashbotMintBoomerangRoom_Battle00':
    CashbotMintBoomerangRoom_Battle00_Cogs,
LawbotOfficeInt = 13300
LawbotStageIntA = 13300
LawbotStageIntB = 13400
LawbotStageIntC = 13500
LawbotStageIntD = 13600
Tutorial = 15000
MyEstate = 16000
GolfZone = 17000
PartyHood = 18000
HoodsAlwaysVisited = [17000, 18000]
WelcomeValleyBegin = 22000
WelcomeValleyEnd = 61000
DynamicZonesBegin = 61000
DynamicZonesEnd = 1 << 20
cogDept2index = {'c': 0, 'l': 1, 'm': 2, 's': 3}
cogIndex2dept = invertDict(cogDept2index)
HQToSafezone = {
    SellbotHQ: DaisyGardens,
    CashbotHQ: DonaldsDreamland,
    LawbotHQ: TheBrrrgh,
    BossbotHQ: DonaldsDock
}
CogDeptNames = [
    TTLocalizer.Bossbot, TTLocalizer.Lawbot, TTLocalizer.Cashbot,
    TTLocalizer.Sellbot
]

# teleportation codenames and location IDs for ~tp MW
hood2Id = {
    'TTC': (ToontownCentral, ),
    'DD': (DonaldsDock, ),
Пример #3
0
 5: 'LawbotOfficeGearRoom_Action00',
 6: 'LawbotOfficeLobby_Action00',
 7: 'LawbotOfficeGearRoom_Security00',
 8: 'LawbotOfficeLobby_Trap00',
 9: 'LawbotOfficeDiamondRoom_Security00',
 10: 'LawbotOfficeDiamondRoom_Trap00',
 11: 'LawbotOfficeGearRoom_Platform00',
 12: 'LawbotOfficeLobby_Lights00',
 13: 'LawbotOfficeBoilerRoom_Trap00',
 100: 'LawbotOfficeBoilerRoom_Action01',
 101: 'LawbotOfficeDiamondRoom_Action00',
 102: 'LawbotOfficeDiamondRoom_Action01',
 103: 'LawbotOfficeLobby_Action01',
 104: 'LawbotOfficeDiamondRoom_Battle00',
 105: 'LawbotOfficeGearRoom_Battle00'}
CashbotStageRoomName2RoomId = invertDict(CashbotStageRoomId2RoomName)
CashbotStageEntranceIDs = (0,)
CashbotStageMiddleRoomIDs = (1,)
CashbotStageFinalRoomIDs = (2,)
CashbotStageConnectorRooms = ('phase_11/models/lawbotHQ/LB_connector_7cubeL2', 'phase_11/models/lawbotHQ/LB_connector_7cubeLR')
CashbotStageSpecModules = {}
for roomName, roomId in CashbotStageRoomName2RoomId.items():
    CashbotStageSpecModules[roomId] = locals()[roomName]

CogSpecModules = {'LawbotOfficeOilRoom_Battle00': LawbotOfficeOilRoom_Battle00_Cogs,
 'LawbotOfficeOilRoom_Battle01': LawbotOfficeOilRoom_Battle01_Cogs,
 'LawbotOfficeBoilerRoom_Battle00': LawbotOfficeBoilerRoom_Battle00_Cogs,
 'LawbotOfficeBoilerRoom_Trap00': LawbotOfficeBoilerRoom_Trap00_Cogs,
 'LawbotOfficeBoilerRoom_Action01': LawbotOfficeBoilerRoom_Action01_Cogs,
 'LawbotOfficeLobby_Trap00': LawbotOfficeLobby_Trap00_Cogs,
 'LawbotOfficeDiamondRoom_Trap00': LawbotOfficeDiamondRoom_Trap00_Cogs,
Пример #4
0

def getCogSpecModule(floorId):
    floor = LawbotOfficeFloorId2FloorName[roomId]
    return CogSpecModules.get(floorId, NullCogs)


def getNumBattles(floorId):
    return floorId2numBattles[floorId]


LawbotOfficeFloorId2FloorName = {
    0: 'LabotOfficeFloor_01_a',
    1: 'LabotOfficeFloor_01_b'
}
LawbotOfficeFloorName2FloorId = invertDict(LawbotOfficeFloorId2FloorName)
LawbotOfficeEntranceIDs = (0, 1)
LawbotOfficeFloorIDs = (0, 1)
LawbotOfficeSpecModules = {}
for roomName, roomId in LawbotOfficeFloorName2FloorId.items():
    LawbotOfficeSpecModules[roomId] = __import__('toontown.coghq.' + roomName)

CogSpecModules = {
    'CashbotMintBoilerRoom_Battle00': LabotOfficeFloor_01a_Cogs,
    'CashbotMintBoilerRoom_Battle01': LabotOfficeFloor_01b_Cogs
}
floorId2numBattles = {}
for (roomName, roomId) in LawbotOfficeFloorName2FloorId.items():
    if roomName not in CogSpecModules:
        floorId2numBattles[roomId] = 0
        continue
Пример #5
0
BossbotCountryClubRoomId2RoomName = {
    0: 'BossbotCountryClubEntrance_Action00',
    2: 'BossbotCountryClubTeeOffRoom_Action00',
    4: 'BossbotCountryClubFairwayRoom_Battle00',
    5: 'BossbotCountryClubMazeRoom_Battle00',
    6: 'BossbotCountryClubMazeRoom_Battle01',
    7: 'BossbotCountryClubMazeRoom_Battle02',
    9: 'BossbotCountryClubGreenRoom_Action00',
    17: 'BossbotCountryClubKartRoom_Battle00',
    18: 'BossbotCountryClubPresidentRoom_Battle00',
    22: 'BossbotCountryClubTeeOffRoom_Action01',
    32: 'BossbotCountryClubTeeOffRoom_Action02',
    29: 'BossbotCountryClubGreenRoom_Action01',
    39: 'BossbotCountryClubGreenRoom_Action02'
}
BossbotCountryClubRoomName2RoomId = invertDict(
    BossbotCountryClubRoomId2RoomName)
BossbotCountryClubEntranceIDs = (0, )
BossbotCountryClubMiddleRoomIDs = (2, 5, 6)
BossbotCountryClubFinalRoomIDs = (18, )
BossbotCountryClubConnectorRooms = (
    'phase_12/models/bossbotHQ/Connector_Tunnel_A',
    'phase_12/models/bossbotHQ/Connector_Tunnel_B')
CashbotMintSpecModules = {}
for roomName, roomId in BossbotCountryClubRoomName2RoomId.items():
    CashbotMintSpecModules[roomId] = locals()[roomName]

CogSpecModules = {
    'BossbotCountryClubEntrance_Action00':
    BossbotCountryClubEntrance_Action00_Cogs,
    'BossbotCountryClubFairwayRoom_Battle00':
    BossbotCountryClubFairwayRoom_Battle00_Cogs,