five-on-it / packages/missions/src/runtime / BindDoorCommand
Interface: BindDoorCommand
Defined in: packages/missions/src/runtime.ts:796
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:802
The place the door is nearest to.
key
key:
string
Defined in: packages/missions/src/runtime.ts:800
The actor's key: the facts report the door under it.
keypad?
optionalkeypad?:boolean
Defined in: packages/missions/src/runtime.ts:808
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:798
Discriminator.
lock?
optionallock?:string
Defined in: packages/missions/src/runtime.ts:804
The tag that unlocks it.
locked?
optionallocked?:boolean
Defined in: packages/missions/src/runtime.ts:806
Lock (true) or unlock it as the mission starts; left as it is when absent.