mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-11-01 01:07:54 +00:00
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
|
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):
|
||
|
import SellbotBrutalLegFactorySpec
|
||
|
import SellbotBrutalLegFactoryCogs
|
||
|
FactorySpecModules[ToontownGlobals.SellbotBrutalFactoryInt] = SellbotBrutalLegFactorySpec
|
||
|
CogSpecModules[ToontownGlobals.SellbotBrutalFactoryInt] = SellbotBrutalLegFactoryCogs
|
||
|
|
||
|
if __dev__:
|
||
|
import FactoryMockupSpec
|
||
|
FactorySpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupSpec
|
||
|
import FactoryMockupCogs
|
||
|
CogSpecModules[ToontownGlobals.MockupFactoryId] = FactoryMockupCogs
|