2015-03-03 16:10:12 -06: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 04:42:16 -06:00
|
|
|
import SellbotMegaCorpLegSpec
|
|
|
|
import SellbotMegaCorpLegCogs
|
|
|
|
FactorySpecModules[ToontownGlobals.SellbotMegaCorpInt] = SellbotMegaCorpLegSpec
|
2015-06-15 19:56:12 -05:00
|
|
|
CogSpecModules[ToontownGlobals.SellbotMegaCorpInt] = SellbotMegaCorpLegCogs
|