five-on-it / packages/missions/src/runtime / BindDoorCommand
Interface: BindDoorCommand
Defined in: packages/missions/src/runtime.ts:740
Bind the level's door nearest a place to a mission's door actor; lock it, with the tag its key answers to, when the actor says.
Properties
at
at:
SpawnSpot
Defined in: packages/missions/src/runtime.ts:746
The place the door is nearest to.
key
key:
string
Defined in: packages/missions/src/runtime.ts:744
The actor's key: the facts report the door under it.
keypad?
optionalkeypad?:boolean
Defined in: packages/missions/src/runtime.ts:752
Locked by a keypad (its code is the mission's): the interaction key asks for the code.
kind
kind:
"bindDoor"
Defined in: packages/missions/src/runtime.ts:742
Discriminator.
lock?
optionallock?:string
Defined in: packages/missions/src/runtime.ts:748
The tag that unlocks it.
locked?
optionallocked?:boolean
Defined in: packages/missions/src/runtime.ts:750
Lock (true) or unlock it as the mission starts; left as it is when absent.