[{"data":1,"prerenderedAt":895},["ShallowReactive",2],{"help-\u002Fhelp\u002Fcharacter-portrait":3,"help-index":477},{"id":4,"title":5,"body":6,"category":454,"description":455,"extension":456,"keywords":457,"meta":471,"navigation":472,"order":445,"path":473,"seo":474,"stem":475,"__hash__":476},"help\u002Fhelp\u002Fcharacter-portrait.md","Give a character a portrait",{"type":7,"value":8,"toc":443},"minimark",[9,13,21,47,54,59,62,132,136,185,191,195,232,238,241,245,260,266,272,278,284,309,312,318,322,335,341,386,392,398,401,405,422,433],[10,11,5],"h1",{"id":12},"give-a-character-a-portrait",[14,15,16,20],"p",{},[17,18,19],"strong",{},"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.",[14,22,23,26,27,30,31,34,35,38,39,42,43,46],{},[17,24,25],{},"The short answer:"," add an ",[17,28,29],{},"Image"," field to the template as an ",[17,32,33],{},"Avatar above the title",". On Mira's page, click the field, choose ",[17,36,37],{},"Upload new picture"," (or drop the file on it), pick the folder and click ",[17,40,41],{},"Upload and use",". Then hover the picture and choose ",[17,44,45],{},"Adjust framing"," to move and zoom it.",[14,48,49],{},[50,51],"img",{"alt":52,"src":53},"Mira Vell's portrait above her name, with the picker open: Mira portrait and Mira sketch under Connected to Mira Vell, then all the world's pictures and Upload new picture","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fpicker.jpg",[55,56,58],"h2",{"id":57},"_1-put-an-image-field-on-the-template","1. Put an Image field on the template",[14,60,61],{},"You do this once, and every character gets the field.",[63,64,65,73,102,116],"ol",{},[66,67,68,69,72],"li",{},"On any document, click the template menu at the top left and choose ",[17,70,71],{},"Manage templates",".",[66,74,75,76,79,80,83,84,88,89,92,93,88,95,98,99,72],{},"Open the ",[17,77,78],{},"Fields"," tab, click ",[17,81,82],{},"New field",", type ",[85,86,87],"em",{},"Portrait"," for ",[17,90,91],{},"Label"," and pick ",[17,94,29],{},[17,96,97],{},"Type",". Click ",[17,100,101],{},"Save",[66,103,104,105,108,109,112,113,115],{},"On the ",[17,106,107],{},"Templates"," tab, open your ",[85,110,111],{},"Character"," template and add ",[17,114,87],{}," to the page.",[66,117,118,119,121,122,125,126,129,130,72],{},"Pick how it shows: ",[17,120,33],{}," (a rounded square above the name), ",[17,123,124],{},"Picture card"," (a large picture in a card) or ",[17,127,128],{},"Wide picture"," (in a row with the other fields). Click ",[17,131,101],{},[55,133,135],{"id":134},"_2-pick-a-picture","2. Pick a picture",[63,137,138,145,152,174],{},[66,139,140,141,144],{},"Open Mira's page and click ",[17,142,143],{},"Pick a picture"," in the field.",[66,146,147,148,151],{},"The picker opens with the pictures already on Mira's page first, under ",[17,149,150],{},"Connected to Mira Vell",", then the ones you uploaded lately and the rest of the world.",[66,153,154,155,158,159,161,162,165,166,169,170,173],{},"Type to search. LoreHub looks in picture names and folder names, so ",[85,156,157],{},"heroes"," finds every picture in the Heroes folder. Results come in three groups: ",[17,160,150],{},", ",[17,163,164],{},"Same folders"," (the folders Mira's pictures are in) and ",[17,167,168],{},"Rest of the world",". Each row shows its folder, and a ",[17,171,172],{},"connected"," badge if it's on Mira's page already.",[66,175,176,177,180,181,184],{},"Click a picture, or move with the arrow keys and press ",[17,178,179],{},"Enter",". ",[17,182,183],{},"Esc"," closes the picker.",[14,186,187],{},[50,188],{"alt":189,"src":190},"The picker searching for \"mira\": Mira portrait and Mira sketch with a connected badge, then Mira in armour under Same folders, each in the Heroes folder","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fpicker-search.jpg",[55,192,194],{"id":193},"_3-or-upload-a-new-one","3. Or upload a new one",[63,196,197,203,210,223],{},[66,198,199,200,202],{},"In the picker, click ",[17,201,37],{}," at the bottom and choose the file. You can also drop the file straight on the field.",[66,204,205,206,209],{},"Check the ",[17,207,208],{},"Name",": it starts as the file name.",[66,211,205,212,215,216,219,220,72],{},[17,213,214],{},"Folder",". LoreHub suggests the folder that holds most of Mira's pictures, else the one you used last. To make a new one, pick ",[17,217,218],{},"New folder…",", type its name and click ",[17,221,222],{},"Create",[66,224,225,226,228,229,72],{},"Click ",[17,227,41],{},". 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 ",[17,230,231],{},"Try again",[14,233,234],{},[50,235],{"alt":236,"src":237},"The upload step: a preview of the file, Name Mira sketch, Folder Heroes, and the Upload and use button","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fupload.jpg",[14,239,240],{},"Pictures can be 10 MB at most. Uploading needs a role that can work with images: Owner, Writer, Storyboarder or Artist.",[55,242,244],{"id":243},"_4-the-picture-stays-with-mira","4. The picture stays with Mira",[14,246,247,248,251,252,255,256,259],{},"A picture you put in an Image field also goes into Mira's ",[17,249,250],{},"Images"," block, so it's on her page even after you change the field. A message at the bottom says so, for example ",[85,253,254],{},"Connected “Mira in armour” to Mira Vell",", with ",[17,257,258],{},"Undo"," if you picked the wrong one.",[14,261,262],{},[50,263],{"alt":264,"src":265},"The message Connected “Mira in armour” to Mira Vell, with Undo","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fconnected.jpg",[14,267,268,269,271],{},"In the ",[17,270,250],{}," block, a small label shows which field uses each picture.",[14,273,274],{},[50,275],{"alt":276,"src":277},"Mira's Images block: three pictures, and the one in the Portrait field is labelled Port…","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fimages-block.jpg",[14,279,280,281],{},"When you clear the field or swap the picture, LoreHub asks about the old one, for example ",[85,282,283],{},"Also remove “Mira sketch” from Mira Vell’s images?",[285,286,287,293,299],"ul",{},[66,288,289,292],{},[17,290,291],{},"Keep it"," (the default) leaves the picture on Mira's page.",[66,294,295,298],{},[17,296,297],{},"Remove"," takes it off her page. The picture stays in the gallery.",[66,300,301,302,305,306,308],{},"Tick ",[17,303,304],{},"Don’t ask again"," before ",[17,307,291],{}," to always keep pictures without asking.",[14,310,311],{},"LoreHub doesn't ask when another field on the page still shows that picture, or when it wasn't on Mira's page before.",[14,313,314],{},[50,315],{"alt":316,"src":317},"After swapping the portrait for Mira in armour: Also remove “Mira sketch” from Mira Vell’s images? with Keep it, Remove and Don’t ask again","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fclear-question.jpg",[55,319,321],{"id":320},"_5-frame-the-picture","5. Frame the picture",[14,323,324,325,161,327,330,331,334],{},"Hover the picture to see its tools: ",[17,326,45],{},[17,328,329],{},"Change picture"," and ",[17,332,333],{},"Clear",". Clicking the picture itself still opens it large.",[14,336,337],{},[50,338],{"alt":339,"src":340},"The tools under Mira's portrait: Adjust framing, Change picture and Clear","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Ftools.jpg",[63,342,343,347,350,357,372],{},[66,344,225,345,72],{},[17,346,45],{},[66,348,349],{},"Drag the picture to move it until Mira's face is where you want it.",[66,351,352,353,356],{},"Zoom from 100% to 400% with the ",[17,354,355],{},"Zoom"," slider or the mouse wheel.",[66,358,359,360,363,364,367,368,371],{},"Choose ",[17,361,362],{},"Fill frame"," to crop the picture to the shape, or ",[17,365,366],{},"Show whole"," to fit all of it on a soft background. ",[17,369,370],{},"Reset to centre"," starts over.",[66,373,374,375,161,378,330,381,98,384,72],{},"The previews on the right show the picture in all three shapes: ",[17,376,377],{},"Small",[17,379,380],{},"Large",[17,382,383],{},"Beside the title",[17,385,101],{},[14,387,388],{},[50,389],{"alt":390,"src":391},"Adjust framing: the portrait zoomed to 160% and moved, with Small, Large and Beside the title previews","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fframing.jpg",[14,393,394],{},[50,395],{"alt":396,"src":397},"After Save: Mira's portrait above her name, zoomed in and moved so the face sits higher in the square","\u002Fimages\u002Fhelp\u002Fcharacter-portrait\u002Fframed.jpg",[14,399,400],{},"The framing belongs to the field on this page. The same picture in another field or on another page keeps its own framing.",[55,402,404],{"id":403},"variations","Variations",[14,406,407,410,411,414,415,418,419,421],{},[17,408,409],{},"Several pictures for one character."," Add more Image fields, like ",[85,412,413],{},"Banner"," or ",[85,416,417],{},"Sigil",". Each one has its own picture and framing, and the ",[17,420,250],{}," block labels each picture with its field.",[14,423,424,427,428,72],{},[17,425,426],{},"Pick from a list of documents instead."," For a character's race or faction, use a Document list field: ",[429,430,432],"a",{"href":431},"\u002Fhelp\u002Fdocument-list-field","Give a character a race from your lore",[14,434,435,438,439,72],{},[17,436,437],{},"Start from a ready template."," The NPC and Character templates in the catalogue already have a Portrait field: ",[429,440,442],{"href":441},"\u002Fhelp\u002Fadd-template-from-catalogue","Add a template from the catalogue",{"title":444,"searchDepth":445,"depth":445,"links":446},"",3,[447,449,450,451,452,453],{"id":57,"depth":448,"text":58},2,{"id":134,"depth":448,"text":135},{"id":193,"depth":448,"text":194},{"id":243,"depth":448,"text":244},{"id":320,"depth":448,"text":321},{"id":403,"depth":448,"text":404},"worldbuilder","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.","md",[458,459,460,461,462,463,464,465,466,467,468,469,470],"image","picture","avatar","portrait","photo","upload","drag and drop","crop","framing","zoom","gallery","folder","art",{},true,"\u002Fhelp\u002Fcharacter-portrait",{"title":5,"description":455},"help\u002Fcharacter-portrait","u4fiBwUncBN_3SiqHTJmQG0fl9RA73zS-QfFrU6Yimk",{"articles":478,"sections":597},[479,493,510,524,546,560,581,595],{"path":441,"title":442,"description":480,"category":454,"order":481,"keywords":482},"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,[483,484,485,486,487,488,489,490,491,492],"premade","starter pack","stat block","monster","npc","character sheet","dnd","campaign","document list","members",{"path":494,"title":495,"description":496,"category":454,"order":481,"keywords":497},"\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.",[498,499,500,501,502,503,504,505,506,507,508,509],"search","find","look up","ctrl k","cmd k","quick search","where is","id","item id","full text","find in dialogue","find line",{"path":431,"title":432,"description":511,"category":454,"order":481,"keywords":512},"Pick a race, class or faction from your own documents with a Document list field, so every character points to the same Elf page.",[513,514,515,516,517,518,519,520,521,522,523],"race","class","faction","link documents","reference","relation","dropdown","select document","species","tag","field type",{"path":525,"title":526,"description":527,"category":528,"order":481,"keywords":529},"\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",[530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545],"gold","coins","money","currency","inventory","counter","add","remove","subtract","increase","decrease","number variable","buy","sell","pay","price",{"path":547,"title":548,"description":549,"category":550,"order":481,"keywords":551},"\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",[552,553,554,555,556,557,558,559],"play once","one time","only once","ask once","hide option","already asked","repeat question","disappear",{"path":561,"title":562,"description":563,"category":564,"order":481,"keywords":565},"\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",[566,567,568,569,570,571,572,573,574,575,519,576,577,578,579,580],"camera","camera angle","shot","emotion","mood","facial expression","animation","cutscene","3d","cinematic","allowed values","predefined","enum","meta data","meta schema",{"path":582,"title":583,"description":584,"category":550,"order":448,"keywords":585},"\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.",[586,587,588,589,590,591,592,593,594],"hub","question hub","back to questions","return","loop","go back","ask again","menu","list of questions",{"path":473,"title":5,"description":455,"category":454,"order":445,"keywords":596},[458,459,460,461,462,463,464,465,466,467,468,469,470],[598,600,604,609,614,619,624,629,634,639,643,648,650,654,659,664,669,674,678,682,684,688,692,696,700,704,708,712,714,718,723,728,733,738,743,747,751,753,757,762,767,772,776,780,784,786,790,795,800,805,810,814,819,823,827,829,833,838,843,848,852,856,858,862,867,872,877,882,887,891],{"id":441,"title":442,"titles":599,"content":480,"level":481},[],{"id":601,"title":442,"titles":602,"content":603,"level":481},"\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":605,"title":606,"titles":607,"content":608,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#_1-open-the-catalogue","1. Open the catalogue",[442],"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":610,"title":611,"titles":612,"content":613,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#_2-find-a-template","2. Find a template",[442],"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":615,"title":616,"titles":617,"content":618,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#_3-check-what-it-adds-to-your-world","3. Check what it adds to your world",[442],"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":620,"title":621,"titles":622,"content":623,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#_4-add-it","4. Add it",[442],"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":625,"title":626,"titles":627,"content":628,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#_5-add-a-whole-starter-pack","5. Add a whole starter pack",[442],"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":630,"title":631,"titles":632,"content":633,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#_6-fill-in-a-list-of-documents","6. Fill in a list of documents",[442],"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":635,"title":636,"titles":637,"content":638,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#make-it-yours","Make it yours",[442],"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":640,"title":404,"titles":641,"content":642,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#variations",[442],"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":644,"title":645,"titles":646,"content":647,"level":448},"\u002Fhelp\u002Fadd-template-from-catalogue#in-your-game","In your game",[442],"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":561,"title":562,"titles":649,"content":563,"level":481},[],{"id":651,"title":562,"titles":652,"content":653,"level":481},"\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":655,"title":656,"titles":657,"content":658,"level":448},"\u002Fhelp\u002Fcamera-and-emotion#_1-add-the-camera_position-field","1. Add the camera_position field",[562],"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":660,"title":661,"titles":662,"content":663,"level":448},"\u002Fhelp\u002Fcamera-and-emotion#_2-add-the-emotion-field","2. Add the emotion field",[562],"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":665,"title":666,"titles":667,"content":668,"level":448},"\u002Fhelp\u002Fcamera-and-emotion#_3-pick-the-camera-and-the-emotion-on-each-line","3. Pick the camera and the emotion on each line",[562],"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":670,"title":671,"titles":672,"content":673,"level":448},"\u002Fhelp\u002Fcamera-and-emotion#_4-test-it","4. Test it",[562],"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":675,"title":404,"titles":676,"content":677,"level":448},"\u002Fhelp\u002Fcamera-and-emotion#variations",[562],"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. 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":679,"title":645,"titles":680,"content":681,"level":448},"\u002Fhelp\u002Fcamera-and-emotion#in-your-game",[562],"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. 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":473,"title":5,"titles":683,"content":455,"level":481},[],{"id":685,"title":5,"titles":686,"content":687,"level":481},"\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":689,"title":58,"titles":690,"content":691,"level":448},"\u002Fhelp\u002Fcharacter-portrait#_1-put-an-image-field-on-the-template",[5],"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":693,"title":135,"titles":694,"content":695,"level":448},"\u002Fhelp\u002Fcharacter-portrait#_2-pick-a-picture",[5],"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":697,"title":194,"titles":698,"content":699,"level":448},"\u002Fhelp\u002Fcharacter-portrait#_3-or-upload-a-new-one",[5],"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 10 MB at most. Uploading needs a role that can work with images: Owner, Writer, Storyboarder or Artist.",{"id":701,"title":244,"titles":702,"content":703,"level":448},"\u002Fhelp\u002Fcharacter-portrait#_4-the-picture-stays-with-mira",[5],"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":705,"title":321,"titles":706,"content":707,"level":448},"\u002Fhelp\u002Fcharacter-portrait#_5-frame-the-picture",[5],"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":709,"title":404,"titles":710,"content":711,"level":448},"\u002Fhelp\u002Fcharacter-portrait#variations",[5],"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":431,"title":432,"titles":713,"content":511,"level":481},[],{"id":715,"title":432,"titles":716,"content":717,"level":481},"\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":719,"title":720,"titles":721,"content":722,"level":448},"\u002Fhelp\u002Fdocument-list-field#_1-make-the-race-documents-and-tag-them","1. Make the race documents and tag them",[432],"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":724,"title":725,"titles":726,"content":727,"level":448},"\u002Fhelp\u002Fdocument-list-field#_2-add-a-race-field","2. Add a Race field",[432],"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":729,"title":730,"titles":731,"content":732,"level":448},"\u002Fhelp\u002Fdocument-list-field#_3-put-the-field-on-a-character-template","3. Put the field on a character template",[432],"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":734,"title":735,"titles":736,"content":737,"level":448},"\u002Fhelp\u002Fdocument-list-field#_4-make-legolas-an-elf","4. Make Legolas an elf",[432],"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":739,"title":740,"titles":741,"content":742,"level":448},"\u002Fhelp\u002Fdocument-list-field#when-a-document-leaves-the-list","When a document leaves the list",[432],"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":744,"title":404,"titles":745,"content":746,"level":448},"\u002Fhelp\u002Fdocument-list-field#variations",[432],"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":748,"title":645,"titles":749,"content":750,"level":448},"\u002Fhelp\u002Fdocument-list-field#in-your-game",[432],"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":525,"title":526,"titles":752,"content":527,"level":481},[],{"id":754,"title":526,"titles":755,"content":756,"level":481},"\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":758,"title":759,"titles":760,"content":761,"level":448},"\u002Fhelp\u002Fgold-coins#_1-create-the-gold-variable","1. Create the gold variable",[526],"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":763,"title":764,"titles":765,"content":766,"level":448},"\u002Fhelp\u002Fgold-coins#_2-take-coins-when-the-player-pays","2. Take coins when the player pays",[526],"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":768,"title":769,"titles":770,"content":771,"level":448},"\u002Fhelp\u002Fgold-coins#_3-offer-the-option-only-when-the-player-can-pay","3. Offer the option only when the player can pay",[526],"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":773,"title":671,"titles":774,"content":775,"level":448},"\u002Fhelp\u002Fgold-coins#_4-test-it",[526],"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":777,"title":404,"titles":778,"content":779,"level":448},"\u002Fhelp\u002Fgold-coins#variations",[526],"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":781,"title":645,"titles":782,"content":783,"level":448},"\u002Fhelp\u002Fgold-coins#in-your-game",[526],"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":547,"title":548,"titles":785,"content":549,"level":481},[],{"id":787,"title":548,"titles":788,"content":789,"level":481},"\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":791,"title":792,"titles":793,"content":794,"level":448},"\u002Fhelp\u002Foption-only-once#before-you-start","Before you start",[548],"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":796,"title":797,"titles":798,"content":799,"level":448},"\u002Fhelp\u002Foption-only-once#_1-turn-on-ask-once","1. Turn on Ask once",[548],"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":801,"title":802,"titles":803,"content":804,"level":448},"\u002Fhelp\u002Foption-only-once#_2-bring-the-player-back-to-the-questions","2. Bring the player back to the questions",[548],"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":806,"title":807,"titles":808,"content":809,"level":448},"\u002Fhelp\u002Foption-only-once#_3-leave-a-way-out","3. Leave a way out",[548],"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":811,"title":671,"titles":812,"content":813,"level":448},"\u002Fhelp\u002Foption-only-once#_4-test-it",[548],"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":815,"title":816,"titles":817,"content":818,"level":448},"\u002Fhelp\u002Foption-only-once#turn-it-off","Turn it off",[548],"Turn off Ask once on the option, or click the cross on its once chip.",{"id":820,"title":404,"titles":821,"content":822,"level":448},"\u002Fhelp\u002Foption-only-once#variations",[548],"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":824,"title":645,"titles":825,"content":826,"level":448},"\u002Fhelp\u002Foption-only-once#in-your-game",[548],"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":582,"title":583,"titles":828,"content":584,"level":481},[],{"id":830,"title":583,"titles":831,"content":832,"level":481},"\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":834,"title":835,"titles":836,"content":837,"level":448},"\u002Fhelp\u002Fquestion-hub#_1-write-the-questions-and-the-answers","1. Write the questions and the answers",[583],"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":839,"title":840,"titles":841,"content":842,"level":448},"\u002Fhelp\u002Fquestion-hub#_2-link-each-answer-back-to-the-questions","2. Link each answer back to the questions",[583],"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":844,"title":845,"titles":846,"content":847,"level":448},"\u002Fhelp\u002Fquestion-hub#_3-test-it","3. Test it",[583],"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":849,"title":404,"titles":850,"content":851,"level":448},"\u002Fhelp\u002Fquestion-hub#variations",[583],"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":853,"title":645,"titles":854,"content":855,"level":448},"\u002Fhelp\u002Fquestion-hub#in-your-game",[583],"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":494,"title":495,"titles":857,"content":496,"level":481},[],{"id":859,"title":495,"titles":860,"content":861,"level":481},"\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":863,"title":864,"titles":865,"content":866,"level":448},"\u002Fhelp\u002Fsearch-your-world#_1-search-from-anywhere-in-your-world","1. Search from anywhere in your world",[495],"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":868,"title":869,"titles":870,"content":871,"level":448},"\u002Fhelp\u002Fsearch-your-world#_2-what-is-searched","2. What is searched",[495],"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":873,"title":874,"titles":875,"content":876,"level":448},"\u002Fhelp\u002Fsearch-your-world#_3-how-words-match","3. How words match",[495],"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":878,"title":879,"titles":880,"content":881,"level":448},"\u002Fhelp\u002Fsearch-your-world#_4-narrow-it-down-on-the-search-page","4. Narrow it down on the Search page",[495],"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":883,"title":884,"titles":885,"content":886,"level":448},"\u002Fhelp\u002Fsearch-your-world#_5-open-a-result","5. Open a result",[495],"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":888,"title":404,"titles":889,"content":890,"level":448},"\u002Fhelp\u002Fsearch-your-world#variations",[495],"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":892,"title":645,"titles":893,"content":894,"level":448},"\u002Fhelp\u002Fsearch-your-world#in-your-game",[495],"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.",1795820678462]