Update link actions in build-runtime-scene.test.ts
This commit is contained in:
@@ -770,6 +770,15 @@ describe("buildRuntimeSceneFromDocument", () => {
|
|||||||
targetEntityId: "entity-teleport-target-main"
|
targetEntityId: "entity-teleport-target-main"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "link-trigger-dialogue",
|
||||||
|
sourceEntityId: "entity-trigger-door",
|
||||||
|
trigger: "enter",
|
||||||
|
action: {
|
||||||
|
type: "startDialogue",
|
||||||
|
dialogueId: "dialogue-warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "link-hide-brush",
|
id: "link-hide-brush",
|
||||||
sourceEntityId: "entity-trigger-door",
|
sourceEntityId: "entity-trigger-door",
|
||||||
@@ -779,15 +788,6 @@ describe("buildRuntimeSceneFromDocument", () => {
|
|||||||
targetBrushId: "brush-room-floor",
|
targetBrushId: "brush-room-floor",
|
||||||
visible: false
|
visible: false
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "link-trigger-dialogue",
|
|
||||||
sourceEntityId: "entity-trigger-door",
|
|
||||||
trigger: "enter",
|
|
||||||
action: {
|
|
||||||
type: "startDialogue",
|
|
||||||
dialogueId: "dialogue-warning"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
expect(runtimeScene.playerStart).toEqual({
|
expect(runtimeScene.playerStart).toEqual({
|
||||||
|
|||||||
Reference in New Issue
Block a user