Skip to content

Tutorial 8: Characters who act

So far you started every scheme yourself. Here nobody does. A character who no player plays thinks now and then about a decision, Plot against a rival. The more they dislike the other person, the more they want it. When they decide, the decision starts your scheme Undermine against that person.

You then watch it three ways: Try it and the Forecast before you play, the Thinking window while you play, and the Simulation tool over many years.

You need a database with at least three actors, and those actors in the scene. If you did Tutorial 7: A grudge that fades, the decision can use its memory and tie. If you did not, it still works.

A world thinks only when two things are on.

  1. Choose Behaviour in the Page menu, then Settings. Turn on Characters think for themselves. Off, nothing on the Decisions page runs.
  2. Open Home and its Settings, to the card Time and calendar. Set Days pass to By themselves. At first it is When the game says so, and then days move only when a scheme or your code moves them.

Schemes at once per character is 2 at first. Leave it: 0 would mean that decisions never start a scheme.

Another way to start: while the database has no decision and no trait, the Decisions page shows a card Give This World A Mind, with switches Characters, Everyday feelings, Clans and Life. The button Add these settings to the world adds traits, a few decisions and the small schemes they start, as ordinary data. This tutorial skips it, so that only your decision acts and the Thinking window stays easy to read.

  1. In Schemes, click + and name the scheme Undermine.
  2. Drag from Start into empty canvas and add a Chance. Chance (%) is 50.
  3. Drag from Success and add a Succeed Scheme. Drag from Failure and add a Fail Scheme.
  4. Press Cmd+S (Ctrl+S on Windows).

The scheme needs a target. Target Not Required stays off, so a decision must aim at someone.

  1. In the Page menu, choose Behaviour, then Decisions. Click New. A decision called New Decision opens in the Element Inspector.
  2. Type Plot against a rival as the Name.
  3. Under Who Thinks It, leave Decided by at A character. Leave Only those who empty: everyone no player plays thinks about it.
  4. Under How Much They Want It, set Starts at to 20. That is the percent chance each time they think about it.
  5. Click + Add line ▾ and choose The more they dislike the target. Click + Add line ▾ again and choose Not against a friend. The second entry reads the kind of tie called Friend, which Tutorial 7 made. Without a kind of that name it reads any tie.
  6. Under How Often, leave Think about it every (days) at 90. Set Rest after doing it (days) to 360.
  7. Under What They Do, set Action to Start a scheme and Scheme to Undermine.
  8. Set Aimed at to A character. Leave From at Everyone. Leave Look at up to (people) at 32 and Pick the target at The one they want most.

At the top of the inspector, a sentence sums up the decision. Reads As, at the end, says it in full. Read it: it shows what you wrote, in words.

If the decision shows Does nothing yet: choose a scheme, step 7 is missing. If it says It starts at 0 and no line adds to it: nobody will want this, Starts at is 0 and no line adds to it.

  1. In the same inspector, open Try it. Pick Who thinks of it. It reads the opening world, every actor of the database. The game itself has only the actors of the scene, and looks at fewer people each day.
  2. Out of Play mode (the Forecast is refused in Play mode), open the Simulation tab of Behaviour, then Forecast. Set Years to 1 and click Forecast the opening world.

The forecast does not play the game. It tells how often characters would carry out each decision, and writes a Markdown and a CSV report into IntriguesAI/reports/ of the project. Open report file opens it. The report keeps two numbers apart: the chance characters are told, and the rate that runs show.

  1. Press Play.
  2. Choose Tools ▸ MrW ▸ Intrigues ▸ Thinking. Before Play it says Press Play to see what your characters are thinking.
  3. On the Characters tab, pick a character on the left. Click Think now.
  4. The message line says They decided and the decision, or They thought and decided nothing. Click the entry. Why shows the lines that made the amount.

Think now makes them think about every decision at once, dice included, and what they decide really happens. What would they do? shows how much they want each decision today and does nothing.

An entry ends with an outcome: does it, not today (the roll said no), nobody to choose (nobody qualified as the target) or wanted something else more. When the wants read an opinion, the entry also shows an opinion of block. The window records only from the moment it opened.

If a character does nothing, read the two lines above the tabs. Characters do not think for themselves yet means step 1 was not saved. Days do not pass by themselves means the second switch is off.

With the game running, open the Simulation tab again, and then Simulate.

Field Choose Why
Years 5 The length of each run.
What happens Wants only (nothing is carried out) Fast. Characters think and choose, and nothing they choose happens.
Runs 1 Each run after the first uses another seed.

Click Simulate. The status reads Run N of N · day N of N and the time per day. The report has sections such as Decisions per year and Never taken. If your decision sits under Never taken, nobody wanted it enough: raise Starts at or check its lines.

Choose Carry everything out to run the schemes too. A dialogue that waits for a player stops it, unless Characters a player plays think too is on.

Put the game back afterwards is on, so a simulation does not change your scene.

Related pages: Behaviour: Decisions, Behaviour: Settings, The Thinking window, Behaviour: Simulation, Characters that think.