oldschool-toontown/toontown/coghq/FactorySpecs.py
2019-12-30 01:07:56 -05:00

23 lines
841 B
Python

from toontown.toonbase import ToontownGlobals
from . import SellbotLegFactorySpec
from . import SellbotLegFactoryCogs
from . import LawbotLegFactorySpec
from . import LawbotLegFactoryCogs
def getFactorySpecModule(factoryId):
return FactorySpecModules[factoryId]
def getCogSpecModule(factoryId):
return CogSpecModules[factoryId]
FactorySpecModules = {ToontownGlobals.SellbotFactoryInt: SellbotLegFactorySpec,
ToontownGlobals.LawbotOfficeInt: LawbotLegFactorySpec}
CogSpecModules = {ToontownGlobals.SellbotFactoryInt: SellbotLegFactoryCogs,
ToontownGlobals.LawbotOfficeInt: LawbotLegFactoryCogs}
if __dev__:
from . import FactoryMockupSpec
FactorySpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupSpec
from . import FactoryMockupCogs
CogSpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupCogs