Skip to content

Inside Propose a Match

Propose a Match asks for a hand in marriage. It is the demo’s scheme for families: it reads who a person’s family is, who speaks for them, whether a marriage is allowed, and then it marries two people and, if the head agrees, binds two clans with a pact. It has 68 nodes and is in the category Diplomacy. Read Families and marriage first if you have not.

  • You want to see the nodes of marriage in use: Check Marriage, Marry and the ties between people and between clans.
  • You want to see a scheme that finds the right person to speak to before it starts.
  • You want to see a scheme that keeps going after it has succeeded.
Requirement What it checks
Schemer Is Grown You are 16 or older. A requirement set; hides the scheme.
Target is alive Checked while the scheme runs. Hides the scheme; interrupts it if it breaks.
Target is of age The target is 16 or older. Hides the scheme.
The law and custom allow it A Marriage condition, the question can marry. The reason names a living spouse, close blood or custom.
No banners between you There is no Banners Raised tie (a war) between the two clans.

The database sets its family rules to a marriage age of 16 and a spouse limit of 1. What a marriage may be follows the world’s family rules and customs; see Families and marriage.

Start
Check Clan
Target has no clan
True
False
Get Role Holder
Found
Vacant
Store Actor
Check Family
Target has no family
True
False
Set Variable
Scheme: Orphan = True
Count Relatives
True
False
Set Variable
Scheme: Heavy = True
Show Dialogue
TOConspirator
A match with {target.Name}
The clerk trims a fresh quill. The proposal will go to {scheme.Head.Name}.
Send a plain and honest letter.
Send it with a fine gift. (25 marks)
Praise {target.his} house in verse.
Think better of it.
  • Start, output Start, goes to Check Clan.
  • Check Clan, output True, goes to Store Actor.
  • Check Clan, output False, goes to Get Role Holder.
  • Get Role Holder, output Found, goes to Check Family.
  • Get Role Holder, output Vacant, goes to Store Actor.
  • Store Actor goes to Check Family.
  • Check Family, output True, goes to Set Variable.
  • Check Family, output False, goes to Count Relatives.
  • Set Variable goes to Count Relatives.
  • Count Relatives, output True, goes to Set Variable.
  • Count Relatives, output False, goes to Show Dialogue.
  • Set Variable goes to Show Dialogue.
The start of Propose a Match, drawn from 03-propose-a-match.json. The first dialogue has four answers; their targets are not drawn.

The scheme does not ask the target. It asks the head of the target’s people. It checks whether the target has a clan. With no clan, or a clan with no head, the target speaks for themself. Otherwise Get Role Holder, with no role chosen, finds the clan’s head and stores it in the variable Head. Then it asks two questions of the family. A target with no family sets Orphan. A target with two or more children sets Heavy, which raises the dowry. The scheme has eight variables: three of type Actor (Head, Reeve, Betrothed) and five of type Bool (Short, Orphan, Heavy, Pleaded, Secret).

The first dialogue is a letter. You can send it plain, send it with a fine gift for 25 marks, praise the house in verse, or think better of it. The gift and the verse each roll a chance. A good roll leaves the head with a kind memory. A bad verse leaves a bad one and ends the scheme.

The head answers in a dialogue that arrives as a flag, a pennant on the screen. The head may grant the match, ask for a dowry, or refuse. A dowry is paid to the head: 25 marks, or 40 when Heavy is set. If the target’s clan has a Coin-Reeve, you can press a fee of 10 marks into the Reeve’s hand, which sets Heavy back to false so the dowry is 25. A Reeve with the trait Even-Handed spurns the fee, and the scheme ends. You can also haggle, which is a roll of chance. A failed haggle ends the scheme.

The demo’s audio code knows three of this scheme’s answers by their keys, verse, dowry and haggle. It plays a diplomacy track while a dialogue that holds one of them is open. See The demo’s own code.

Before the wedding, a Check Actors node asks whether the target has a Promised tie to someone living. If so, the head tells you, and you may buy off the old promise for 50 marks, wed at once and quietly on a roll of chance, leave it to the Synod, or withdraw. The last two end the scheme. A bought promise is removed with Remove Tie, and the betrothed remembers Refused my child’s hand about you. A quiet wedding that holds does the same and writes a line in the world’s chronicle. One that is found out leaves the betrothed remembering Broke an oath about you, costs you 8 Esteem and fails the scheme. See Write In The Chronicle.

Check Marriage
Conspirator can marry Target
True
False
Marry
Conspirator marries Target
Married
Refused
Add Memory
Head remembers Made my match about Conspirator
Play Sound
sfx_life_wedding_bells
Only if Conspirator is a player
Succeed Scheme
Result: Success (ends when its flows end)
Show Dialogue
TOConspirator
After the vows
The vows are said and the cups are filled. {scheme.Head.Name} draws you aside.
Bind the two realms by the marriage.
Let it be a marriage and no more.
Add Tie
Out
Not Changed
Fail Scheme
Result: Failure (ends when its flows end)
  • Check Marriage, output True, goes to Marry.
  • Check Marriage, output False, goes to Fail Scheme.
  • Marry, output Married, goes to Add Memory.
  • Marry, output Refused, goes to Fail Scheme.
  • Add Memory goes to Play Sound.
  • Play Sound goes to Succeed Scheme.
  • Succeed Scheme goes to Show Dialogue.
  • Show Dialogue, output Bind the two realms by the marriage., goes to Add Tie.
The wedding of Propose a Match, drawn from 03-propose-a-match.json. The Chance and dialogue steps that lead to it are not drawn.

Last comes Check Marriage, which asks whether you can marry the target. If not, the scheme fails at barred. If so, Marry weds the two. Its output Refused also leads to barred. On Married, the head remembers Made my match about you, a bell sounds for a player, and Succeed Scheme sets the result.

The flow does not stop there. The result is set, but the scheme ends only when no flow is left, so the dialogue After the vows still runs. If you choose to bind the two realms, Add Tie puts a Marriage Pact tie between your clan and the target’s. If you choose a marriage and no more, the flow ends. See Succeed Scheme and Check Marriage.

At the end, an End node tells a player: A wedding on success, No match on failure.

The marriage nodes are Check Marriage, Marry and Check Family. Clans and their heads are in Clans, roles and succession. The scheme before this one in the group is Offer a Token; the next is Raid the Village.