2019-11-02 17:27:54 -05:00
|
|
|
from toontown.toonbase import ToontownGlobals
|
2019-12-30 00:07:56 -06:00
|
|
|
from . import SellbotLegFactorySpec
|
|
|
|
from . import SellbotLegFactoryCogs
|
|
|
|
from . import LawbotLegFactorySpec
|
|
|
|
from . import LawbotLegFactoryCogs
|
2019-11-02 17:27:54 -05:00
|
|
|
|
|
|
|
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__:
|
2019-12-30 00:07:56 -06:00
|
|
|
from . import FactoryMockupSpec
|
2019-11-02 17:27:54 -05:00
|
|
|
FactorySpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupSpec
|
2019-12-30 00:07:56 -06:00
|
|
|
from . import FactoryMockupCogs
|
2019-11-02 17:27:54 -05:00
|
|
|
CogSpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupCogs
|