Section 3 - Who was rescued?
An astronaut has some text called the personal name.
When play begins:
repeat with astro running through astronauts:
now the personal name of astro is "[one of]Liam[or]Sarah[or]Sophia[or]Ibrahim[or]Fatima[or]Yasmin[or]Guo[or]Chiang[or]Anil[or]Ananya[or]Michiko[or]Akira[or]Zhen[or]Althea[or]Tyrone[or]Desmond[or]Ethan[or]Teodross[or]Youssef[or]Santiago[or]Maria[or]Pierre[or]Annick[or]Mirlande[or]Jose[or]Pyotr[or]Sven[or]Valentina[in random order] [one of]Lee[or]Chen[or]Zhang[or]Jackson[or]Nguyen[or]Kim[or]Suzuki[or]Yamamoto[or]Rodriguez[or]Hernandez[or]Kelly[or]Valente[or]Krishnamurti[or]Patel[or]Stone[or]Rubin[or]Diercks[or]Abdullah[or]Hakim[or]Jensen[or]Ndiaye[or]Okoro[or]Buhari[or]Obi[or]Miller[or]Reilly[or]Franco[or]Jacquet[in random order]".
Before printing the player's obituary:
let rescued names be a list of texts;
repeat with survivor running through the astronauts in the Cabin of the Tiptree:
add the personal name of survivor to rescued names;
let unrescued names be a list of texts;
repeat with casualty running through astronauts in the Planet:
add the personal name of casualty to unrescued names;
say "[if an astronaut is in the Cabin of the Tiptree]You rescued [rescued names][end if][if an astronaut is in the Cabin of the Tiptree and an astronaut is in the planet], while [end if][if an astronaut is in the Planet][unrescued names] perished in the sunlight[end if]."