Chapter 1 - Preparing Core Memories
To prepare core memories:
DM "Preparing core memories.";
repeat with target memory running through the core memories:
now the current memory is the target memory;
now the potential NPC list is {};
repeat with target NPC running through the NPCs:
if the target memory is the grief memory or the target memory is the responsibility memory:
if the target NPC is not the victim:
add the target NPC to the potential NPC list;
otherwise:
add the target NPC to the potential NPC list;
sort the potential NPC list in random order;
now the associated NPC of the current memory is entry 1 of the potential NPC list.
To remember a core memory:
now the current person is the associated NPC of the current memory;
if the current memory is the news memory:
remember a news memory;
otherwise if the current memory is the meditation memory:
remember a meditation memory;
otherwise if the current memory is the selection memory:
remember a selection memory;
otherwise if the current memory is the grief memory:
remember a grief memory;
otherwise if the current memory is the responsibility memory:
remember a responsibility memory.