Decide by chance with fair odds
The goal
Section titled “The goal”A step of a scheme depends on luck, and a player who sees “60%” gets 60%.
Do it, step by step
Section titled “Do it, step by step”Two outcomes: Chance
Section titled “Two outcomes: Chance”- Add a Chance node and set Chance (%), from 0 to 100. It is 50 at first.
- Link both outputs, Success and Failure.
- To tilt it, add a line under Bonuses. Each line has a Variable (an Integer or Float), a Sign (As Is, Always Positive, Always Negative or Inverted) and a Mode (Add Points or Percent of Chance). The values count each time the node runs, and the result stays between 0 and 100%.
Several turns: Random Branch
Section titled “Several turns: Random Branch”- Add a Random Branch and link every branch to its Random output.
- Set the Weight the Studio shows on each linked branch. A branch without one weighs 1.
Equal weights give equal odds.
Make the stated chance the real one
Section titled “Make the stated chance the real one”A scheme can state a Chance of success, a formula in the scheme settings under When no player plays the conspirator. Characters weigh it.
- In the Chance node, set Chance From to The scheme’s odds and Which Odds to Chance of success.
- Link Success only to Succeed Scheme and Failure only to Fail Scheme.
- Use no Bonuses, no second roll and no Random Branch that also decides the result, and keep the roll out of loops. The scheme settings say Exact when one roll decides, and give the reason when not.
- A dialogue choice shows the odds of the first Chance node it leads to. Odds from can pick another.
What you will see
Section titled “What you will see”Each time the flow reaches the node, it rolls once, and the same world seed gives the same rolls, so Run with setup… with Keep this seed repeats a run in the Studio.
What can go wrong
Section titled “What can go wrong”- The stated number differs from the real rate. A bonus, a second roll, a Random Branch or a requirement that ends the scheme makes the odds an estimate. The scheme settings give the reason.
- The chance cannot be read. When the scheme’s odds or the formula cannot be read, the percent in Chance (%) is used.
- All branches weigh 0. They are then picked with equal odds, which may not be what you meant.
How it connects
Section titled “How it connects”- Dice, seeds and what a load does to them are on Chance, dice and seeds.
- The nodes are Chance and Random Branch, and the settings are on Scheme settings.
- To see the real rate over many runs, see Balance a scheme and Test run.