Escape From Echo Base — 53 of 54

Alex Gibbins-Stark

Release 1

Part 6 - Endings

Every turn:

if the player is in the location of the snowtrooper and the snowtrooper is alive:

say "The snowtrooper captures you.";

end the story finally saying "For you, the Rebellion is over."

Every turn:

if the player is in Hoth Orbit and the player is in a spaceship and the Star Destroyer is unbroken:

say "The Star Destroyer disables your ship's engines and you are boarded and captured.";

end the story finally saying "For you, the Rebellion is over."

Every turn:

if the player is in Space and the player is not in a spaceship:

if the player is not wearing a spacesuit:

say "You struggle to take a breath.";

now the player is dead.

Every turn:

if the player has been in the Ice Cave for three turns and the player is not carrying a lit object:

say "You are eaten by a wampa.";

now the player is dead.

Every turn:

if the player is dead:

say "You die.";

end the story finally saying "For you, the Rebellion is over."

Every turn:

if the player is in a spaceship (called the ship) and the ship is in Hyperspace:

end the story finally saying "You have escaped from Echo Base. The Rebellion continues..."