Blue Lacuna — 281 of 467

Aaron A. Reed

Release 4

Section - Serendipitous

A condition rule for a serendipitous episode (this is the Progue must be present to begin episodes rule):

if Progue is not enclosed by location:

if drama manager is being debugged, say "failed the Progue must be present to begin episodes rule.";

rule fails.

A condition rule for a serendipitous episode (this is the Progue must be awake to begin episodes rule):

if the animus of Progue is resting:

if drama manager is being debugged, say "failed the Progue must be awake to begin episodes rule.";

rule fails.

A condition rule for a serendipitous episode (this is the episodes can't begin when something dramatic is up rule):

if something dramatic is up:

if drama manager is being debugged, say "failed the episodes can't begin when something dramatic is up rule.";

rule fails.

A condition rule for a serendipitous episode (this is the episodes can't begin immediately after conversation ends rule):

if conversation fuse < 3:

if drama manager is being debugged, say "failed the episodes can't begin immediately after conversation ends rule.";

rule fails.

A condition rule for a serendipitous episode (this is the Progue is chattier the more he likes you rule):

let odds be 8 - the affinity of Progue;

if a random chance of 3 in odds succeeds begin;

otherwise;

if drama manager is being debugged, say "failed the Progue is chattier the more he likes you rule.";

rule fails;

end if.

A condition rule for a serendipitous episode (this is the Progue doesn't like to be interrupted rule):

if Progue is wishing:

if drama manager is being debugged, say "failed the Progue doesn't like to be interrupted rule";

rule fails.

A condition rule for a serendipitous episode (this is the episodes can't happen while Progue is swimming rule):

if the animus of Progue is swimming:

if drama manager is being debugged, say "failed the episodes can't happen while Progue is swimming rule.";

rule fails.

First completion rule for a serendipitous episode (this is the Progue's life goes on after serendipitous episodes rule):

Progue's life goes on, as before.