Skip to content

oCMobLockable

Quick Infos

Class Name: oCMobLockable
Version Identifiers:
β€” Gothic I: 12289
β€” Gothic II: 52224
Sources:
β€” zk.gothickit.dev

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.

Class members

Class member overview

locked

Determines whether the container is locked.

Accepted values:

  • 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.