general: fix some warnings
This commit is contained in:
parent
67677ad796
commit
8029c7bb06
10 changed files with 18 additions and 18 deletions
|
@ -18205,10 +18205,10 @@ class Reward:
|
|||
return None
|
||||
|
||||
def sendRewardAI(self, av):
|
||||
raise 'not implemented'
|
||||
raise NotImplementedError
|
||||
|
||||
def countReward(self, qrc):
|
||||
raise 'not implemented'
|
||||
raise NotImplementedError
|
||||
|
||||
def getString(self):
|
||||
return 'undefined'
|
||||
|
|
|
@ -2,10 +2,10 @@ from direct.distributed import DistributedObjectAI
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from otp.otpbase.PythonUtil import nonRepeatingRandomList
|
||||
from . import DistributedGagAI, DistributedProjectileAI
|
||||
from toontown.racing import DistributedGagAI, DistributedProjectileAI
|
||||
from direct.task import Task
|
||||
import random
|
||||
from . import Racer, RaceGlobals
|
||||
from toontown.racing import Racer, RaceGlobals
|
||||
from direct.distributed.ClockDelta import *
|
||||
|
||||
class DistributedRaceAI(DistributedObjectAI.DistributedObjectAI):
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from . import DistributedRaceAI
|
||||
from toontown.racing import DistributedRaceAI
|
||||
from toontown.toonbase import ToontownGlobals, TTLocalizer
|
||||
from toontown.coghq import MintLayout
|
||||
from toontown.ai import HolidayBaseAI
|
||||
from direct.showbase import DirectObject
|
||||
from . import RaceGlobals
|
||||
from toontown.racing import RaceGlobals
|
||||
import os, pickle
|
||||
|
||||
class RaceManagerAI(DirectObject.DirectObject):
|
||||
|
|
|
@ -5,7 +5,7 @@ from direct.distributed import DistributedObjectAI
|
|||
from direct.fsm import ClassicFSM, State
|
||||
from direct.fsm import State
|
||||
from direct.task import Task
|
||||
from . import ButterflyGlobals
|
||||
from toontown.safezone import ButterflyGlobals
|
||||
import random
|
||||
|
||||
class DistributedButterflyAI(DistributedObjectAI.DistributedObjectAI):
|
||||
|
|
|
@ -9,7 +9,7 @@ from toontown.building import SuitPlannerInteriorAI
|
|||
from toontown.battle import BattleBase
|
||||
from toontown.coghq import CogDisguiseGlobals
|
||||
from pandac.PandaModules import *
|
||||
from . import SuitDNA
|
||||
from toontown.suit import SuitDNA
|
||||
import random
|
||||
AllBossCogs = []
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ from toontown.coghq import DistributedCashbotBossTreasureAI
|
|||
from toontown.battle import BattleExperienceAI
|
||||
from toontown.chat import ResistanceChat
|
||||
from direct.fsm import FSM
|
||||
from . import DistributedBossCogAI
|
||||
from toontown.suit import DistributedBossCogAI
|
||||
import random, math
|
||||
|
||||
class DistributedCashbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM):
|
||||
|
|
|
@ -2,13 +2,13 @@ from pandac.PandaModules import *
|
|||
from direct.task.TaskManagerGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from . import GoonGlobals
|
||||
from toontown.suit import GoonGlobals
|
||||
from direct.task.Task import Task
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from otp.otpbase import OTPGlobals
|
||||
from toontown.coghq import DistributedCashbotBossObjectAI
|
||||
from direct.showbase import PythonUtil
|
||||
from . import DistributedGoonAI
|
||||
from toontown.suit import DistributedGoonAI
|
||||
import math, random
|
||||
|
||||
class DistributedCashbotBossGoonAI(DistributedGoonAI.DistributedGoonAI, DistributedCashbotBossObjectAI.DistributedCashbotBossObjectAI):
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
from otp.ai.AIBaseGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from . import DistributedBossCogAI
|
||||
from toontown.suit import DistributedBossCogAI
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from otp.avatar import DistributedAvatarAI
|
||||
from . import DistributedSuitAI
|
||||
from toontown.suit import DistributedSuitAI
|
||||
from toontown.battle import BattleExperienceAI
|
||||
from direct.fsm import FSM
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
@ -12,7 +12,7 @@ from toontown.toonbase import TTLocalizer
|
|||
from toontown.battle import BattleBase
|
||||
from toontown.toon import NPCToons
|
||||
from toontown.building import SuitBuildingGlobals
|
||||
from . import SuitDNA
|
||||
from toontown.suit import SuitDNA
|
||||
import random
|
||||
from toontown.coghq import DistributedLawbotBossGavelAI
|
||||
from toontown.suit import DistributedLawbotBossSuitAI
|
||||
|
|
|
@ -3,7 +3,7 @@ from direct.distributed.ClockDelta import *
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from toontown.battle import SuitBattleGlobals
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from . import DistributedSuitBaseAI
|
||||
from toontown.suit import DistributedSuitBaseAI
|
||||
import random
|
||||
from direct.fsm import ClassicFSM, State
|
||||
from direct.fsm import State
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
from otp.ai.AIBaseGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from . import DistributedBossCogAI
|
||||
from toontown.suit import DistributedBossCogAI
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from otp.avatar import DistributedAvatarAI
|
||||
from . import DistributedSuitAI
|
||||
from toontown.suit import DistributedSuitAI
|
||||
from toontown.battle import BattleExperienceAI
|
||||
from direct.fsm import FSM
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
@ -12,7 +12,7 @@ from toontown.toonbase import TTLocalizer
|
|||
from toontown.battle import BattleBase
|
||||
from toontown.toon import NPCToons
|
||||
from toontown.suit import SellbotBossGlobals
|
||||
from . import SuitDNA
|
||||
from toontown.suit import SuitDNA
|
||||
import random
|
||||
|
||||
class DistributedSellbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM):
|
||||
|
|
Loading…
Reference in a new issue