An Escape To Remember

An interactive fiction by the IF Whispers Team (2006) - the Inform 7 source text

Home page

Contents
Previous
Next

Complete text
Section 2 - The Weasel

The weasel is an animal. The description of the weasel is "This small creature looks up at you without the slightest trace of fear. It seems famished." The weasel is in SouthEnd.
[Awww... how cute is that? Also I'm hoping the weasel manages to follow along until the endgame. --RC]

Instead of giving the sprig of rue to the weasel:
say "You give the herb to the weasel, who consumes it with great relish. It looks at you expectantly.";
remove the sprig of rue from play;
now the weasel is following.

An animal can be following or not following. An animal is usually not following.

After going somewhere:
if the weasel is following begin;
if the location is the Treetop begin;
say "The weasel's claws cannot gain purchase on the stone, so it waits below.";
otherwise;
if the location of the weasel is not the location begin;
say "The weasel, perhaps eager for more food, follows.";
now the weasel is in the location;
end if;
end if;
end if;
continue the action.