mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-11-01 01:07:54 +00:00
56 lines
1.8 KiB
Python
56 lines
1.8 KiB
Python
|
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
|
||
|
nonlocal = EntityCreator.nonlocal
|
||
|
self.privRegisterTypes({'activeCell': nonlocal,
|
||
|
'crusherCell': nonlocal,
|
||
|
'battleBlocker': nonlocal,
|
||
|
'beanBarrel': nonlocal,
|
||
|
'button': nonlocal,
|
||
|
'conveyorBelt': ConveyorBelt.ConveyorBelt,
|
||
|
'crate': nonlocal,
|
||
|
'door': nonlocal,
|
||
|
'directionalCell': nonlocal,
|
||
|
'gagBarrel': nonlocal,
|
||
|
'gear': GearEntity.GearEntity,
|
||
|
'goon': nonlocal,
|
||
|
'gridGoon': nonlocal,
|
||
|
'golfGreenGame': nonlocal,
|
||
|
'goonClipPlane': GoonClipPlane.GoonClipPlane,
|
||
|
'grid': nonlocal,
|
||
|
'healBarrel': nonlocal,
|
||
|
'levelMgr': FactoryLevelMgr.FactoryLevelMgr,
|
||
|
'lift': nonlocal,
|
||
|
'mintProduct': MintProduct.MintProduct,
|
||
|
'mintProductPallet': MintProductPallet.MintProductPallet,
|
||
|
'mintShelf': MintShelf.MintShelf,
|
||
|
'mover': nonlocal,
|
||
|
'paintMixer': PaintMixer.PaintMixer,
|
||
|
'pathMaster': PathMasterEntity.PathMasterEntity,
|
||
|
'rendering': RenderingEntity.RenderingEntity,
|
||
|
'platform': PlatformEntity.PlatformEntity,
|
||
|
'sinkingPlatform': nonlocal,
|
||
|
'stomper': nonlocal,
|
||
|
'stomperPair': nonlocal,
|
||
|
'laserField': nonlocal,
|
||
|
'securityCamera': nonlocal,
|
||
|
'elevatorMarker': nonlocal,
|
||
|
'trigger': nonlocal,
|
||
|
'moleField': nonlocal,
|
||
|
'maze': nonlocal})
|