Adrift — 17 of 21

Ian C Dunbar

Release 1

Section - Memories

Before examining something:

if mem of the noun is not empty:

repeat with curr running through mem of the noun:

if prereq of curr is NullMem or prereq of curr is listed in mems of player:

add mem of the noun to mems of player;

remove curr from mem of the noun;

say "A memory flashes through your head.";

say collection of curr.

To say recall:

repeat with curr running through mems of player:

if the noun is listed in targets of curr:

say thoughts of curr;

say "The memory fades...[ln 2]".

To recall (current - memory):

if current is listed in mems of player:

say "[ln 1][thoughts of current]".

To gain (current - memory):

if current is not listed in mems of player:

Add current to mems of player;

say "A memory flashes through your head.";

say collection of current.