Skip to main content

Lore and Worldbuilding

Lis Novel provides contextually relevant lore entries for your prompts.

For creating entries, custom fields, and visibility settings in the app, start with Build your Lore Book. This page describes prompt context and inclusion.

Edit relationships between Lore entries​

Add a custom detail of type Lore Reference to an entry, then use its searchable picker to select one or more Lore entries. Changes save automatically. Entries with identical names show their type and ID so you can distinguish them.

A novel entry can reference active entries from its novel or associated series. A series entry can reference series entries. Hidden entries can be selected by you; their AI visibility rules still apply when context is sent to a model.

An unavailable selected entry stays visible until you explicitly remove it. Use Clear references to clear the selection, or the detail's menu to remove the whole custom detail. Both use the existing undo/redo history.

If an older saved value cannot be read as a relationship, the app preserves it and offers Replace saved reference value. Confirming clears that value so you can select entries. Undo can restore the saved value. The app cannot infer relationships that were previously overwritten with text.

Show custom values on Lore cards​

In Lore settings → Custom Details, open a Line or Dropdown field and enable Show in list views. Assigned, nonempty values appear as labeled rows on Lore Book cards. Dropdown values retain their option colors; edits to values, labels or colors update the cards.

An unavailable dropdown option is shown as Unavailable option while its stored selection is retained. Turning off list visibility hides the row without removing the entry's value. This author-facing display is independent of the field's AI inclusion setting.

Lore context​

lore.context​


Returns the lore entries that are relevant to the current beat and scene.

lore.context -> PromptLoreList

Return value A PromptLoreList of relevant entries.
Empty state Returns null when no entries are relevant (falsy in prompts).
Format Newline-separated entry XML tags with no <lore> wrapper.

Example

Relevant lore:
{lore.context}

Sample output

<location name="Neon Vale" aliases="city">
<description>Rain-slicked megacity of neon and smog.</description>
</location>
<character name="Sally Quinn" aliases="Sally" pronouns="She/Her">
<description>Freelance code journalist and information broker.</description>
</character>

Example

{#if lore.context}
Use the lore below exactly as given:
{lore.context}
{#else}
No lore was provided for this scene, so feel free to invent details that fit the tone.
{#endif}

lore.all​


Returns lore entry XML for the entire novel, or only manually linked entries when a target is provided. Hidden entries are excluded.

lore.all(target?) -> string

Arguments

  • target - optional scope for manual entries. Accepts a PromptScene, PromptChapter, or PromptAct.

Return value Unwrapped lore entry XML for the selected scope.
Format Newline-separated entry XML tags. Empty state Returns an empty string when no entries match.

Example

All lore:
{lore.all()}

Example

Manually linked lore for this scene:
{lore.all(scene)}

Lore inclusion rules​


These mirror the UI setting for each entry:

  • Visible (visible): Included when the matcher finds the entry name or alias in the current beat text or scene manuscript.
  • Always (always): Always included in AI lore context, even without matcher hits or manual links.
  • Manual (manual): Excluded from name/alias matching and auto-detection. Included only when manually attached or promoted as POV.
  • Hidden (hidden): Never sent to the AI, even when manually attached.
  • Manual links: Manually linked entries are included unless they are Hidden.
  • POV promotion: The active POV character entry is promoted into lore context unless it is Hidden.

Tips​


  • Use {lore.context} as the default way to supply worldbuilding context.
  • If you only need specific entries, use scene.references(...) to return just the manually linked lore entries for a scene.