Part 1 - Identifying Victim and Murderer
The victim is an NPC that varies.
The potential victim list is a list of NPCs that varies.
The murderer is an NPC that varies.
The potential murderer list is a list of NPCs that varies.
To choose victim and murderer:
repeat with target NPC running through NPCs:
add the target NPC to the potential victim list;
if the age of the target NPC is greater than 15:
add the target NPC to the potential murderer list;
sort the potential victim list in random order;
now the victim is entry 1 of the potential victim list;
remove the victim from the potential murderer list, if present;
sort the potential murderer list in random order;
now the murderer is entry 1 of the potential murderer list;
DM "Victim: [given name of the victim] [surname of the victim]. Murderer: [given name of the murderer] [surname of the murderer].[line break]"