general: fix some warnings

This commit is contained in:
John Cote 2019-12-30 21:28:09 -05:00
parent 67677ad796
commit 8029c7bb06
10 changed files with 18 additions and 18 deletions

View file

@ -18205,10 +18205,10 @@ class Reward:
return None return None
def sendRewardAI(self, av): def sendRewardAI(self, av):
raise 'not implemented' raise NotImplementedError
def countReward(self, qrc): def countReward(self, qrc):
raise 'not implemented' raise NotImplementedError
def getString(self): def getString(self):
return 'undefined' return 'undefined'

View file

@ -2,10 +2,10 @@ from direct.distributed import DistributedObjectAI
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from otp.otpbase.PythonUtil import nonRepeatingRandomList from otp.otpbase.PythonUtil import nonRepeatingRandomList
from . import DistributedGagAI, DistributedProjectileAI from toontown.racing import DistributedGagAI, DistributedProjectileAI
from direct.task import Task from direct.task import Task
import random import random
from . import Racer, RaceGlobals from toontown.racing import Racer, RaceGlobals
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
class DistributedRaceAI(DistributedObjectAI.DistributedObjectAI): class DistributedRaceAI(DistributedObjectAI.DistributedObjectAI):

View file

@ -1,10 +1,10 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from . import DistributedRaceAI from toontown.racing import DistributedRaceAI
from toontown.toonbase import ToontownGlobals, TTLocalizer from toontown.toonbase import ToontownGlobals, TTLocalizer
from toontown.coghq import MintLayout from toontown.coghq import MintLayout
from toontown.ai import HolidayBaseAI from toontown.ai import HolidayBaseAI
from direct.showbase import DirectObject from direct.showbase import DirectObject
from . import RaceGlobals from toontown.racing import RaceGlobals
import os, pickle import os, pickle
class RaceManagerAI(DirectObject.DirectObject): class RaceManagerAI(DirectObject.DirectObject):

View file

@ -5,7 +5,7 @@ from direct.distributed import DistributedObjectAI
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State
from direct.fsm import State from direct.fsm import State
from direct.task import Task from direct.task import Task
from . import ButterflyGlobals from toontown.safezone import ButterflyGlobals
import random import random
class DistributedButterflyAI(DistributedObjectAI.DistributedObjectAI): class DistributedButterflyAI(DistributedObjectAI.DistributedObjectAI):

View file

@ -9,7 +9,7 @@ from toontown.building import SuitPlannerInteriorAI
from toontown.battle import BattleBase from toontown.battle import BattleBase
from toontown.coghq import CogDisguiseGlobals from toontown.coghq import CogDisguiseGlobals
from pandac.PandaModules import * from pandac.PandaModules import *
from . import SuitDNA from toontown.suit import SuitDNA
import random import random
AllBossCogs = [] AllBossCogs = []

View file

@ -8,7 +8,7 @@ from toontown.coghq import DistributedCashbotBossTreasureAI
from toontown.battle import BattleExperienceAI from toontown.battle import BattleExperienceAI
from toontown.chat import ResistanceChat from toontown.chat import ResistanceChat
from direct.fsm import FSM from direct.fsm import FSM
from . import DistributedBossCogAI from toontown.suit import DistributedBossCogAI
import random, math import random, math
class DistributedCashbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM): class DistributedCashbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM):

View file

@ -2,13 +2,13 @@ from pandac.PandaModules import *
from direct.task.TaskManagerGlobal import * from direct.task.TaskManagerGlobal import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from . import GoonGlobals from toontown.suit import GoonGlobals
from direct.task.Task import Task from direct.task.Task import Task
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals
from toontown.coghq import DistributedCashbotBossObjectAI from toontown.coghq import DistributedCashbotBossObjectAI
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
from . import DistributedGoonAI from toontown.suit import DistributedGoonAI
import math, random import math, random
class DistributedCashbotBossGoonAI(DistributedGoonAI.DistributedGoonAI, DistributedCashbotBossObjectAI.DistributedCashbotBossObjectAI): class DistributedCashbotBossGoonAI(DistributedGoonAI.DistributedGoonAI, DistributedCashbotBossObjectAI.DistributedCashbotBossObjectAI):

View file

@ -1,9 +1,9 @@
from otp.ai.AIBaseGlobal import * from otp.ai.AIBaseGlobal import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from . import DistributedBossCogAI from toontown.suit import DistributedBossCogAI
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from otp.avatar import DistributedAvatarAI from otp.avatar import DistributedAvatarAI
from . import DistributedSuitAI from toontown.suit import DistributedSuitAI
from toontown.battle import BattleExperienceAI from toontown.battle import BattleExperienceAI
from direct.fsm import FSM from direct.fsm import FSM
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
@ -12,7 +12,7 @@ from toontown.toonbase import TTLocalizer
from toontown.battle import BattleBase from toontown.battle import BattleBase
from toontown.toon import NPCToons from toontown.toon import NPCToons
from toontown.building import SuitBuildingGlobals from toontown.building import SuitBuildingGlobals
from . import SuitDNA from toontown.suit import SuitDNA
import random import random
from toontown.coghq import DistributedLawbotBossGavelAI from toontown.coghq import DistributedLawbotBossGavelAI
from toontown.suit import DistributedLawbotBossSuitAI from toontown.suit import DistributedLawbotBossSuitAI

View file

@ -3,7 +3,7 @@ from direct.distributed.ClockDelta import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from toontown.battle import SuitBattleGlobals from toontown.battle import SuitBattleGlobals
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from . import DistributedSuitBaseAI from toontown.suit import DistributedSuitBaseAI
import random import random
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State
from direct.fsm import State from direct.fsm import State

View file

@ -1,9 +1,9 @@
from otp.ai.AIBaseGlobal import * from otp.ai.AIBaseGlobal import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from . import DistributedBossCogAI from toontown.suit import DistributedBossCogAI
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from otp.avatar import DistributedAvatarAI from otp.avatar import DistributedAvatarAI
from . import DistributedSuitAI from toontown.suit import DistributedSuitAI
from toontown.battle import BattleExperienceAI from toontown.battle import BattleExperienceAI
from direct.fsm import FSM from direct.fsm import FSM
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
@ -12,7 +12,7 @@ from toontown.toonbase import TTLocalizer
from toontown.battle import BattleBase from toontown.battle import BattleBase
from toontown.toon import NPCToons from toontown.toon import NPCToons
from toontown.suit import SellbotBossGlobals from toontown.suit import SellbotBossGlobals
from . import SuitDNA from toontown.suit import SuitDNA
import random import random
class DistributedSellbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM): class DistributedSellbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM):