Skip to content

v4.0.0: 💞 Relationship System

Choose a tag to compare

@MultihogAurelius MultihogAurelius released this 01 Jul 23:39

There's now an optional dating sim-style component that tracks relations between the player and NPCs. The current relationship values are dynamically injected based on keyword matching.

This is split into two categories: friendship and affection. The GM will give these as updates, for example, "(Affection: Seraphina +2 — she found his honesty disarming, his humor endearing)", and Lorebook Agent will then record them as part of its regular pass.

On initial NPC recording, Lorebook Agent will infer a reasonable starting relationship for the NPC based on the immediate context. For example, an established friend might start with +40 friendship, a lover with +70 affection, and so on.

It works, but I haven't tested it nearly enough yet. It was largely implemented by @ontimejas. I just polished it and fixed some bugs, as well as doing some brief testing. Thanks for the contribution!

It's off by default, but turn it on and give it a try if you're into this kind of thing. The system can be toggled either in narrator configuration or Lorebook Agent settings.

image

As always, all of the prompts for this system, too, can be adjusted and are split between the main system prompt and the Lorebook Agent's NPC prompt in the Modular Repertoire (Prompt Rules) section.

Bugfixes

  • Toggling quests on/off now correctly hides the QUESTS module in the State Tracker and removes the pertinent
    from the system prompt.
  • Not exactly a bugfix, but you can now add/import NPCs into an empty story even if there's no existing NPC lorebook. Remember that you can also create or do anything in Lorebook Agent using the 💬 direct prompt option.
image