Content Block
Id
Content Block's Id is Id of Dialogue Node. So it has 1-to-1 realtionship.
Schema: Text
{
"type": "@lorehub/content-block",
"apiVersion": "1.0.0",
"id": "6a302631-8e79-405e-8bc7-0e2d68b02a32",
"content": [{ "text": "Hello!" }]
}
Result should be
"Hello"
Schema: Speaker (ref) & Text
{
"type": "@lorehub/content-block",
"apiVersion": "1.0.0",
"id": "6a302631-8e79-405e-8bc7-0e2d68b02a32",
"content": [
{ "documentId": "ca2f5193-a3e0-41dd-830a-491132090d34" }
{ "text": "Hello!" }]
}
Result should be
If document with id ca2f5193-a3e0-41dd-830a-491132090d34
is document name "Kael"
Kael:
"Hello"
Schema: Speaker (ref with custom name) & Text
{
"type": "@lorehub/content-block",
"apiVersion": "1.0.0",
"id": "6a302631-8e79-405e-8bc7-0e2d68b02a32",
"content": [
{ "documentId": "ca2f5193-a3e0-41dd-830a-491132090d34", "text": "Voice from behind" }
{ "text": "Hello!" }]
}
Result should be
If document with id ca2f5193-a3e0-41dd-830a-491132090d34
is document name "Kael"
Voice from behind:
"Hello"