Defines the level 1 Combine Lock item (combine_lock_1) of the Combine Locks plugin, which fits a Combine lock with access level 1 to the unownable door the player is looking at.

Summary

Methods

Called when the lock is dropped; does nothing, so it can be dropped freely.
Fits a level 1 Combine lock to the unownable door the player looks at, within 192 units.

Methods

Called when the lock is dropped; does nothing, so it can be dropped freely.

Parameters

  • player
  • position

Fits a level 1 Combine lock to the unownable door the player looks at, within 192 units.

Destroys a breaching charge already on the door. Fails, keeping the item, when the door already has a lock or cannot have one.

Parameters

  • player
  • itemEntity

Returns

  • Boolean false when the lock could not be fitted

Defined in