Escapade!

An interactive fiction by Juhana Leinonen (2008) - the Inform 7 source text

Home page

Contents
Previous
Next

Complete text
Part Dancing

Dancing with is an action applying to one thing.
Understand "dance", "dance by yourself", "dance alone" and "dance with [something]" as dancing with.

Rule for supplying a missing noun while dancing with:
    change the noun to the player.
    
Check dancing with:
    if the noun is the player and the player is naked and the creature is present:
        say "You dance a short slip jig with extra sets of jumps and twists.[paragraph break][c]That's it. I have lost my will to live,' [the creature] moans." instead;
    if the noun is the player, say "You take a few steps to the tune you hear only in your head." instead;
    if the noun is not a person, say "You can't dance with inanimate objects!" instead;
    say "[The noun] doesn't seem to be in the mood for dancing."
    

Before dancing with the creature when the creature is present:
    say "[c]I would rather not. And by rather not I mean you will die a horrible death if you even think of such thing,[c] [the creature] says." instead.
    
Before dancing with the guard:
    say "He will probably not be very enthusiastic about the idea." instead.