2015-03-03 22:10:12 +00:00
|
|
|
from toontown.toonbase import ToontownGlobals
|
|
|
|
import SellbotLegFactorySpec
|
|
|
|
import SellbotLegFactoryCogs
|
|
|
|
import LawbotLegFactorySpec
|
|
|
|
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 config.GetBool('want-brutal-factory', True):
|
2015-03-04 10:42:16 +00:00
|
|
|
import SellbotMegaCorpLegSpec
|
|
|
|
import SellbotMegaCorpLegCogs
|
|
|
|
FactorySpecModules[ToontownGlobals.SellbotMegaCorpInt] = SellbotMegaCorpLegSpec
|
|
|
|
CogSpecModules[ToontownGlobals.SellbotMegaCorpInt] = SellbotMegaCorpLegCogs
|
2015-03-03 22:10:12 +00:00
|
|
|
|
|
|
|
if __dev__:
|
|
|
|
import FactoryMockupSpec
|
|
|
|
import FactoryMockupCogs
|
2015-03-04 10:42:16 +00:00
|
|
|
FactorySpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupSpec
|
2015-03-03 22:10:12 +00:00
|
|
|
CogSpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupCogs
|