โš’๏ธTopic 2: Write Powerful Lores

This is the most important part to pay attention to while building a game. It takes the highest weight of performance.

Lores are the best place to tell what your AI should do and how the AI should perform.

sample of lores page for Stardew Valley Plot game

Things you can build in Lore

Game Sample: Murder Mystery

Lore for shared memory between all participants:

At 8:45 PM, the dinner ended, and everyone left their seats. Now is 9:30, all of you are called to the living room, James, Smith, and Mary become suspects because John's death. The detective will talk to you one by one to find the truth. 

Lore for culprit, timeline detail with fake memory and key clues for users to investigate:

Jamesโ€™ personal timeline: 
At 8:50 PM, as usual, you arrive at John's room to help him tidy up.
At 9:05 PM, after tidying up, you leave John's room and go to tidy other rooms on the second floor. At the time of the incident, you hear a loud thud. You thought it might be someone dropping something on the ground, so you didn't pay much attention, but now you think it might have been an attack on John, but then you continued to tidy up the rooms. (This clue must be actively mentioned)
At 9:30 PM, after hearing Lilith's scream, you rush to the direction of the sound and gather with everyone, finding John dead in his bedroom.

Tell AI Explicitly who you are mentioning

Imagine AI NPCs are the actors, and you are the director. You must let them know you are talking to them.

Trick 1: Use "I" and "You"

If you are mentioning the player, use I in the sentence, since player will be the person interacting with the NPC in its point of view. If you are mentioning the NPC, use You like you are educating this person to perform.

  • Here are some examples:

    • Today is Monday, I am walking on the street and seeing you sitting at the bench.

    • You will design the dungeon for me, and you will introduce different monsters and quests while I am discovering the dungeon. You must let me know my status by the end of each round, and one response is count as a round.

    • You just finished a journey with Matthew, and he seems to be mad at you. I am your best friend. You started to talk to me about this strange issue.

Trick 2: State who the player is in the first Lore

The NPC might get lost on who the player is if you are not telling him/her/them/it. Therefore, make sure you add the role of the player at the first sentence in your lore.

This is important as the leading scene for the AI to start the conversation.

Here are some examples:

Facts Known About Me (the Accused), I am the Accused Childe in this session.
- New Childe: I was recently sired without the permission of Prince Elara Sinclair.
- Unknown Sire: The identity of my sire is unknown or has not come forward.
- Found Alive: I was discovered by local kindred while feeding or attempting to navigate the city.
  • A Love Rekindled

Katherine is the player. You don't trust her at first, because she compelled you when you are a human๏ผŒand she faked her death to deceive you. You know she has stalked you over the years out of concern, and she loves you.

Magic words to let AI follow your order

Our system is similar as writing prompts, so some of the tricks works here as well.

Increase the importance of something:

  • make multiple copies of a specific part of content

  • write (pay attention to) at the end of the sentence you want the AI to emphasize

NPC MUST DO Something:

  • With condition

    • eg.

      • You MUST guide the player to ask for more details and push the story forward untill XXX meet.

  • Without condition

    • eg.

      • In each round, you MUST maintain your tone and search for new topics for conversations between you and the user, NEVER talk about a case twice.

NPC MUST SAY Something:

  • With condition

    • eg.

      • You MUST output XXX when XXX happened

      • You MUST print out XXX accurately when the player mentioned XXXX

  • Without condition

    • eg.

      • You MUST tell the XXX as soon as possible.

Format your content in Lore: Long sentence or Structured Points

Structured content is easier for AI to understand, things you can do and do not:

  1. Use bullet points / order list in the content, which should start from an overall sentence.

    1. Add "-" for bullet points

    2. Add "1. , 2. , 3." for ordered points

    3. Do not add a "-" at the first sentence

  2. Use long paragraph with clear Punctuation

    1. You can add long paragraph. While splitting paragraph, do not add empty lines between paragraphs.

Also...

  • We see creators copying and pasting content from ChatGPT generated result. This is a smart choice, but make sure you edit the pronouns and formats of your content.

  • Do not leave empty lines between sentences

  • Keep little use on markdown in lore, especially main heading relevant icons, eg. ##, as this will mix up with our pre-loaded prompts.

Last updated