Skip to content

oCMobLockable

Quick Infos

Type: Virtual Object
Format Name: ZenGin Archive
File Extension: .ZEN
Class Name: oCMobLockable
Version Identifiers:
— Gothic I: 12289
— Gothic II: 52224
ZenKit Class:

The base class for many lockable objects like containers and doors.

Warning

This object is an abstract base class and cannot be instantiated by itself.

Properties

locked

Determines whether the container is locked.
TRUE — The container is locked. FALSE — The container is not locked.

keyInstance

The name of the item script instance which unlocks the container.

Tip

Only relevant if the container is locked.

pickLockStr

The combination which unlocks this container when picking the lock. Each character of the string is either R or L where R stands for "Right" and L stands for "Left". If empty, the lock can not be picked.
Example: LRRLLRL.

Tip

Only relevant if the container is locked.