2019-11-02 17:27:54 -05:00
|
|
|
from otp.level import EntityCreator
|
|
|
|
import FactoryLevelMgr
|
|
|
|
import PlatformEntity
|
|
|
|
import ConveyorBelt
|
|
|
|
import GearEntity
|
|
|
|
import PaintMixer
|
|
|
|
import GoonClipPlane
|
|
|
|
import MintProduct
|
|
|
|
import MintProductPallet
|
|
|
|
import MintShelf
|
|
|
|
import PathMasterEntity
|
|
|
|
import RenderingEntity
|
|
|
|
|
|
|
|
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})
|