Add support for NPC dialogue in runtime-host.ts

This commit is contained in:
2026-04-15 09:18:51 +02:00
parent ba4989c7d2
commit 470c6fbbca

View File

@@ -2992,6 +2992,14 @@ export class RuntimeHost {
case "controlEffect":
this.applyControlEffect(effect.effect, null);
return;
case "makeNpcTalk":
this.openRuntimeNpcDialogue(effect.npcEntityId, effect.dialogueId, {
kind: "direct",
sourceEntityId,
linkId: null,
trigger: null
});
return;
case "startDialogue":
this.openRuntimeDialogue(effect.dialogueId, {
kind: "direct",