Escape From Echo Base — 27 of 54

Alex Gibbins-Stark

Release 1

Part 2 - Characters

A person is either awake or asleep or dead. A person is usually awake.

Definition: A person is alive if it is awake or it is asleep.

A person is either weak or strong. A person is usually weak.

Before printing the name of an asleep person while looking:

say "sleeping ".

Before printing the name of a dead person while looking:

if the person is a droid:

say "non-functional ";

otherwise:

say "dead ".

After printing the name of a strong person (called the carrier) while looking:

let L be the list of people carried by the carrier;

if the number of entries in L is greater than 0:

say " (carrying [L with definite articles])".