Pages

Storyteller Rules, Love, Hate and Shock

The beating heart of Storyteller lies in its story simulator, which is made up of logical rules of how things can happen and how characters feel. Explaining how the whole thing works would require an article instead of a post, but I thought it'd be fun to share some of the more interesting rules of the game...

In code, rules look like this:
// my wife has a lover!
if(married_to() != null)
{
 var spouse = this.other(married_to());
 if(thinks_loves(spouse.id, NOW) != null && thinks_loves(spouse.id, NOW) != id)
 {
  shock.add(spouse.id);
 }
}
Translated to english means: if I am married to someone and I now I realize she loves someone that is not me -> I am shocked at her.

More translations...


  1. If I am present, alive, not busy, and not in love with X already
  2. X is present, alive, sexually compatible, and as far as I know X is not a relative
  3. shortcut: if X is a vampire, I fall in love now [vampires have a magic charm]
  4. X is worthy of my love [princesses won't fall for poor, regular guys]
  5. I don't hate, resent or envy X
  6. I don't think X committed a crime
  7. I am not friends with X
  8. if I am loyal, only fall if I don't have a lover or I already mourned his death
then I fall in love with X




If I care about X, I can see X and
  • X just died OR
  • I am in love with X and
    • X just rejected me OR
    • X turned out to be a relative OR
    • X stopped loving me OR
    • I loved X before and he just fell in love for someone that is not me OR [see Programming Heartbreak]
    • X just crimed
then I am heartbroken by X




I can see X and
  • he killed me or someone I care about OR
  • X betrayed me OR [betrayal involves cheating and abstract "Tim betrayed Adam" captions]
  • I witnessed X commit a crime against me or someone I care about OR
  • X reported me or someone I care about OR [These whistleblowers...]
  • X declared to my love or the spouse of someone I care about OR
  • X broke the heart of someone I care about OR
  • X cheated on the spouse of someone I care about OR
  • X insulted me
then I hate X




1) I am present and not insane or amnesiac
2) I can see X and
  • X is death and it just kissed me OR [YOUR TIME IS UP]
  • X is myself and I just realized I died OR [A famous movie had this as the shock ending]
  • X turned insane or amnesiac OR
  • X just imprisoned someone OR
  • X is my spouse and she has a lover OR
  • X commited a crime OR
  • X is free and I captured him before OR [Capturers are shocked at jailbreakers]
  • X just died out of suicide or murder OR
  • X just resurrected OR
  • I thought X was dead but he is alive OR [Characters may have wrong or outdated information]
  • X turned out to be a relative and I hated or loved her before
then I am shocked at X

13 comments:

  1. I was considering tools for learning facts about someone without their mutual presence. You have reporting, but have you considered something like a magic mirror?

    Also, would there be any non-human (that is, not a vampire) beasts to slay in the pipeline? I doubt there has to be more than one kind, perhaps a dragon, or a bear, or a giant.

    What about a "townspeople" character? Or would that be unnecessary as the characters can already feel the extremes of shame/humiliation/being sacrificed to appease a dark god?

    ReplyDelete
    Replies
    1. There might be a monster. Townspeople are unnecessary, as I can use and reuse the main characters again and again, even if they die!

      Delete
  2. Amazing work. Really looking forward to playing Storyteller!

    ReplyDelete
  3. Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up!
    juegosfrivol.com , juegoskizi20.com , friv30game.com

    ReplyDelete
  4. The information provide by you is very useful for me.thanks for sharing and hope you will share again.

    Goa Escorts Services

    ReplyDelete
  5. Top my like fun baby kid. Include online 2017 new.
    Juegos De Yoob | Y8 | Juegos De Twizl | Kizi

    ReplyDelete
  6. Na vrh mojega kot zabavno otroško otroka. Vključujejo spletno 2017 Novo.
    Friv | Mario Game | Doraemon | Zoxy | Fofy

    ReplyDelete