Skip to content

five-on-it / packages/missions/src/runtime / BindDoorCommand

Interface: BindDoorCommand ​

Defined in: packages/missions/src/runtime.ts:728

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:734

The place the door is nearest to.


key ​

key: string

Defined in: packages/missions/src/runtime.ts:732

The actor's key: the facts report the door under it.


keypad? ​

optional keypad?: boolean

Defined in: packages/missions/src/runtime.ts:740

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:730

Discriminator.


lock? ​

optional lock?: string

Defined in: packages/missions/src/runtime.ts:736

The tag that unlocks it.


locked? ​

optional locked?: boolean

Defined in: packages/missions/src/runtime.ts:738

Lock (true) or unlock it as the mission starts; left as it is when absent.