[{"data":1,"prerenderedAt":1424},["ShallowReactive",2],{"help-\u002Fhelp\u002Fdetective-case-relations-tree":3,"help-index":763},{"id":4,"title":5,"body":6,"category":739,"description":740,"extension":741,"keywords":742,"meta":756,"navigation":757,"order":758,"path":759,"seo":760,"stem":761,"__hash__":762},"help\u002Fhelp\u002Fdetective-case-relations-tree.md","Build a detective case with cases, clues and words",{"type":7,"value":8,"toc":727},"minimark",[9,13,46,57,105,112,117,120,171,177,194,198,271,277,296,302,306,309,384,390,406,412,438,460,466,477,481,484,520,526,548,554,560,564,574,580,597,603,607,610,622,629,633,697,701],[10,11,5],"h1",{"id":12},"build-a-detective-case-with-cases-clues-and-words",[14,15,16,20,21,25,26,29,30,33,34,37,38,41,42,45],"p",{},[17,18,19],"strong",{},"The case:"," you're writing a deduction game. In each case the player searches a scene, finds clues, and reads words off them that they later slot into their own account of what happened. Your first case is ",[22,23,24],"em",{},"The Drowned Keeper",": a lighthouse keeper found drowned at dawn. The player finds a ",[22,27,28],{},"Stopped pocket watch",", a ",[22,31,32],{},"Torn letter"," and an ",[22,35,36],{},"Empty oil can",", and each one gives up a word or two, like ",[22,39,40],{},"midnight"," or ",[22,43,44],{},"Harbourmaster Crane",". You want to see the whole case at a glance and check that every clue gives the player something to work with.",[47,48,54],"pre",{"className":49,"code":51,"language":52,"meta":53},[50],"language-text","The Drowned Keeper (case)\n├── Stopped pocket watch   → high tide, midnight\n├── Torn letter            → Harbourmaster Crane, unpaid debt\n└── Empty oil can          → sabotage, Harbourmaster Crane\n","text","",[55,56,51],"code",{"__ignoreMap":53},[14,58,59,62,63,66,67,70,71,74,75,78,79,70,82,85,86,89,90,93,94,97,98,100,101,104],{},[17,60,61],{},"The short answer:"," make three templates, ",[17,64,65],{},"Case",", ",[17,68,69],{},"Clue"," and ",[17,72,73],{},"Word",", and two relation types with the ",[17,76,77],{},"Hierarchy"," shape: ",[22,80,81],{},"Case \u002F Clue",[22,83,84],{},"Clue \u002F Word",". Then build the case in the ",[17,87,88],{},"Tree"," tab of ",[17,91,92],{},"Relations"," with the ",[17,95,96],{},"+"," under each card, or from each document's ",[17,99,92],{}," block with ",[17,102,103],{},"Add relation",". Both write the same relations, so you can switch between them at any time.",[14,106,107],{},[108,109],"img",{"alt":110,"src":111},"The Drowned Keeper in the Relations tree: three clues under the case, two words under each clue, a legend for the two relation types","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Ftree.jpg",[113,114,116],"h2",{"id":115},"_1-make-the-templates","1. Make the templates",[14,118,119],{},"Templates give each kind of document its own icon and fields, and they let the relation types below accept only the right kind of document.",[121,122,123,135,156,162],"ol",{},[124,125,126,127,130,131,134],"li",{},"Open any document, click the template menu at the top left (it says ",[17,128,129],{},"Document",") and choose ",[17,132,133],{},"Manage templates",".",[124,136,137,138,141,142,145,146,149,150,152,153,134],{},"On the ",[17,139,140],{},"Templates"," tab, click ",[17,143,144],{},"New template"," and choose ",[17,147,148],{},"Blank template",". Type ",[22,151,65],{}," and click ",[17,154,155],{},"Create",[124,157,158,159,134],{},"Click the icon next to the template's name and pick one, for example the skull. Click ",[17,160,161],{},"Save",[124,163,164,165,167,168,170],{},"Do the same for ",[22,166,69],{}," (a key) and ",[22,169,73],{}," (a feather).",[14,172,173],{},[108,174],{"alt":175,"src":176},"The template menu on a document: Document, Clue, Case and Word, then Browse catalogue and Manage templates","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Ftemplates.jpg",[14,178,179,180,183,184,187,188,193],{},"Add fields to them now or later, for example a ",[22,181,182],{},"Location"," on clues or a ",[22,185,186],{},"Solution"," on cases. See ",[189,190,192],"a",{"href":191},"\u002Fhelp\u002Fdocument-list-field","Give a character a race from your lore"," for how fields and templates work together.",[113,195,197],{"id":196},"_2-make-the-two-relation-types","2. Make the two relation types",[121,199,200,210,228,238,250,255],{},[124,201,202,203,205,206,209],{},"Open ",[17,204,92],{}," from the menu at the top, next to your world's name, and click ",[17,207,208],{},"Relation types"," at the top right.",[124,211,212,213,216,217,220,221,216,223,220,226,134],{},"Click ",[17,214,215],{},"New type",". For ",[17,218,219],{},"Side A",", type ",[22,222,65],{},[17,224,225],{},"Side B",[22,227,69],{},[124,229,230,231,234,235,237],{},"Set ",[17,232,233],{},"Shape"," to ",[17,236,77],{},". That's what puts cases above clues in the tree.",[124,239,240,241,244,245,247,248,134],{},"Under ",[17,242,243],{},"Between",", open the first list and tick ",[17,246,65],{},", then open the second and tick ",[17,249,69],{},[124,251,252,253,134],{},"Pick a colour on the left and click ",[17,254,155],{},[124,256,212,257,259,260,262,263,66,265,267,268,270],{},[17,258,215],{}," again and make ",[22,261,84],{}," the same way: ",[17,264,77],{},[17,266,69],{}," on the first side, ",[17,269,73],{}," on the second.",[14,272,273],{},[108,274],{"alt":275,"src":276},"Relation types: Clue \u002F Word and Case \u002F Clue, both Hierarchy, each between its two templates. Reads as: Case —Case→ Clue. Case is above Clue in the tree.","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Frelation-types.jpg",[14,278,279,282,283,286,287,70,290,293,294,134],{},[17,280,281],{},"Reads as"," under the table spells out the selected type. The side names also become the group headings on document pages: a case lists its ",[17,284,285],{},"Clues",", a clue its ",[17,288,289],{},"Words",[17,291,292],{},"Cases",", a word its ",[17,295,285],{},[14,297,298,299,301],{},"The ",[17,300,243],{}," lists do two jobs: LoreHub only offers documents with the right template when you link, and a document you create from a relation gets that template on its own.",[113,303,305],{"id":304},"_3-build-the-case-in-the-tree-view","3. Build the case in the Tree view",[14,307,308],{},"This is the quickest way to lay out a whole case.",[121,310,311,333,357,365,375],{},[124,312,313,314,317,318,321,322,324,325,327,328,152,331,134],{},"Make the case document if you don't have one: ",[17,315,316],{},"Documents"," → ",[17,319,320],{},"New Document",", name it ",[22,323,24],{},", pick ",[17,326,65],{}," in ",[17,329,330],{},"Template",[17,332,161],{},[124,334,335,336,338,339,341,342,345,346,349,350,352,353,356],{},"In ",[17,337,92],{},", open the ",[17,340,88],{}," tab. Click ",[17,343,344],{},"Add type"," and pick ",[17,347,348],{},"Case — Clue",", then ",[17,351,344],{}," again for ",[17,354,355],{},"Clue — Word",". Both are drawn in the same tree, each in its own colour.",[124,358,212,359,345,362,364],{},[17,360,361],{},"Root",[22,363,24],{},". The tree starts from the case.",[124,366,367,368,370,371,374],{},"Click the ",[17,369,96],{}," under the case's card. ",[17,372,373],{},"Add child to The Drowned Keeper"," opens.",[124,376,377,378,145,380,383],{},"Type ",[22,379,28],{},[17,381,382],{},"Create \"Stopped pocket watch\"…",". To link a document you already have, pick it from the list instead.",[14,385,386],{},[108,387],{"alt":388,"src":389},"Add child to The Drowned Keeper, with Wet footprints typed and Create \"Wet footprints\"… below","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fadd-child.jpg",[121,391,393],{"start":392},6,[124,394,395,397,398,400,401,403,404,134],{},[17,396,320],{}," opens with ",[17,399,69],{}," already chosen in ",[17,402,330],{},", because it's the only template the type allows under a case. Click ",[17,405,161],{},[14,407,408],{},[108,409],{"alt":410,"src":411},"New Document: Name Wet footprints, Template Clue","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fnew-document.jpg",[121,413,415,424],{"start":414},7,[124,416,417,418,420,421,423],{},"The clue appears under the case, on a line labelled ",[17,419,69],{},". Add the ",[22,422,32],{}," the same way.",[124,425,367,426,428,429,431,432,70,434,437],{},[22,427,28],{}," card, then the ",[17,430,96],{}," under it. Now the child is a word: create ",[22,433,40],{},[22,435,436],{},"high tide",". Do the same for the letter.",[14,439,440,441,444,445,447,448,451,452,455,456,459],{},"When a card is selected, the panel on the right shows ",[17,442,443],{},"Children of"," that document, grouped by relation type. Use the ",[17,446,96],{}," next to a group to add another child, the unlink icon to take one out (both documents stay), and ",[17,449,450],{},"Rename"," to fix a name. ",[17,453,454],{},"Open"," takes you to the document's page, and ",[17,457,458],{},"Focus here"," makes it the root.",[14,461,462],{},[108,463],{"alt":464,"src":465},"The Stopped pocket watch selected: the panel shows Children of Stopped pocket watch, Words 2: high tide, midnight","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fselected-clue.jpg",[14,467,468,469,472,473,476],{},"To keep a big case readable, click ",[17,470,471],{},"Collapse"," under a card to fold its branch; the pill then shows how many documents are hidden. ",[17,474,475],{},"Relations in this tree"," at the bottom right says which colour is which type. The address in your browser keeps the types, root and selection, so you can bookmark a case or send the link to a co-writer.",[113,478,480],{"id":479},"_4-or-build-it-from-the-document-pages","4. Or build it from the document pages",[14,482,483],{},"When you're writing a clue's description and think of a new word, add it right there.",[121,485,486,495,503],{},[124,487,488,489,491,492,494],{},"Open the clue, for example ",[22,490,36],{},". Its ",[17,493,92],{}," block is in the side column.",[124,496,212,497,499,500,134],{},[17,498,103],{},". The sentence starts with ",[17,501,502],{},"Empty oil can is",[124,504,377,505,507,508,510,511,513,514,516,517,519],{},[22,506,69],{}," and pick the ",[17,509,69],{}," with ",[17,512,355],{}," under it. (The other ",[17,515,69],{},", from ",[17,518,348],{},", is the one a clue plays for its case.)",[14,521,522],{},[108,523],{"alt":524,"src":525},"Empty oil can is: the list offers Clue (Clue — Word) and Clue (Case — Clue)","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fadd-relation-side.jpg",[121,527,529,539],{"start":528},4,[124,530,531,532,535,536,538],{},"Type the word. Pick an existing word from the list, or choose ",[17,533,534],{},"Create \"…\" as a new document",": it's created as a ",[17,537,73],{}," straight away.",[124,540,212,541,544,545,547],{},[17,542,543],{},"Add",". The box stays open with ",[17,546,69],{}," kept, so you can add the next word right away.",[14,549,550],{},[108,551],{"alt":552,"src":553},"Empty oil can is Clue, lamp oil typed, and Create \"lamp oil\" as a new document","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fadd-relation-word.jpg",[14,555,556,557,559],{},"A word can belong to more than one clue. Here both the letter and the oil can point to ",[22,558,44],{},"; in the tree that word sits under one clue, with a dashed line to the other.",[113,561,563],{"id":562},"_5-read-the-case-from-its-page","5. Read the case from its page",[14,565,202,566,491,568,570,571,573],{},[22,567,24],{},[17,569,92],{}," block lists the ",[17,572,285],{},", with the number of other relations each one has. Click the arrow before a clue to see its words without leaving the page, and click any name to open it.",[14,575,576],{},[108,577],{"alt":578,"src":579},"The Drowned Keeper's page: the Relations block lists 3 clues, the Stopped pocket watch is expanded to show its words high tide and midnight","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fcase-page.jpg",[14,581,582,583,586,587,589,590,593,594,596],{},"To get back to the tree, click ",[17,584,585],{},"…"," next to the ",[17,588,285],{}," heading and choose ",[17,591,592],{},"Show in tree",". The tree opens with this case as the root. Click ",[17,595,344],{}," there to bring the words back in.",[14,598,599],{},[108,600],{"alt":601,"src":602},"The menu next to Clues with Show in tree","\u002Fimages\u002Fhelp\u002Fdetective-case-relations-tree\u002Fshow-in-tree.jpg",[113,604,606],{"id":605},"check-the-case","Check the case",[14,608,609],{},"Open the tree with both types and the case as root, and look for:",[611,612,613,616,619],"ul",{},[124,614,615],{},"a clue with no words under it: the player finds it, but learns nothing;",[124,617,618],{},"a word with no clue: the player could never find it;",[124,620,621],{},"a word under the wrong clue: unlink it in the panel on the right, then add it under the right one.",[14,623,624,625,628],{},"The count at the top right, like ",[17,626,627],{},"9 of 9 documents",", tells you whether anything is folded away.",[113,630,632],{"id":631},"variations","Variations",[611,634,635,647,664,685],{},[124,636,637,640,641,234,643,646],{},[17,638,639],{},"Several cases:"," set ",[17,642,361],{},[17,644,645],{},"All",". Every case without a parent becomes its own tree, side by side.",[124,648,649,652,653,656,657,660,661,663],{},[17,650,651],{},"Suspects and people:"," add a ",[22,654,655],{},"Character"," template and a ",[22,658,659],{},"Case \u002F Suspect"," type with the ",[17,662,77],{}," shape, then add it to the tree next to the clues.",[124,665,666,669,670,41,673,676,677,680,681,684],{},[17,667,668],{},"Links that aren't a hierarchy:"," for ",[22,671,672],{},"Ally",[22,674,675],{},"Rival"," between suspects, make a ",[17,678,679],{},"Mutual"," type. In the tree, choose it in ",[17,682,683],{},"Side links"," to draw it between the cards too.",[124,686,687,690,691,694,695,134],{},[17,688,689],{},"Fields on a word:"," a ",[17,692,693],{},"Document list"," field can hold the words a deduction needs. See ",[189,696,192],{"href":191},[113,698,700],{"id":699},"in-your-game","In your game",[14,702,703,704,707,708,66,711,714,715,718,719,722,723,134],{},"Relations go to ",[55,705,706],{},"relations.json"," at the top of your Game Sync folder. Each type is there with its export key (",[55,709,710],{},"case_clue",[55,712,713],{},"clue_word","), and each relation with ",[55,716,717],{},"from"," (the case or clue) and ",[55,720,721],{},"to"," (the clue or word), so your game can rebuild the same tree. See ",[189,724,726],{"href":725},"\u002Fdocumentation\u002Fdialogue-schema-api\u002Frelations-v1","Relations v1",{"title":53,"searchDepth":728,"depth":728,"links":729},3,[730,732,733,734,735,736,737,738],{"id":115,"depth":731,"text":116},2,{"id":196,"depth":731,"text":197},{"id":304,"depth":731,"text":305},{"id":479,"depth":731,"text":480},{"id":562,"depth":731,"text":563},{"id":605,"depth":731,"text":606},{"id":631,"depth":731,"text":632},{"id":699,"depth":731,"text":700},"worldbuilder","Lay out a deduction mystery as a tree: a case, the clues the player finds, and the words each clue reveals. Build it in the Relations tree or from document pages.","md",[743,744,745,746,747,748,749,750,751,752,753,754,755],"mystery","deduction","detective","investigation","clue","evidence","hierarchy","parent child","tree view","relation type","murder","visual novel","puzzle",{},true,5,"\u002Fhelp\u002Fdetective-case-relations-tree",{"title":5,"description":740},"help\u002Fdetective-case-relations-tree","tgKHnDYVDFagRu01VWEKuizGcB5Y9i1ljgwx5-2KLLM",{"articles":764,"sections":962},[765,781,798,812,834,848,875,889,906,918,935,960],{"path":766,"title":767,"description":768,"category":739,"order":769,"keywords":770},"\u002Fhelp\u002Fadd-template-from-catalogue","Add a template from the catalogue","Give your documents ready-made fields and layouts: preview a premade template or a starter pack, see which fields it reuses, add it and make it yours.",1,[771,772,773,774,775,776,777,778,779,780],"premade","starter pack","stat block","monster","npc","character sheet","dnd","campaign","document list","members",{"path":782,"title":783,"description":784,"category":739,"order":769,"keywords":785},"\u002Fhelp\u002Fsearch-your-world","Find a word, line or item ID anywhere in your world","Search document names, Content, fields and tags, and dialogue names, lines and player options at once, with Search world or ⌘K in LoreHub.",[786,787,788,789,790,791,792,793,794,795,796,797],"search","find","look up","ctrl k","cmd k","quick search","where is","id","item id","full text","find in dialogue","find line",{"path":191,"title":192,"description":799,"category":739,"order":769,"keywords":800},"Pick a race, class or faction from your own documents with a Document list field, so every character points to the same Elf page.",[801,802,803,804,805,806,807,808,809,810,811],"race","class","faction","link documents","reference","relation","dropdown","select document","species","tag","field type",{"path":813,"title":814,"description":815,"category":816,"order":769,"keywords":817},"\u002Fhelp\u002Fgold-coins","Give or take gold coins","Track the main character's gold with a number variable: add coins when they earn them, take coins when they pay, and offer an option only when they can afford it.","variables",[818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833],"gold","coins","money","currency","inventory","counter","add","remove","subtract","increase","decrease","number variable","buy","sell","pay","price",{"path":835,"title":836,"description":837,"category":838,"order":769,"keywords":839},"\u002Fhelp\u002Foption-only-once","Make an option the player can pick only once","Hide a dialogue option after the player picks it, with Ask once in the LoreHub Dialogue Builder. Step by step, with a list of questions as the example.","dialogue-builder",[840,841,842,843,844,845,846,847],"play once","one time","only once","ask once","hide option","already asked","repeat question","disappear",{"path":849,"title":850,"description":851,"category":852,"order":769,"keywords":853},"\u002Fhelp\u002Fcamera-and-emotion","Set the camera and the emotion for every line","Give writers a fixed list of camera positions and emotions to pick from on each dialogue node, with text list fields in the meta schema.","export",[854,855,856,857,858,859,860,861,862,863,807,864,865,866,867,868,869,870,871,872,873,874],"camera","camera angle","shot","emotion","mood","facial expression","animation","cutscene","3d","cinematic","allowed values","predefined","enum","meta data","meta schema","true\u002Ffalse","boolean","yes or no","flag","checkbox","skip",{"path":876,"title":877,"description":878,"category":838,"order":731,"keywords":879},"\u002Fhelp\u002Fquestion-hub","Bring the player back to a list of questions","Let the player ask questions in any order and return to the same list after each answer, with Return to options in the LoreHub Dialogue Builder.",[880,881,882,883,884,885,886,887,888],"hub","question hub","back to questions","return","loop","go back","ask again","menu","list of questions",{"path":890,"title":891,"description":892,"category":852,"order":731,"keywords":893},"\u002Fhelp\u002Fcharacters-in-your-game","Send a character's fields to your game","Choose which document fields your game gets with Include in the game export, and see what the JSON export and Game Sync carry for each document.",[894,895,896,897,898,899,900,901,902,903,904,905,706],"document fields","character data","export key","game sync","github","json export","template","portrait","stats","npc data","hide from export","secret notes",{"path":907,"title":908,"description":909,"category":852,"order":728,"keywords":910},"\u002Fhelp\u002Fgame-sync-documents","Choose which documents Game Sync sends to your game","Use Document export in Game Sync to send mentioned documents, and documents related to them by the relation types you pick, with each dialogue.",[897,898,911,912,803,913,914,915,916,917],"related documents","relations","member of","mentioned documents","speakers","document export","lore in game",{"path":919,"title":920,"description":921,"category":739,"order":728,"keywords":922},"\u002Fhelp\u002Fcharacter-portrait","Give a character a portrait","Pick or upload a picture in an Image field, keep it with the document, and frame it so the face sits in the middle of every shape.",[923,924,925,901,926,927,928,929,930,931,932,933,934],"image","picture","avatar","photo","upload","drag and drop","crop","framing","zoom","gallery","folder","art",{"path":936,"title":937,"description":938,"category":739,"order":528,"keywords":939},"\u002Fhelp\u002Forganise-your-images","Organise your images","Upload art into folders, move images, see where each one is used, and get back an image you deleted within 30 days.",[932,923,924,934,933,927,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959],"move","select","viewer","full size","trash","bin","restore","undo","deleted","history","used","unused","where used","clean up","new folder","rename","storage","space","quota","limit",{"path":759,"title":5,"description":740,"category":739,"order":758,"keywords":961},[743,744,745,746,747,748,749,750,751,752,753,754,755],[963,965,969,974,979,984,989,994,999,1004,1008,1012,1014,1018,1023,1028,1033,1038,1042,1046,1048,1052,1057,1062,1067,1072,1077,1081,1083,1087,1092,1097,1102,1107,1112,1116,1120,1122,1126,1130,1134,1138,1142,1146,1150,1154,1158,1160,1164,1169,1174,1179,1184,1189,1193,1197,1199,1203,1208,1213,1218,1222,1227,1231,1235,1237,1241,1246,1251,1256,1260,1264,1268,1270,1274,1279,1284,1289,1294,1298,1303,1307,1311,1313,1317,1322,1327,1332,1337,1342,1347,1352,1356,1358,1362,1367,1372,1377,1381,1385,1387,1391,1396,1401,1406,1411,1416,1420],{"id":766,"title":767,"titles":964,"content":768,"level":769},[],{"id":966,"title":767,"titles":967,"content":968,"level":769},"\u002Fhelp\u002Fadd-template-from-catalogue#add-a-template-from-the-catalogue",[],"The case: you're preparing a tabletop campaign in a world called Saltwind. You want a page for every monster with its armor class, hit points and ability scores in the same place, without building the fields yourself. Your world already has a Hit points number field and a Size text field from earlier notes. The short answer: open Templates and fields, go to the Catalogue tab, pick the Monster template and click Add template. The catalogue reuses your Hit points field and adds a new Monster size field next to your Size.",{"id":970,"title":971,"titles":972,"content":973,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#_1-open-the-catalogue","1. Open the catalogue",[767],"There are three ways in: On any document, click the template chip at the top left (it says Document on a document without a template) and choose Browse catalogue. In Templates and fields, click the Catalogue tab. In Templates and fields, click New template and choose From the catalogue. A world with no templates yet also offers the three starter packs and Browse catalogue right on the Templates tab.",{"id":975,"title":976,"titles":977,"content":978,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#_2-find-a-template","2. Find a template",[767],"On the left, pick a genre: Tabletop RPG, Fiction or Video game, or stay on All templates. To find something specific, type in Search templates and fields, for example armor or quest. It searches template names and field names. In this world shows the catalogue templates you've already added. Click a template's card to open its preview.",{"id":980,"title":981,"titles":982,"content":983,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#_3-check-what-it-adds-to-your-world","3. Check what it adds to your world",[767],"The preview shows a sample page filled with example values, laid out the way your documents will be. The sample values are only there for the preview. The panel on the right lists every field the template has, with a badge: Yours: your world already has a field with the same name and type, so the template uses it. Its values and export key stay as they are. New: the field is created when you add the template. Renamed: your world uses that name for a different type of field, so the template adds its own field under a new name. Here your Size is text and the catalogue's is a choice, so it's added as Monster size. You can type another name in the box.",{"id":985,"title":986,"titles":987,"content":988,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#_4-add-it","4. Add it",[767],"Change the Template name if you like, for example Beast. Tick Also add the sample as a document if you want the filled example in your world too. It's a normal document you can edit or delete. Click Add template. LoreHub switches to the Templates tab with the new template selected. A note above it says which catalogue template and version it came from, and a message at the bottom says how many fields were added and reused. Changed your mind? Click Undo in that message. It removes the template and the fields it created, as long as no document has a value in them yet. Your own fields stay.",{"id":990,"title":991,"titles":992,"content":993,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#_5-add-a-whole-starter-pack","5. Add a whole starter pack",[767],"A pack adds four or five templates at once: Campaign starter (NPC, Monster, Location, Faction, Quest), Novel starter (Character, Place, Organisation, Object) or RPG game data (Character, Enemy, Weapon, Item, Ability). Fields the templates share, like Portrait or Home, are created only once. Click Add pack on the pack's card. Click the template names above the sample to see each one's sample page. Tick Also add the samples as documents for one filled document per template, then click Add pack.",{"id":995,"title":996,"titles":997,"content":998,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#_6-fill-in-a-list-of-documents","6. Fill in a list of documents",[767],"Some catalogue fields hold several documents: a faction's Members, a location's Notable NPCs, a deity's Followers. They're Document list fields. When the template they list (here NPC) comes in the same pack, or your world already has it from the catalogue, the list picks from that template's documents. Open a faction document, for example The Ash Circle. Click Members and pick the NPCs. Only documents that follow the NPC template are offered. Click the cross on a name to take it out of the list. If the template a list should pick from isn't in your world, the field starts as a Hand-picked list. To change where it picks from, open Templates and fields, then Fields, click the field and change Documents from to By template, By tag or Hand-picked.",{"id":1000,"title":1001,"titles":1002,"content":1003,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#make-it-yours","Make it yours",[767],"The template is a copy: rename it, change its icon, switch between the article and compact layouts, move fields between groups or take them off the page, the same as a template you built yourself. Nothing in the catalogue changes your documents later on. People who can only view the world can browse and preview the catalogue, but they don't see Add template.",{"id":1005,"title":632,"titles":1006,"content":1007,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#variations",[767],"Build a template from scratch: New template → Blank template, then drag fields onto the page. Add the same template twice: it gets the next free name, like Monster 2, and reuses the fields the first one created.",{"id":1009,"title":700,"titles":1010,"content":1011,"level":731},"\u002Fhelp\u002Fadd-template-from-catalogue#in-your-game",[767],"Each field keeps a fixed export key, and catalogue fields reuse yours rather than duplicating them. Document field values aren't part of the dialogue export yet.",{"id":849,"title":850,"titles":1013,"content":851,"level":769},[],{"id":1015,"title":850,"titles":1016,"content":1017,"level":769},"\u002Fhelp\u002Fcamera-and-emotion#set-the-camera-and-the-emotion-for-every-line",[],"The case: you're making a 3D game, and every line of dialogue plays as a small cutscene. For each line your game\nneeds to know where the camera goes and how the speaking character feels. Writers choose both while they write, but\nthe game only has three camera setups and five face animations, so a writer should only be able to pick one of those. Captain Mara: So you're the stowaway.        camera: wide           emotion: neutral\nFinn:         I can explain!                 camera: close_up       emotion: surprised\nCaptain Mara: You have until we reach port.  camera: over_shoulder  emotion: angry The short answer: add two text list fields to the game's meta schema, camera_position and emotion, and\ntype the values your game supports as their options. Writers then pick a value for each line from a dropdown in the\nnode's Meta data card, and nothing else can be entered.",{"id":1019,"title":1020,"titles":1021,"content":1022,"level":731},"\u002Fhelp\u002Fcamera-and-emotion#_1-add-the-camera_position-field","1. Add the camera_position field",[850],"You set this up once per game, and every dialogue in the game can use it. Open the game and click the pencil next to Meta schema in the explorer on the left. Click New field and name it camera_position. Names use small Latin letters and underscores. Set Type to text list. Under Options, type the camera setups your game has, one per line: wide, over_shoulder, close_up. Add a Comment like Camera setup the game cuts to when the line starts, so writers know what it does.\nClick Add field. The options are written exactly as your game expects them. A writer can't type closeup or Close Up by mistake,\nbecause they never type a value at all.",{"id":1024,"title":1025,"titles":1026,"content":1027,"level":731},"\u002Fhelp\u002Fcamera-and-emotion#_2-add-the-emotion-field","2. Add the emotion field",[850],"Click New field again and name it emotion. Set Type to text list. Under Options, type one emotion per line: neutral, happy, sad, angry, surprised. Add a comment like Face animation the speaking character plays, and click Add field.",{"id":1029,"title":1030,"titles":1031,"content":1032,"level":731},"\u002Fhelp\u002Fcamera-and-emotion#_3-pick-the-camera-and-the-emotion-on-each-line","3. Pick the camera and the emotion on each line",[850],"Open the dialogue and select a node, here Finn's \"I can explain!\" In the Meta data card, open the camera_position dropdown and pick close_up. Open the emotion dropdown and pick surprised. The value is saved as soon as you pick it. Pick the empty choice (—) to clear it. Hover over a field to see its\ncomment and its options.",{"id":1034,"title":1035,"titles":1036,"content":1037,"level":731},"\u002Fhelp\u002Fcamera-and-emotion#_4-test-it","4. Test it",[850],"Click Show player and turn on Show meta data at the top of the player. Play the dialogue. Under every line the player shows its Meta data: the camera and the emotion your game will\nuse for it. Look for lines without a camera or an emotion and fill them in.",{"id":1039,"title":632,"titles":1040,"content":1041,"level":731},"\u002Fhelp\u002Fcamera-and-emotion#variations",[850],"One camera for a whole scene. Draw a Meta Area around the nodes of a scene and set camera_position to\nwide in its Meta data. Every node inside gets the value, and the node shows which area it comes from. Numbers instead of names. If your game reads a camera angle or an animation index, pick integer list and use\noptions like 0, 45, 90 and 180. Every node then holds one of those numbers. Yes or no for a line. Some things are only on or off, such as whether the player can skip a line. Click\nNew field, name it skippable, set Type to true\u002Ffalse, and click Add field. It has no options: on each\nnode you pick true or false in Meta data, or the empty choice (—) to leave it unset. Change the options later. Open the field again to add an option, reorder them or fix a typo. LoreHub won't let you\nremove an option that a node or a Meta Area still uses, and tells you which one. More per-line data. The same works for anything your game needs per line: a voice-over take, a music cue, a\ncharacter's pose. Add a text list or integer list for each.",{"id":1043,"title":700,"titles":1044,"content":1045,"level":731},"\u002Fhelp\u002Fcamera-and-emotion#in-your-game",[850],"Each node exports its values in metaData, as the field's id and the chosen option, and the export lists every field\nwith its type textList and its options, so your game can check the values or build its own lookup from them. A true\u002Ffalse field exports with the type boolean and the value \"true\" or \"false\". See\nMeta Schema v1 and\nMetaData. In Godot, the\nLoreHub Dialogue Player gives you the values by name on every\nline, for example line.meta[\"camera_position\"].",{"id":919,"title":920,"titles":1047,"content":921,"level":769},[],{"id":1049,"title":920,"titles":1050,"content":1051,"level":769},"\u002Fhelp\u002Fcharacter-portrait#give-a-character-a-portrait",[],"The case: your world has a harbour pilot called Mira Vell, and her artist just sent you a portrait. You want it as the round picture above her name, filling the frame with her face in the middle, and you want it in the same gallery folder as your other characters, so you can find it later. The short answer: add an Image field to the template as an Avatar above the title. On Mira's page, click the field, choose Upload new picture (or drop the file on it), pick the folder and click Upload and use. Then hover the picture and choose Adjust framing to move and zoom it.",{"id":1053,"title":1054,"titles":1055,"content":1056,"level":731},"\u002Fhelp\u002Fcharacter-portrait#_1-put-an-image-field-on-the-template","1. Put an Image field on the template",[920],"You do this once, and every character gets the field. On any document, click the template menu at the top left and choose Manage templates. Open the Fields tab, click New field, type Portrait for Label and pick Image for Type. Click Save. On the Templates tab, open your Character template and add Portrait to the page. Pick how it shows: Avatar above the title (a rounded square above the name), Picture card (a large picture in a card) or Wide picture (in a row with the other fields). Click Save.",{"id":1058,"title":1059,"titles":1060,"content":1061,"level":731},"\u002Fhelp\u002Fcharacter-portrait#_2-pick-a-picture","2. Pick a picture",[920],"Open Mira's page and click Pick a picture in the field. The picker opens with the pictures already on Mira's page first, under Connected to Mira Vell, then the ones you uploaded lately and the rest of the world. Type to search. LoreHub looks in picture names and folder names, so heroes finds every picture in the Heroes folder. Results come in three groups: Connected to Mira Vell, Same folders (the folders Mira's pictures are in) and Rest of the world. Each row shows its folder, and a connected badge if it's on Mira's page already. Click a picture, or move with the arrow keys and press Enter. Esc closes the picker.",{"id":1063,"title":1064,"titles":1065,"content":1066,"level":731},"\u002Fhelp\u002Fcharacter-portrait#_3-or-upload-a-new-one","3. Or upload a new one",[920],"In the picker, click Upload new picture at the bottom and choose the file. You can also drop the file straight on the field. Check the Name: it starts as the file name. Check the Folder. LoreHub suggests the folder that holds most of Mira's pictures, else the one you used last. To make a new one, pick New folder…, type its name and click Create. Click Upload and use. A bar shows the upload's progress, and the picture fills the field when it's done. If the upload fails, the reason shows in place, with Try again. Pictures can be PNG, JPG, GIF, WebP, AVIF or BMP, up to 28 MB. Any other file is refused before it uploads, with a message that names the file. Uploading needs a role that can work with images: Owner, Writer, Storyboarder or Artist.",{"id":1068,"title":1069,"titles":1070,"content":1071,"level":731},"\u002Fhelp\u002Fcharacter-portrait#_4-the-picture-stays-with-mira","4. The picture stays with Mira",[920],"A picture you put in an Image field also goes into Mira's Images block, so it's on her page even after you change the field. A message at the bottom says so, for example Connected “Mira in armour” to Mira Vell, with Undo if you picked the wrong one. In the Images block, a small label shows which field uses each picture. When you clear the field or swap the picture, LoreHub asks about the old one, for example Also remove “Mira sketch” from Mira Vell’s images? Keep it (the default) leaves the picture on Mira's page. Remove takes it off her page. The picture stays in the gallery. Tick Don’t ask again before Keep it to always keep pictures without asking. LoreHub doesn't ask when another field on the page still shows that picture, or when it wasn't on Mira's page before.",{"id":1073,"title":1074,"titles":1075,"content":1076,"level":731},"\u002Fhelp\u002Fcharacter-portrait#_5-frame-the-picture","5. Frame the picture",[920],"Hover the picture to see its tools: Adjust framing, Change picture and Clear. Clicking the picture itself still opens it large. Click Adjust framing. Drag the picture to move it until Mira's face is where you want it. Zoom from 100% to 400% with the Zoom slider or the mouse wheel. Choose Fill frame to crop the picture to the shape, or Show whole to fit all of it on a soft background. Reset to centre starts over. The previews on the right show the picture in all three shapes: Small, Large and Beside the title. Click Save. The framing belongs to the field on this page. The same picture in another field or on another page keeps its own framing.",{"id":1078,"title":632,"titles":1079,"content":1080,"level":731},"\u002Fhelp\u002Fcharacter-portrait#variations",[920],"Several pictures for one character. Add more Image fields, like Banner or Sigil. Each one has its own picture and framing, and the Images block labels each picture with its field. Pick from a list of documents instead. For a character's race or faction, use a Document list field: Give a character a race from your lore. Start from a ready template. The NPC and Character templates in the catalogue already have a Portrait field: Add a template from the catalogue.",{"id":890,"title":891,"titles":1082,"content":892,"level":769},[],{"id":1084,"title":891,"titles":1085,"content":1086,"level":769},"\u002Fhelp\u002Fcharacters-in-your-game#send-a-characters-fields-to-your-game",[],"The case: Captain Mara speaks in the Stowaway dialogue. Next to her lines, your game shows her rank and her age,\ntaken from her page in LoreHub, so when a writer promotes her to Admiral the game follows. Her page also has\nWriter's notes with a plot twist that must never ship in the game files. The short answer: keep Include in the game export on for the fields your game needs and turn it off for the\nrest. Export JSON and Game Sync then carry her template and those values in the dialogues she speaks in.",{"id":1088,"title":1089,"titles":1090,"content":1091,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#_1-choose-which-fields-go-to-the-game","1. Choose which fields go to the game",[891],"On any document, click the template menu at the top left (here it says Character) and choose Manage templates. Open the Fields tab and click Rank. Check that Include in the game export is on, and click Save. The line under the label shows the field's Export key, here rank. That's the name your game reads. It never\nchanges, even when you rename the field. New fields start with Include in the game export on, except Rich text fields, which start with it off. The\nbuilt-in Content field is always exported.",{"id":1093,"title":1094,"titles":1095,"content":1096,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#_2-keep-a-field-out-of-the-game","2. Keep a field out of the game",[891],"In the Fields tab, click Writer's notes. Uncheck Include in the game export and click Save. The list now says not exported next to the field. Its values stay on every page in LoreHub, but no export or sync\nwrites them.",{"id":1098,"title":1099,"titles":1100,"content":1101,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#_3-use-the-character-in-a-dialogue","3. Use the character in a dialogue",[891],"Export JSON carries every document in your world. Game Sync keeps each dialogue's file smaller: it only carries\nthe documents the dialogue uses: the Speaker of any of its nodes, documents mentioned inside a line, and documents added to a node under Connected documents, like the place a scene happens in. You can change this per game: turn off mentioned documents, or also send documents related to these, like Mara's\nfaction. See Choose which documents Game Sync sends to your game. Make Mara the speaker of her lines in Stowaway. The Mentions list in the dialogue builder's side panel shows the\ndocuments the selected dialogue uses: those are the ones its Game Sync file carries. Each node in the export also lists its connected documents by id, so your game knows which node they belong to.",{"id":1103,"title":1104,"titles":1105,"content":1106,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#test-it","Test it",[891],"Open the Stowaway dialogue, switch to Export and click Export JSON. Find Mara in the file. She has her template and the two exported fields, and no writers_notes: {\n  \"type\": \"@lorehub\u002Fdocument\",\n  \"apiVersion\": \"1.1.0\",\n  \"id\": \"…\",\n  \"name\": \"Captain Mara\",\n  \"templateId\": \"…\",\n  \"template\": \"Character\",\n  \"fields\": [\n    { \"key\": \"age\", \"fieldType\": \"number\", \"value\": \"42\" },\n    { \"key\": \"content\", \"fieldType\": \"richText\", \"value\": \"\u003Cp>Captain of the \u003Cem>Grey Gull\u003C\u002Fem>. …\u003C\u002Fp>\" },\n    { \"key\": \"rank\", \"fieldType\": \"text\", \"value\": \"Captain\" }\n  ]\n} With Game Sync, the same document is in the dialogue's .json file in your repository. Change Mara's rank and the next\nsync updates the file of every dialogue she's in, in the same pull request. A sync runs when someone presses\nSync now, or every hour or every day if the game's sync is set to.",{"id":1108,"title":1109,"titles":1110,"content":1111,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#what-the-export-carries","What the export carries",[891],"Which documents. Export JSON has every document in the world. A Game Sync file has only the documents its\ndialogue uses: speakers, documents mentioned in a line and documents connected to its nodes. To get a place or a\nfaction into a synced file, connect it to a node, mention it in a line, or pick its relation type under\nDocument export (see Choose which documents Game Sync sends to your game). For each document: its name, its template, its parent, and every field that has a value and has\nInclude in the game export on, by export key. Empty fields are left out. Links stay links. A parent, a Document link or a Document list gives the other document's id. That\ndocument's own fields are in a Game Sync file only when that file's dialogue uses it too. Images give the picture's id in your gallery and its framing, not the picture itself. Relations between documents, like parent or rival, are in relations.json at the top of the Game Sync\nfolder, with the same document ids.",{"id":1113,"title":632,"titles":1114,"content":1115,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#variations",[891],"Give a character a portrait. An Image field is exported like any other field. See\nGive a character a portrait. A race or a class from your lore. A Document list field exports the ids of the documents picked. See\nGive a character a race from your lore. Data per line, not per character. For a camera position or an emotion on each line, use the meta schema instead.\nSee Set the camera and the emotion for every line.",{"id":1117,"title":700,"titles":1118,"content":1119,"level":731},"\u002Fhelp\u002Fcharacters-in-your-game#in-your-game",[891],"Each document is a @lorehub\u002Fdocument resource, version 1.1.0, among the dialogue's resources. A node's\nconnected documents are in its connectedDocumentIds, see Dialogue Node v2.1. Read its fields by\nkey. Values are strings, and lists are arrays. See Document v1.1\nfor every field type, Export Schema v2 for the file, and\nRelations v1 for relations.json. html pre.shiki code .sptrb, html code.shiki .sptrb{--shiki-default:#F6F6F4}html pre.shiki code .swKhn, html code.shiki .swKhn{--shiki-default:#97E2F2}html pre.shiki code .si9D1, html code.shiki .si9D1{--shiki-default:#97E1F1}html pre.shiki code .suBnA, html code.shiki .suBnA{--shiki-default:#F286C4}html pre.shiki code .sWivA, html code.shiki .sWivA{--shiki-default:#DEE492}html pre.shiki code .sBh-q, html code.shiki .sBh-q{--shiki-default:#E7EE98}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"id":759,"title":5,"titles":1121,"content":740,"level":769},[],{"id":1123,"title":5,"titles":1124,"content":1125,"level":769},"\u002Fhelp\u002Fdetective-case-relations-tree#build-a-detective-case-with-cases-clues-and-words",[],"The case: you're writing a deduction game. In each case the player searches a scene, finds clues, and reads words off them that they later slot into their own account of what happened. Your first case is The Drowned Keeper: a lighthouse keeper found drowned at dawn. The player finds a Stopped pocket watch, a Torn letter and an Empty oil can, and each one gives up a word or two, like midnight or Harbourmaster Crane. You want to see the whole case at a glance and check that every clue gives the player something to work with. The Drowned Keeper (case)\n├── Stopped pocket watch   → high tide, midnight\n├── Torn letter            → Harbourmaster Crane, unpaid debt\n└── Empty oil can          → sabotage, Harbourmaster Crane The short answer: make three templates, Case, Clue and Word, and two relation types with the Hierarchy shape: Case \u002F Clue and Clue \u002F Word. Then build the case in the Tree tab of Relations with the + under each card, or from each document's Relations block with Add relation. Both write the same relations, so you can switch between them at any time.",{"id":1127,"title":116,"titles":1128,"content":1129,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#_1-make-the-templates",[5],"Templates give each kind of document its own icon and fields, and they let the relation types below accept only the right kind of document. Open any document, click the template menu at the top left (it says Document) and choose Manage templates. On the Templates tab, click New template and choose Blank template. Type Case and click Create. Click the icon next to the template's name and pick one, for example the skull. Click Save. Do the same for Clue (a key) and Word (a feather). Add fields to them now or later, for example a Location on clues or a Solution on cases. See Give a character a race from your lore for how fields and templates work together.",{"id":1131,"title":197,"titles":1132,"content":1133,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#_2-make-the-two-relation-types",[5],"Open Relations from the menu at the top, next to your world's name, and click Relation types at the top right. Click New type. For Side A, type Case. For Side B, type Clue. Set Shape to Hierarchy. That's what puts cases above clues in the tree. Under Between, open the first list and tick Case, then open the second and tick Clue. Pick a colour on the left and click Create. Click New type again and make Clue \u002F Word the same way: Hierarchy, Clue on the first side, Word on the second. Reads as under the table spells out the selected type. The side names also become the group headings on document pages: a case lists its Clues, a clue its Words and Cases, a word its Clues. The Between lists do two jobs: LoreHub only offers documents with the right template when you link, and a document you create from a relation gets that template on its own.",{"id":1135,"title":305,"titles":1136,"content":1137,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#_3-build-the-case-in-the-tree-view",[5],"This is the quickest way to lay out a whole case. Make the case document if you don't have one: Documents → New Document, name it The Drowned Keeper, pick Case in Template and click Save. In Relations, open the Tree tab. Click Add type and pick Case — Clue, then Add type again for Clue — Word. Both are drawn in the same tree, each in its own colour. Click Root and pick The Drowned Keeper. The tree starts from the case. Click the + under the case's card. Add child to The Drowned Keeper opens. Type Stopped pocket watch and choose Create \"Stopped pocket watch\"…. To link a document you already have, pick it from the list instead. New Document opens with Clue already chosen in Template, because it's the only template the type allows under a case. Click Save. The clue appears under the case, on a line labelled Clue. Add the Torn letter the same way. Click the Stopped pocket watch card, then the + under it. Now the child is a word: create midnight and high tide. Do the same for the letter. When a card is selected, the panel on the right shows Children of that document, grouped by relation type. Use the + next to a group to add another child, the unlink icon to take one out (both documents stay), and Rename to fix a name. Open takes you to the document's page, and Focus here makes it the root. To keep a big case readable, click Collapse under a card to fold its branch; the pill then shows how many documents are hidden. Relations in this tree at the bottom right says which colour is which type. The address in your browser keeps the types, root and selection, so you can bookmark a case or send the link to a co-writer.",{"id":1139,"title":480,"titles":1140,"content":1141,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#_4-or-build-it-from-the-document-pages",[5],"When you're writing a clue's description and think of a new word, add it right there. Open the clue, for example Empty oil can. Its Relations block is in the side column. Click Add relation. The sentence starts with Empty oil can is. Type Clue and pick the Clue with Clue — Word under it. (The other Clue, from Case — Clue, is the one a clue plays for its case.) Type the word. Pick an existing word from the list, or choose Create \"…\" as a new document: it's created as a Word straight away. Click Add. The box stays open with Clue kept, so you can add the next word right away. A word can belong to more than one clue. Here both the letter and the oil can point to Harbourmaster Crane; in the tree that word sits under one clue, with a dashed line to the other.",{"id":1143,"title":563,"titles":1144,"content":1145,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#_5-read-the-case-from-its-page",[5],"Open The Drowned Keeper. Its Relations block lists the Clues, with the number of other relations each one has. Click the arrow before a clue to see its words without leaving the page, and click any name to open it. To get back to the tree, click … next to the Clues heading and choose Show in tree. The tree opens with this case as the root. Click Add type there to bring the words back in.",{"id":1147,"title":606,"titles":1148,"content":1149,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#check-the-case",[5],"Open the tree with both types and the case as root, and look for: a clue with no words under it: the player finds it, but learns nothing; a word with no clue: the player could never find it; a word under the wrong clue: unlink it in the panel on the right, then add it under the right one. The count at the top right, like 9 of 9 documents, tells you whether anything is folded away.",{"id":1151,"title":632,"titles":1152,"content":1153,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#variations",[5],"Several cases: set Root to All. Every case without a parent becomes its own tree, side by side. Suspects and people: add a Character template and a Case \u002F Suspect type with the Hierarchy shape, then add it to the tree next to the clues. Links that aren't a hierarchy: for Ally or Rival between suspects, make a Mutual type. In the tree, choose it in Side links to draw it between the cards too. Fields on a word: a Document list field can hold the words a deduction needs. See Give a character a race from your lore.",{"id":1155,"title":700,"titles":1156,"content":1157,"level":731},"\u002Fhelp\u002Fdetective-case-relations-tree#in-your-game",[5],"Relations go to relations.json at the top of your Game Sync folder. Each type is there with its export key (case_clue, clue_word), and each relation with from (the case or clue) and to (the clue or word), so your game can rebuild the same tree. See Relations v1.",{"id":191,"title":192,"titles":1159,"content":799,"level":769},[],{"id":1161,"title":192,"titles":1162,"content":1163,"level":769},"\u002Fhelp\u002Fdocument-list-field#give-a-character-a-race-from-your-lore",[],"The case: your world has races, and each race has its own document: Elf, Human, Dwarf. Legolas is an elf. You want his page to say so with a link to the Elf document, picked from a short list, so nobody types Elves or elf by hand. The short answer: tag every race document Race, then add a field of type Document list that takes its documents By tag = Race. Set it to Elf on Legolas's page.",{"id":1165,"title":1166,"titles":1167,"content":1168,"level":731},"\u002Fhelp\u002Fdocument-list-field#_1-make-the-race-documents-and-tag-them","1. Make the race documents and tag them",[192],"Open Documents and click New Document. Name it Elf and save. Under the title, click + Tag. In Create new tag, type Race, pick a colour and click Create. In Add or remove tags for \"Elf\", click Race so it's checked, then click Close. Do the same for Human and Dwarf: they already have the Race tag to pick.",{"id":1170,"title":1171,"titles":1172,"content":1173,"level":731},"\u002Fhelp\u002Fdocument-list-field#_2-add-a-race-field","2. Add a Race field",[192],"On any document, click the template menu at the top left (it says Document) and choose Manage templates. Open the Fields tab and click New field. For Label, type Race. For Type, pick Document list. Under Documents from, keep By tag and pick Race in Tag. The line below lists the documents it can hold today: Dwarf, Elf, Human. Leave Allow several off: a character has one race. Click Save.",{"id":1175,"title":1176,"titles":1177,"content":1178,"level":731},"\u002Fhelp\u002Fdocument-list-field#_3-put-the-field-on-a-character-template","3. Put the field on a character template",[192],"A field shows on a document through its template. If you don't have a character template yet: In Templates and fields, open the Templates tab and click New template (or Blank template). Name it Character and click Create. In the side column, click + on a group and pick Race. You can also drag it there from Fields that are not on the page. Click Save, then close the window.",{"id":1180,"title":1181,"titles":1182,"content":1183,"level":731},"\u002Fhelp\u002Fdocument-list-field#_4-make-legolas-an-elf","4. Make Legolas an elf",[192],"Create a document Legolas. Click the template menu at the top left and pick Character. The Race field appears in the side column. Click No document next to Race and pick Elf. The list only offers documents with the Race tag. Tag a new document Race (Orc, say) and it shows up in the list right away.",{"id":1185,"title":1186,"titles":1187,"content":1188,"level":731},"\u002Fhelp\u002Fdocument-list-field#when-a-document-leaves-the-list","When a document leaves the list",[192],"If Elf loses its Race tag later, Legolas keeps Elf. LoreHub doesn't change values behind your back: it marks the value with an amber warning that says why, and it stays until you remove it or tag Elf again. The same happens when a document changes template, is taken off a hand-picked list, or the field's tag or template is deleted. When a document is deleted, it's removed from every value that held it.",{"id":1190,"title":632,"titles":1191,"content":1192,"level":731},"\u002Fhelp\u002Fdocument-list-field#variations",[192],"Several values: classes. A character can be a Ranger and an Archer. Make a Class field with Allow several turned on. In the picker, check every class that applies. Hand-picked. Choose Hand-picked under Documents from and add the documents one by one with Add a document. Drag them to set the order the picker shows. Good for short, fixed lists like classes. By template. Choose By template to offer every document that uses a template, for example a Faction field that lists every document using a Faction template. Picking the built-in Document template means documents with no template. One link, no list. For a single link to any document in the world, use a Document link field instead.",{"id":1194,"title":700,"titles":1195,"content":1196,"level":731},"\u002Fhelp\u002Fdocument-list-field#in-your-game",[192],"Include in the game export is on by default for a Document list field, the same as for other fields. Turn it off for fields that only matter to your writers. Document field values aren't in the JSON export yet; this setting decides whether the field goes into it once they are.",{"id":907,"title":908,"titles":1198,"content":909,"level":769},[],{"id":1200,"title":908,"titles":1201,"content":1202,"level":769},"\u002Fhelp\u002Fgame-sync-documents#choose-which-documents-game-sync-sends-to-your-game",[],"The case: Captain Mara speaks in the Stowaway dialogue. She is a member of the Harbour Watch, and your game\nshows the faction's crest next to her lines. The Harbour Watch is never mentioned in Stowaway, so its synced file\ndoesn't carry it yet. The short answer: in the game's Game Sync settings, under Document export, pick Member of in\nExport related documents. The next sync sends the Harbour Watch with every dialogue Mara is in.",{"id":1204,"title":1205,"titles":1206,"content":1207,"level":731},"\u002Fhelp\u002Fgame-sync-documents#_1-open-the-games-sync-settings","1. Open the game's sync settings",[908],"Open your world's Integrations page. Under Game Sync, click Edit on the game (or Set up sync if it doesn't sync yet). Scroll to Document export, between Files and Schedule.",{"id":1209,"title":1210,"titles":1211,"content":1212,"level":731},"\u002Fhelp\u002Fgame-sync-documents#_2-send-related-documents","2. Send related documents",[908],"Click Relation types under Export related documents. Pick Member of \u002F Members. A directed relation type shows both of its sides; a mutual one, like Ally, shows\nits name once. Click Save. The summary at the bottom of the dialog now says what each dialogue carries, for example: It also carries documents\nlinked to those by Member of \u002F Members.",{"id":1214,"title":1215,"titles":1216,"content":1217,"level":731},"\u002Fhelp\u002Fgame-sync-documents#_3-choose-whether-mentioned-documents-go","3. Choose whether mentioned documents go",[908],"Export mentioned documents is on by default. It sends the documents mentioned in a line and the documents added\nto a node under Connected documents. Turn it off when your game only needs the people who speak, plus the related documents you picked. Each dialogue then\ncarries its speakers, and documents related to them.",{"id":1219,"title":1104,"titles":1220,"content":1221,"level":731},"\u002Fhelp\u002Fgame-sync-documents#test-it",[908],"Press Sync now on the game. Open the pull request LoreHub updates in your repository and find the Stowaway file. Mara is there as a @lorehub\u002Fdocument, and so is the Harbour Watch, with its template and exported fields.",{"id":1223,"title":1224,"titles":1225,"content":1226,"level":731},"\u002Fhelp\u002Fgame-sync-documents#how-related-documents-are-picked","How related documents are picked",[908],"Speakers always go. No setting removes the speaker of a node from its dialogue's file. One hop only. A related document is directly linked, by a type you picked, to a document the dialogue already\ncarries. If the Harbour Watch is Member of the City Guard, the City Guard doesn't come along with Mara. Either direction. A relation counts from both of its sides: picking Member of also sends Mara along with a\ndialogue that mentions the Harbour Watch. Only what you picked. Relations of other types, like Ally, send nothing until you add them. Each document once. A document that is both mentioned and related is in the file once. Defaults keep what Game Sync sent before: mentioned documents on, no related types. Export JSON in the dialogue builder doesn't change: it still has every document in the world. relations.json\nin the Game Sync folder doesn't change either: it still has all the world's relations.",{"id":1228,"title":632,"titles":1229,"content":1230,"level":731},"\u002Fhelp\u002Fgame-sync-documents#variations",[908],"Choose a character's fields. Which fields each document carries is set per field. See\nSend a character's fields to your game.",{"id":1232,"title":700,"titles":1233,"content":1234,"level":731},"\u002Fhelp\u002Fgame-sync-documents#in-your-game",[908],"Related documents are @lorehub\u002Fdocument resources in the dialogue's file, the same as mentioned ones, see\nDocument v1.1. To know how Mara and the Harbour Watch are related,\nread relations.json, see Relations v1. In the OSF format, related\ndocuments are listed in documents.osf.",{"id":813,"title":814,"titles":1236,"content":815,"level":769},[],{"id":1238,"title":814,"titles":1239,"content":1240,"level":769},"\u002Fhelp\u002Fgold-coins#give-or-take-gold-coins",[],"The case: the main character carries gold. A merchant sells bread for three coins and buys their old sword for five. The player can only buy bread while they have at least three coins. Gold: 10\nMerchant: Fresh bread, three coins a loaf. Anything else?\n  1. Buy bread (3 coins)\n  2. Sell my old sword\n  3. Goodbye.\nPlayer picks 1.\nMerchant: Here you go, still warm.\nGold: 7 The short answer: create a number variable gold. On the node where the player pays, add Set variable with gold −= 3. On the node where they earn coins, gold += 5. Give the buy option the condition gold ≥ 3.",{"id":1242,"title":1243,"titles":1244,"content":1245,"level":731},"\u002Fhelp\u002Fgold-coins#_1-create-the-gold-variable","1. Create the gold variable",[814],"Click the pencil next to Variables in the explorer on the left. Click New variable and name it gold. Names use small Latin letters and underscores. Set its type to Unsigned number, a whole number that never goes below 0. Under Starts as, enter how many coins the player has at the start, for example 10. Add a comment like Coins the player carries, so everyone on the team knows what it means. Click Save. Pick Number instead if gold can go negative, for example to allow debt.",{"id":1247,"title":1248,"titles":1249,"content":1250,"level":731},"\u002Fhelp\u002Fgold-coins#_2-take-coins-when-the-player-pays","2. Take coins when the player pays",[814],"Select the node that plays after the player pays, here \"Here you go, still warm.\" Under On start, set, click Set variable and pick gold. Choose −= and enter 3. The coins change when the node plays. To give coins, do the same on the node where the player earns them, with +=: here \"Five coins for it\" gets gold += 5. Choose = to set an exact amount, for example gold = 0 when the player is robbed.",{"id":1252,"title":1253,"titles":1254,"content":1255,"level":731},"\u002Fhelp\u002Fgold-coins#_3-offer-the-option-only-when-the-player-can-pay","3. Offer the option only when the player can pay",[814],"Select the merchant's node. On Buy bread (3 coins), click + condition and pick gold. Choose ≥ and enter 3. Now the player only sees Buy bread while they have three coins or more. The option shows a filter badge with its number of conditions on the canvas. To let the player come back to the merchant's options after buying, link the answer back to the merchant's node with Return to options. See Bring the player back to a list of questions.",{"id":1257,"title":1035,"titles":1258,"content":1259,"level":731},"\u002Fhelp\u002Fgold-coins#_4-test-it",[814],"Click Show player and play the dialogue. Watch gold in the Variables column while you buy bread: 10, 7, 4, 1. With 1 coin left, Buy bread is faded with gold ≥ 3 next to it. In your game the player won't see it. You can change gold in the Variables column to test other amounts without playing up to them. Click Restart to start again with 10 coins.",{"id":1261,"title":632,"titles":1262,"content":1263,"level":731},"\u002Fhelp\u002Fgold-coins#variations",[814],"Sell only once. Turn on Ask once on Sell my old sword, since the player has only one sword. See Make an option the player can pick only once. Branch on the amount. Give the links from a node conditions, like gold ≥ 100 to one line and no condition to another. The game follows the first link whose conditions are met.",{"id":1265,"title":700,"titles":1266,"content":1267,"level":731},"\u002Fhelp\u002Fgold-coins#in-your-game",[814],"gold is exported with the dialogue's variables and its starting value. A node exports its change in setVariableOnStart with operation set to add or subtract, and the option's condition with operator >=. See Variable v1 and SetVariableOnStart.",{"id":835,"title":836,"titles":1269,"content":837,"level":769},[],{"id":1271,"title":836,"titles":1272,"content":1273,"level":769},"\u002Fhelp\u002Foption-only-once#make-an-option-the-player-can-pick-only-once",[],"The case: the player talks to an innkeeper and can ask several questions: Who are you?, What's this town called?, Any work for me?. After each answer the player is back at the list of questions, but a question they have already asked shouldn't be offered again. Goodbye is always there, so the player can leave. The short answer: select the node with the options and turn on Ask once on each question. Then link each answer back to the node's options with Return to options.",{"id":1275,"title":1276,"titles":1277,"content":1278,"level":731},"\u002Fhelp\u002Foption-only-once#before-you-start","Before you start",[836],"You need a dialogue with a node that has options, and a node for each answer. If you are starting from scratch: Open your dialogue in the Dialogue Builder. Write the innkeeper's greeting in a node, for example \"Welcome, traveller. What can I do for you?\" Add the questions as options: click + Option on the node, or select the node and click Add option in the inspector. Add a node for each answer, and drag from each option's dot to its answer node.",{"id":1280,"title":1281,"titles":1282,"content":1283,"level":731},"\u002Fhelp\u002Foption-only-once#_1-turn-on-ask-once","1. Turn on Ask once",[836],"Click the node with the options to open it in the inspector. Under Options, find the question and turn on Ask once below it. Do the same for every question that should be asked only once. Leave Ask once off on Goodbye. The option's Visible when now shows a once chip, and the option gets a once pill on the canvas, so you can see at a glance which options disappear.",{"id":1285,"title":1286,"titles":1287,"content":1288,"level":731},"\u002Fhelp\u002Foption-only-once#_2-bring-the-player-back-to-the-questions","2. Bring the player back to the questions",[836],"An option that is asked once only makes sense if the player comes back to the list. After each answer, link back to the node with the questions: Drag from the answer node's dot to the innkeeper's node. Select the answer node. Under Links, turn on Return to options for the new link. With Return to options, the player skips the innkeeper's greeting and sees the questions again, minus the ones already asked. Without it, the greeting would play again first. Return to options shows only when the link goes to a node that has options. You'll also find it in the inspector when you select the link itself, and on an option's link under Goes to, if an option leads straight back.",{"id":1290,"title":1291,"titles":1292,"content":1293,"level":731},"\u002Fhelp\u002Foption-only-once#_3-leave-a-way-out","3. Leave a way out",[836],"Keep at least one option without Ask once that leads on, like Goodbye. If every option is asked once and every one leads back, the player ends up with nothing to pick. The inspector warns you about this on the node: Every option is asked once and leads back here, so the player runs out of options. Add an option that leads on, or turn off Ask once on one of them.",{"id":1295,"title":1035,"titles":1296,"content":1297,"level":731},"\u002Fhelp\u002Foption-only-once#_4-test-it",[836],"Click Show player and play the dialogue. Pick Who are you?. After the answer you are back at the questions. Who are you? is now faded, with its condition next to it. Hover it to see Hidden in the game: its condition is not met. In your game the player won't see it at all. The test player still lets you click a faded option, so you can check the rest of the dialogue without starting over. Click Restart to play from the beginning with every question available again.",{"id":1299,"title":1300,"titles":1301,"content":1302,"level":731},"\u002Fhelp\u002Foption-only-once#turn-it-off","Turn it off",[836],"Turn off Ask once on the option, or click the cross on its once chip.",{"id":1304,"title":632,"titles":1305,"content":1306,"level":731},"\u002Fhelp\u002Foption-only-once#variations",[836],"Unlock a question after another one. Say Any work for me? should appear only after the player asked Who are you?. On Any work for me?, click + condition, pick stateData.isOptionSelected under Predefined variables, then pick Who are you?. The condition starts as true: the option shows once Who are you? was picked. Click the value to switch it to false for the opposite. React to a line the player has already heard. stateData.isNodePlayed works the same way for nodes: it checks whether the player has already seen a node. Use it on an option, or on a link, to play a different line the second time round. Remember it in other dialogues. Ask once remembers what was picked in this dialogue. If another dialogue needs to know that the player asked the question, use a variable instead: set it on the answer node with Set variable, and check it with + condition wherever you need it.",{"id":1308,"title":700,"titles":1309,"content":1310,"level":731},"\u002Fhelp\u002Foption-only-once#in-your-game",[836],"If you load LoreHub dialogues into your own engine, Ask once is exported as a condition on the option: the option's own stateData.selected must be false. Your game marks an option selected when the player picks it, and checks the conditions again each time it shows the options. The LoreHub Dialogue Player for Godot does this for you. For the JSON, see state data conditions and StateData.",{"id":936,"title":937,"titles":1312,"content":938,"level":769},[],{"id":1314,"title":937,"titles":1315,"content":1316,"level":769},"\u002Fhelp\u002Forganise-your-images#organise-your-images",[],"The case: your artist keeps sending concept art, and the gallery has turned into one long list. You want the castle and the map with your other places, a quick full-size look at the new dragon, to clear out art nobody uses, and you want back the tavern sketch someone deleted last week. The short answer: open Images, click New folder under the folders, type a name and press Enter, then upload into it. Tick the images you want to move, choose a folder under Move to… and click Move. Click a picture to see it full size. Unused next to the sort shows the images nothing uses. Deleted images wait in Recently deleted for 30 days, where Restore brings them back.",{"id":1318,"title":1319,"titles":1320,"content":1321,"level":731},"\u002Fhelp\u002Forganise-your-images#_1-make-folders-and-upload-into-them","1. Make folders and upload into them",[937],"Open Images from the world's menu. Click New folder under the folders on the left, type a name such as Places and press Enter. Esc cancels. If a folder with that name already exists, LoreHub says so under the name. The new folder opens. Click the upload button at the top and pick one or more files. The Folders panel shows how many images each folder holds. All images at the top shows every image and the total, and Recently deleted sits at the bottom. Folders are sorted by name, with numbers in order, so Chapter 2 comes before Chapter 10. Once a world has more than 8 folders, Find a folder above the list narrows it down as you type. New images land in the folder you have open. In All images there is no upload button: it asks you to pick a folder first. You can upload PNG, JPG, GIF, WebP, AVIF and BMP files up to 28 MB each. To rename or delete a folder, hover it (or move to it with Tab) and click the pencil on its row.",{"id":1323,"title":1324,"titles":1325,"content":1326,"level":728},"\u002Fhelp\u002Forganise-your-images#how-much-space-is-left","How much space is left",[937,1319],"Next to the upload button, a bar shows how many images the world has and how much storage they use. Click it to see the storage used and the plans that give you more, with See plans to change yours. Only the world owner can change the plan.",{"id":1328,"title":1329,"titles":1330,"content":1331,"level":731},"\u002Fhelp\u002Forganise-your-images#_2-move-images-to-another-folder","2. Move images to another folder",[937],"To move several at once: Hover an image and tick the box in its corner. Once one is ticked, a click on any other picture ticks it too. In the bar above the grid, pick the folder under Move to… and click Move. To move one image, click the bar under its picture to open Image details and pick another Folder. Clear selection unticks everything.",{"id":1333,"title":1334,"titles":1335,"content":1336,"level":731},"\u002Fhelp\u002Forganise-your-images#_3-look-at-an-image-full-size","3. Look at an image full size",[937],"Click a picture to open it full size. Use the arrows or the arrow keys to go through the folder, and Esc or the cross to close it.",{"id":1338,"title":1339,"titles":1340,"content":1341,"level":731},"\u002Fhelp\u002Forganise-your-images#_4-see-what-happened-to-an-image","4. See what happened to an image",[937],"Click the bar under a picture to open Image details. Besides the name, folder and Linked documents, it has a History: who uploaded, renamed, moved, deleted or restored the image and when, and which documents it was linked to and unlinked from. Show older loads more.",{"id":1343,"title":1344,"titles":1345,"content":1346,"level":731},"\u002Fhelp\u002Forganise-your-images#_5-see-where-an-image-is-used","5. See where an image is used",[937],"Under each picture the gallery says how often the image is used: Used once, Used 3 times or Unused. It counts linked documents, Image fields, images placed in a document's text, and Storyboard cards. To find art nobody uses, click Unused next to the sort. All shows every image again. To see where one image is used, open Image details. Used in lists the documents whose Image field or text shows it, and the Storyboard cards that use it. Linked documents stay in their own section above. Click an entry to open that document or that dialogue's Storyboard.",{"id":1348,"title":1349,"titles":1350,"content":1351,"level":731},"\u002Fhelp\u002Forganise-your-images#_6-get-back-a-deleted-image","6. Get back a deleted image",[937],"Delete image in Image details doesn't delete the file straight away. If the image is still used somewhere, LoreHub lists those places first, so you can cancel. Once you confirm, the image goes to Recently deleted at the bottom of the folder list, and stays there for 30 days. Restore puts the image back in its folder and links it again to the documents it was linked to. Image fields that showed it were cleared when you deleted it, so pick it there again. If its folder was deleted in the meantime, the image comes back in another folder, and a note says which. Delete for good removes it now. That can't be undone.",{"id":1353,"title":632,"titles":1354,"content":1355,"level":731},"\u002Fhelp\u002Forganise-your-images#variations",[937],"Sort and size: sort by Name or Date added, and use the slider to make the tiles bigger or smaller. Search finds images by name. Deleting a folder: a folder that still has images can't be deleted. Move or delete the images first. Who can do what: people who can only view the world see the images and their details, but not New folder, the upload, move and delete controls, or Recently deleted. Using an image on a character: see Give a character a portrait.",{"id":876,"title":877,"titles":1357,"content":878,"level":769},[],{"id":1359,"title":877,"titles":1360,"content":1361,"level":769},"\u002Fhelp\u002Fquestion-hub#bring-the-player-back-to-a-list-of-questions",[],"The case: Sam asks the player if they have questions, and the player can ask them in any order. After each answer, Sam shows the same questions again, until the player says That's all. Sam: Do you have questions?\n  1. Who are you?\n  2. Where are we?\n  3. What time is it now?\n  4. That's all.\nPlayer picks 2.\nSam: Eastbrook, by the old mill.\n  1. Who are you?\n  2. Where are we?\n  3. What time is it now?\n  4. That's all. The short answer: link each answer back to Sam's node and turn on Return to options on that link.",{"id":1363,"title":1364,"titles":1365,"content":1366,"level":731},"\u002Fhelp\u002Fquestion-hub#_1-write-the-questions-and-the-answers","1. Write the questions and the answers",[877],"Open your dialogue in the Dialogue Builder. Write Sam's line in a node: \"Do you have questions?\" Add the questions as options: click + Option on the node, or select it and click Add option in the inspector. Add That's all. as the last option. Add a node for each answer, and drag from each question's dot to its answer. Drag from That's all. to the node where the conversation goes on, or to a goodbye line.",{"id":1368,"title":1369,"titles":1370,"content":1371,"level":731},"\u002Fhelp\u002Fquestion-hub#_2-link-each-answer-back-to-the-questions","2. Link each answer back to the questions",[877],"Drag from the answer node's dot back to Sam's node. Select the answer node. Under Links, turn on Return to options. Do the same for every answer. With Return to options, the player skips \"Do you have questions?\" and goes straight back to the list. Without it, Sam would say the line again before every list. Return to options shows only when the link goes to a node that has options.",{"id":1373,"title":1374,"titles":1375,"content":1376,"level":731},"\u002Fhelp\u002Fquestion-hub#_3-test-it","3. Test it",[877],"Click Show player and play the dialogue. Pick Where are we? and click Continue after the answer. The player shows Back to the options of node_01 and the same four questions again.",{"id":1378,"title":632,"titles":1379,"content":1380,"level":731},"\u002Fhelp\u002Fquestion-hub#variations",[877],"Hide a question once it's asked. Turn on Ask once on the question. See Make an option the player can pick only once. Unlock a question after another one. On the new question, click + condition, pick stateData.isOptionSelected and then the question it depends on.",{"id":1382,"title":700,"titles":1383,"content":1384,"level":731},"\u002Fhelp\u002Fquestion-hub#in-your-game",[877],"A link with Return to options is exported with \"entry\": \"options\". When your game follows it, show the node's options again without its lines, and check each option's conditions again. The LoreHub Dialogue Player for Godot does this for you. See Link v1.1 for the JSON.",{"id":782,"title":783,"titles":1386,"content":784,"level":769},[],{"id":1388,"title":783,"titles":1389,"content":1390,"level":769},"\u002Fhelp\u002Fsearch-your-world#find-a-word-line-or-item-id-anywhere-in-your-world",[],"The case: a bug report from the game says \"itm_ember_blade has the wrong description\". You paste the ID into LoreHub's search and it finds the Ember Blade document, whose Code field holds that ID. Later you want to check how Maren words her oath in every scene: search for swear and you get each line she says it in, with its node. The short answer: click Search world in the top bar, or press ⌘K on a Mac or Ctrl K on Windows, and type. Press Enter to open a result or ⇧Enter to see all of them.",{"id":1392,"title":1393,"titles":1394,"content":1395,"level":731},"\u002Fhelp\u002Fsearch-your-world#_1-search-from-anywhere-in-your-world","1. Search from anywhere in your world",[783],"Click Search world in the top bar, or press ⌘K (Ctrl K on Windows). It works on every page of a world, the Dialogue Builder too. Type at least two characters. Results show up as you type, in two groups: Documents and Dialogues, five of each. Use ↑ and ↓ to move, Tab to jump to the next group, and Enter to open a result. Press ⇧Enter, or click All … results, to open the Search page with every result. Before you type, the box shows your recent searches in this world and a few search tips.",{"id":1397,"title":1398,"titles":1399,"content":1400,"level":731},"\u002Fhelp\u002Fsearch-your-world#_2-what-is-searched","2. What is searched",[783],"In documents In dialogues Names Dialogue names Content Lines Text, rich text, number and choice fields Player options Tags Yes\u002Fno fields, images, document links and document lists aren't searched, and neither are relations, timeline events or Meta Area notes.",{"id":1402,"title":1403,"titles":1404,"content":1405,"level":731},"\u002Fhelp\u002Fsearch-your-world#_3-how-words-match","3. How words match",[783],"Every word must be there, in any order. ember blade finds a document with ember in its name and blade in its Content. In a dialogue, all the words must be in the same line or option. Case and accents don't matter. cafe finds Café. Parts of words count. drag finds dragon and dragging. Quotes keep a phrase together. \"ember blade\" finds only those two words side by side. IDs are found as written. itm_ember_blade and npc.maren.01 are one word each. Names come first in the results, then fields, then Content, then tags. For dialogues, a dialogue's name comes before its lines and options.",{"id":1407,"title":1408,"titles":1409,"content":1410,"level":731},"\u002Fhelp\u002Fsearch-your-world#_4-narrow-it-down-on-the-search-page","4. Narrow it down on the Search page",[783],"Open the Search page with ⇧Enter or All … results. Pick the Documents or Dialogues tab. Each shows how many results it has. Tick filters on the left:\nDocuments: Template, Matched in (Name, Content, a field or Tags) and Tags. Dialogues: Game, Found in (Dialogue name, Line, Player option) and Speaker. Each document shows up to three passages with your words marked, labelled with the field they come from. Each line shows its speaker, the dialogue, its scene in the Route Planner and its node.",{"id":1412,"title":1413,"titles":1414,"content":1415,"level":731},"\u002Fhelp\u002Fsearch-your-world#_5-open-a-result","5. Open a result",[783],"A document opens with your words marked in its name, fields and Content, and a bar on top: ember · 1 of 3 matches. Press Enter or ↓ for the next match and ⇧Enter or ↑ for the one before. ← Back to results takes you back to the Search page. Close the bar with Esc or ×; it also goes away as soon as you start editing. A line or player option opens the Dialogue Builder on its dialogue, centred on the node, with the node outlined in amber and the words marked in its line and options. The bar says 1 of 2 in this dialogue, and ↓ moves the canvas to the next node that matches. Nothing is selected, so you can't change anything by accident.",{"id":1417,"title":632,"titles":1418,"content":1419,"level":731},"\u002Fhelp\u002Fsearch-your-world#variations",[783],"Only the name of a document. The Filter box above the document list still matches names only. When no name matches, or when you press Enter, it shows Search in Content and fields →, which opens the Search page. On a phone. Tap the magnifier in the top bar. Quick search fills the screen, and a dialogue result opens its script at the line. Older documents. Right after search arrived, LoreHub reads the text of documents written before it in the background. Until that is done, the Search page says Still reading the text of … older documents, and those documents are found by their name and fields only.",{"id":1421,"title":700,"titles":1422,"content":1423,"level":731},"\u002Fhelp\u002Fsearch-your-world#in-your-game",[783],"Search is a writing tool and isn't part of the export. To find a document or line from your own tools, use the IDs in the export, or ask an AI agent through the LoreHub MCP server: its search_world tool searches the same document text and dialogue lines.",1796305453841]