oldschool-toontown/toontown/coghq/FactoryEntityCreator.py

56 lines
2 KiB
Python
Raw Normal View History

2019-11-02 17:27:54 -05:00
from otp.level import EntityCreator
from . import FactoryLevelMgr
from . import PlatformEntity
from . import ConveyorBelt
from . import GearEntity
from . import PaintMixer
from . import GoonClipPlane
from . import MintProduct
from . import MintProductPallet
from . import MintShelf
from . import PathMasterEntity
from . import RenderingEntity
2019-11-02 17:27:54 -05:00
class FactoryEntityCreator(EntityCreator.EntityCreator):
def __init__(self, level):
EntityCreator.EntityCreator.__init__(self, level)
nothing = EntityCreator.nothing
2019-12-29 23:48:40 -06:00
nonlocalEnt = EntityCreator.nonlocalEnt
self.privRegisterTypes({'activeCell': nonlocalEnt,
'crusherCell': nonlocalEnt,
'battleBlocker': nonlocalEnt,
'beanBarrel': nonlocalEnt,
'button': nonlocalEnt,
2019-11-02 17:27:54 -05:00
'conveyorBelt': ConveyorBelt.ConveyorBelt,
2019-12-29 23:48:40 -06:00
'crate': nonlocalEnt,
'door': nonlocalEnt,
'directionalCell': nonlocalEnt,
'gagBarrel': nonlocalEnt,
2019-11-02 17:27:54 -05:00
'gear': GearEntity.GearEntity,
2019-12-29 23:48:40 -06:00
'goon': nonlocalEnt,
'gridGoon': nonlocalEnt,
'golfGreenGame': nonlocalEnt,
2019-11-02 17:27:54 -05:00
'goonClipPlane': GoonClipPlane.GoonClipPlane,
2019-12-29 23:48:40 -06:00
'grid': nonlocalEnt,
'healBarrel': nonlocalEnt,
2019-11-02 17:27:54 -05:00
'levelMgr': FactoryLevelMgr.FactoryLevelMgr,
2019-12-29 23:48:40 -06:00
'lift': nonlocalEnt,
2019-11-02 17:27:54 -05:00
'mintProduct': MintProduct.MintProduct,
'mintProductPallet': MintProductPallet.MintProductPallet,
'mintShelf': MintShelf.MintShelf,
2019-12-29 23:48:40 -06:00
'mover': nonlocalEnt,
2019-11-02 17:27:54 -05:00
'paintMixer': PaintMixer.PaintMixer,
'pathMaster': PathMasterEntity.PathMasterEntity,
'rendering': RenderingEntity.RenderingEntity,
'platform': PlatformEntity.PlatformEntity,
2019-12-29 23:48:40 -06:00
'sinkingPlatform': nonlocalEnt,
'stomper': nonlocalEnt,
'stomperPair': nonlocalEnt,
'laserField': nonlocalEnt,
'securityCamera': nonlocalEnt,
'elevatorMarker': nonlocalEnt,
'trigger': nonlocalEnt,
'moleField': nonlocalEnt,
'maze': nonlocalEnt})