Five Gods Exiled — 133 of 191

Carolyn VanEseltine

Release 1

Part 3 - Focal Events

Table of Past Focal Events

locale typeevent typeevent number
"Market"00
with 50 blank rows

To call a focal event:

now the current person is a random shopkeeper in the location;

randomize the focal event;

if the locale type of the location is "Market":

call a market event;

otherwise if the locale type of the location is "Hospital":

call a hospital event;

otherwise if the locale type of the location is "Bridge":

call a bridge event;

otherwise if the locale type of the location is "Hall":

call a hall event;

otherwise if the locale type of the location is "Church":

call a church event;

otherwise if the locale type of the location is "Greenhouse":

call a greenhouse event;

otherwise if the locale type of the location is "Stadium":

call a Stadium event;

otherwise if the locale type of the location is "Arcanum":

call an arcanum event;

otherwise if the locale type of the location is "Tower":

call a tower event;

otherwise if the locale type of the location is "Cemetary":

call a cemetary event;

if the current memento is in Z1:

move the current memento to the shadow self.

To randomize the focal event:

let L be a random number between 1 and 76;

if L is 1: [Major reward without risk]

now the current event type is 1;

otherwise if L < 7: [Major reward with risk]

now the current event type is 2;

otherwise if L < 17:

now the current event type is 3; [Standard reward without risk]

otherwise if L < 67:

now the current event type is 4; [Standard reward with risk]

otherwise:

now the current event type is 5. [Risk without reward].

To decide if the focal event is unique:

let M be 0;

repeat through the Table of Past Focal Events:

if the current event type is the event type entry and the current event number is the event number entry and the locale type of the location is the locale type entry:

now M is 1;

if M is 0:

decide yes;

otherwise:

decide no.