A Christmas Game (Inform Port) — 6 of 15

Luke Jones

Release 2

Section 5 - Town Square

the Town Square is a room.

Description of Town Square is "[townsquare_description]".

To say townsquare_description:

if player is carrying Bottle of Port:

say "As the name suggests its a square in the town, and as it's Christmas there is a German market including a Glühwein stall .

There are also some carol singers, they are currently belting out a hearty rendition of 2 Become 1 by The Spice Girls to an appreciative crowd of shoppers.";

otherwise:

say "As the name suggests it's a square in the town, and as it's Christmas there is a German market including a Glühwein stall .

There are also some carol singers, they are currently belting out a hearty rendition of Stay Another Day by East 17 to a disinterested crowd of busy shoppers who scurry by."

East of Chester Street is the Town Square.

Instead of smelling the Town Square:

Say "You can smell a sickly sweet smell coming from the Glühwein stall."

Instead of listening to the Town Square:

Say "You can hear the carol singers, and the murmur of the Christmas shoppers as they scurry past."

Drink stall is an object in the Town Square.

The printed name of Drink stall is "a Glühwein Stall".

Understand "Gluhwein Stall" as Drink stall.

The description of the Drink stall is "[glu_description]".

To say glu_description:

If the Glühwein has been handled:

Say "The Glühwein Stall is in the form of a Bavarian log cabin. It is now closed.";

Else:

Say "The Glühwein Stall is in the form of a Bavarian log cabin. It is giving away free samples and there is one left."

carol singers are an object in the Town Square.

Description of carol singers is "A mixed group of young and old carol singers, dressed in warm coats, hats and scarfs; which is just as well as the temperature seems to be dropping.".

carol singers are scenery.

Bottle of Port is a thing.

Bottle of Port is nowhere.

Description of Bottle of Port is "It's a bottle of Taylor's Late Bottled Vintage Port 2010, very nice!"

Instead of drinking Bottle of Port:

Say "Tempting though it is you don't want to drink the Bottle of Port now, you want to take it home for Christmas."

Instead of dropping Bottle of Port: say

"You don't want to drop it, you want to take it home for Christmas!".

The Choir Leader is a person.

The Choir Leader is inside the Town Square.

The indefinite article of The Choir Leader is "the".

Description of Choir Leader is "[choirleader_description]".

To say choirleader_description:

If player is carrying Bottle of Port:

say "A tall man with a bushy black beard speckled with grey, wearing wire-frame glasses, a smart Dickensian style suit, greatcoat and sporting a caroler top hat. He's singing his heart out with the rest of the choir.";

otherwise:

say "A tall man with a bushy black beard speckled with grey, wearing wire-frame glasses, a smart Dickensian style suit, greatcoat and sporting a caroler top hat. He's singing his heart out with the rest of the choir, but he's scanning the square and is obviously disappointed at the lack of interest from the crowds wandering past."

Singing is an action applying to nothing.

Understand "sing" as singing.

Instead of singing when the location is not the town square:

say "You sing, it lightens your mood.".

Instead of singing in the town square for first time:

say "You sing, the carol singers increase in volume, the crowd starts singing. For a moment the whole town square is united in a joyous brief pause from the commercial hustle and bustle.

The Choir Leader walks over and shakes your hand, 'here take this,'. He hands you a Bottle of Port";

Move the Bottle of Port to the player;

Increase quest_count by 1.

Instead of singing in the town square:

say "You sing, the carol singers increase in volume, the crowd starts singing. For a moment the whole town square is united in a joyous brief pause from the commercial hustle and bustle.

The Choir Leader smiles at you."

Glühwein is an object in the town square.

Description of Glühwein is "Free hot steaming Glühwein, in a plastic cup."

Understand "gluhwein" as Glühwein.

Empty Plastic cup is a thing.

Empty Plastic cup is nowhere.

Description of Empty Plastic Cup is "A transparent empty plastic cup that smells of Glühwein".

Instead of drinking Glühwein:

now Glühwein is nowhere;

Move Empty Plastic Cup to the player;

say "You peer into the Glühwein, it a deep red, hot and steamy, you could do with the Dutch courage to deal with the crowds so you down it in one...it's rather too hot and stings your throat and it tastes like hot vimto. Unfortunately all the alcohol seems to have been boiled off, probably sometime in early December."