mux.world.locks

mux.world.locks is an immutable namespace of typed Lock constants for mux.world.lock_passes. Each constant corresponds directly to a supported key in an object module’s locks table. Raw strings are rejected.

ConstantObject-module keyPurpose
MATCHmatchPrefer an object that passes during key-aware matching.
TRAVERSEtraverseTraverse an exit.
TAKEtakeTake an object.
USEuseUse an object.
DROPdropDrop an object.
GIVEgiveGive an object.
RECEIVEreceiveReceive a given object.
ENTERenterEnter an object, room, BattleTech unit, bay, or hangar.
LEAVEleaveLeave an object or room.
TELEPORTteleportTeleport into a destination.
TELEPORT_OUTteleport_outTeleport out of an origin.
LINKlinkLink an exit or object.
SET_HOMEset_homeSet an object’s home to a destination.
SPEAKspeakSpeak in a location.
CHANNEL_JOINchannel_joinJoin a channel.
CHANNEL_TRANSMITchannel_transmitTransmit on a channel.
CHANNEL_RECEIVEchannel_receiveReceive channel traffic.
IDENTIFY_BUILDINGidentify_buildingIdentify a BattleTech building contact.
local passes = mux.world.lock_passes({
  object = exit,
  enactor = ctx.enactor,
  lock = mux.world.locks.TRAVERSE,
})

Constants compare by lock identity and stringify as their uppercase name. Unknown lookups and attempts to modify a constant or the namespace raise mux.arg.invalid.