Factions and Reputation
Every group in your world lives in assets/data/factions.vfa. Edit > Project Settings edits it on three pages under FACTIONS: Parties, Deeds and Who Hears Whom. Each change is written to the file as you make it. Deeds and Who Hears Whom each have their own Party list, and a deed's worth line can be removed on the Deeds page. Open in Asset Manager, at the foot of Parties, opens the whole table with the columns these pages leave out: the standing each rank needs, the words the game shows, and components. Without the file the game still runs, with one party and a quiet world. A new project's table is empty: no parties, ladders or rungs are made for you.
The idea
Standing is held between any two parties, not only between the player and everyone else; the player is one party among them. And what travels between parties is a claim, not a fact: nothing happens until somebody sees a deed. The witness tells their own party, and the story spreads along the lines you write, at the speeds you write. So a player can outrun a reputation by leaving, one town can know what the next has not heard, and a bought witness can make a party believe something that never happened.
A standing is two numbers, esteem and grievance, each 0 to 1000. The standing itself is esteem minus grievance, so it runs from -1000 to 1000. The Words sheet in the Asset Manager can rename Esteem, Grievance, Standing, Rung and Ladder; every page and the sheet use the project's words.
Parties
comp faction marsh -1 -
field name Marshford
field kind town
field start 100 0
field ladder Hated -300, Wary -50, Neutral 0, Liked 100, Honored 300
field peace -50 Wary
field sheet on
comp faction ironoak -1 -
field name Ironoak Lodge
field kind guild
field joinfame 20
field group lodges
field rank1 Initiate
field rank2 WardenA party's kind is one of:
- faction
- A group in the world. It can like or loathe you; you cannot join it.
- guild
- Joinable and ranked; it checks your esteem at the door (
joinfame). Ranks are numbered lowest first. - clan
- Born into.
joinrefuses a clan. - town
- A place that holds an opinion.
The other fields:
- group
- Guilds that share a group word are exclusive: the player may belong to one of them, even when Guild membership on Consequences lets her join several. On the Parties page as Group.
- start
- Where the party's view of the player starts:
start <esteem> <grievance>, or one number for the standing (start -200is grievance 200). On the page as Starts at. - ladder
- The party's rungs, below.
- peace
- Its members leave the player alone while her standing is at least this: a number, or a rung (below).
- sheet
onlists the party on the player's sheet. On the page as Show on the player's sheet.
Where standing starts
Every party starts where its start says, and two parties can start with a view of each other: a relation row's start is what the first party thinks of the second at the start of a game.
comp relation reavers>ironoak -1 -
field start 0 400The Reavers start out hating Ironoak (standing -400); Ironoak's view of the Reavers starts at 0 unless its own row says otherwise. The Who Hears Whom page sets these under At the start, <party> thinks of, one row for each other party.
New Game and loading a save begin from these starts, and Reputation after death: Reset (Consequences) returns every standing to its start, not to 0. A save keeps only the standings that moved from their start.
The ladder
A ladder names bands of standing, lowest first. Each rung is a name and the standing it starts at; it holds every standing from there up to the next rung. The lowest rung also holds everything below it. A party has up to 12 rungs; a rung's name is up to 31 characters and holds no comma.
On the Parties page the Ladder, lowest first section lists the rungs as a name and a start, each with an x to remove it, then Add a rung. The list puts itself in order when a start changes.
What a rung does:
- Conditions
rung(marsh)is the player's rung on Marshford's ladder: 1 for the lowest, 0 when the party has no ladder. Afterrung(marsh)and a comparison, a rung's name stands for its place:rung(marsh) >= Liked,rung(marsh) = Wary.rung(marsh, Liked)is that rung's place too, and the checker refuses a name the ladder does not have. Spaces and punctuation in a rung's name are ignored here, soSworn_Friendfinds "Sworn Friend". These work in dialog replyiffields, questneedsand event conditions, likestanding(marsh).- Text
{rung marsh}in asayline shows the rung's name, or the standing when the party has no ladder:say Marshford thinks you are {rung marsh}.- Peace
- Peace at rung picks a rung; its members leave the player alone from that rung up. In the file it is
peace <start> <rung>; the number follows the rung when its start changes. A peace line set by a number (peace 25) still works and shows as "At 25". - Rûn
Faction.Rung(party)is the rung's name, "" when the party has no ladder.
Deeds
comp deed robbed_caravan -1 -
field worth marsh 0 30
field worth reavers 20 0worth <party> <esteem> <grievance>: one deed can mean very different things to different people. The Deeds page shows the two numbers under the project's own words.
Who hears whom
A relation row, named from>to, carries hears (0 to 100): how fast news goes from one party to another: 60 is a neighbour who gossips, 12 a clan that listens slowly. With no row, word never arrives. The direction matters: comp relation marsh>reavers -1 - with field hears 25 means the Reavers hear Marshford's news, not the other way round.
Prices
At a shop counter, the merchant's own party sets the price: liked there, buying is cheaper and selling pays more. The swing is the standing divided by 5, as a percent, at most 20 percent either way; both numbers are on Project Settings > MONEY > Shops. A merchant's party is the Faction on its placed character or its kind, unless their Shop Stock settings name another. A merchant with no party prices by whose ground the player is on.
Whose ground a map is: Map > Map Settings > Whose ground, or the Settings part of the map's page in the Asset Manager (the map's faction <party> line; map faction <party> in a script). Entering a map that names a party makes that party the ground's; entering one that names none ends it. The worldhere verb still sets the ground by script, and a map that names no party leaves it as the script set it.
The player's sheet
Parties with Show on the player's sheet on are listed under Reputation: each party's name and the rung the player stands on, or her standing when it has no ladder. The list is on the Character and Quests game screens, in every Interface Style pack.
Painted screens in the UI Editor can show the same: the binds Standing with a party (faction.standing) and Rung with a party (faction.rung) take the party's place in the table as their Idx (1 is the first party after the player's own). A party by its id is faction.standing.<id> or faction.rung.<id>, set with uiel <screen> <n> bind faction.rung marsh. speaker names the talking villager's party.
The Asset Manager's sheets
- Factions
- A row per party: name, kind, esteem to join, group, starts at, ladder (as the file writes it), peace (a number or a rung), on the sheet, ranks, and a column for each field a component adds.
- Ranks
- A row per rank of every party, with the esteem it needs.
- Deeds
- A row per deed, an esteem and a grievance column per party.
- Relations
- A row per party: how fast its word reaches each party (
Tells), and where its view of each party starts (Starts at). - Words
- The words the game shows, renamed for this project.
- Components
- A dev's own Rûn components and the fields they add.
The verbs
- witness <deed> <party>
- A party sees you do it and judges you.
- rumour <deed> <party>
- A party believes you did it. It is judged the same; the engine remembers it was a rumour so dialog can say so.
- clearname <party>
- That party stops believing what it heard. Only that party.
- standing <party> <esteem> <grievance>
- Set a party's opinion outright. Bare,
standing <party>reads it, with the rung. - join <party>, leave
- Join a guild if your esteem is high enough; leave it.
- worldnews on|off
- Let news travel between parties on its own. Off by default.
- worldhere [party]
- Whose ground the player is on, by script. With no party, nobody's.
Line script readings: standing(p), esteem(p), grievance(p), member(p) (0 or 1), rank(p) (0 = not a member) and rung(p). p may be speaker, the party of the villager the player is talking to. See Line Scripts.
Project Settings > Consequences can switch reputation off, stop deeds from being judged, or return every standing to its start when the player dies. Its FACTIONS rows set whether word travels on its own, how often the faction clock beats, whether the player may belong to several guilds, and whether ranks come by hand or when earned.