A Christmas Game (Inform Port) — 15 of 15

Luke Jones

Release 2

Section 14 - The Cross Keys Inn

The Cross Keys Inn is a room.

Description of The Cross Keys is "A great British pub, just like they used to be, all sticky carpets and wet tables. Thanks to the smoking ban there is a persistent scent of stale spilt beer and urinals.

Propping up the bar is a rake thin man in his late 30's, hunkered in an unkempt and crumpled raincoat, he has a mop of ginger hair and is nursing an advocaat and lemonade.

You've got a lot to do today, but there is always time for a pint, and you've got a thirst on!"

The Cross Keys Inn is south of the stable.

The Cross Keys Inn is east of the town square.

a Bag of Satsumas is an object inside The Cross Keys.

Description of a bag of satsumas is "a handful of satsumas in an orange string bag, they smell ripe and zesty."

Instead of taking bag of satsumas:

Say " 'Er..Sorry but they're mine' says the Rake Thin Man.

You leave the bag alone."

Instead of dropping bag of satsumas:

Say "You don't want to drop them, you want to take them home to enjoy over Christmas!"

a Rake Thin Man is a person.

a Rake thin man is inside The Cross Keys Inn.

Description of Rake thin man is "[rake_description]"

To say rake_description:

If player is carrying bag of satsumas:

Say "Thin, haggard and world beaten, but with young eyes. He's staring at his scarf as if it's a portal to a lost world. Periodically he checks the weather app on his phone. He gives off a faint air of fried chicken.";

Otherwise:

Say "Thin, haggard and world beaten, but with young eyes. He stares into his drink as if its a portal to a lost world. Next to him on the bar is a string bag of satsumas. Periodically he checks the weather app on his phone. He gives off a faint air of fried chicken."

Instead of talking to Rake Thin Man:

If player is carrying bag of satsumas:

Say "'Hello' says the Rake Thin Man, 'Thanks again for finding my scarf.'";

Otherwise:

Say "'Hello' says the Rake Thin Man and gives you a half smile."

Understand "James" as Rake Thin Man.

Instead of giving child's scarf to Rake Thin Man:

Say "The man's face lights up in a childlike grin, 'my scarf! I thought it was lost forever! How can I possibly repay you?'

You nod hopefully at the bag of satsumas on the bar. '

Oh those, well it looks like its not going to snow yet again this xmas eve'.

He looks wistfully away. '

Here take them, the name's James by the way'.

He shakes you by the hand.";

Now child's scarf is nowhere;

Move Bag of Satsumas to player;

Increase quest_count by 1.

Instead of asking Rake Thin Man about "satsumas":

Say "'Oh those, just in case I need a nose, but the weather is looking too dry tonight.'"

Instead of asking Rake Thin Man about "Snowman":

Say "The Rake Thin Man's chin wobbles and a single tear runs down his face, 'I can't talk about that, leave me be.'"

Instead of asking Rake Thin Man about "The Snowman":

Say "The Rake Thin Man's chin wobbles and a single tear runs down his face, 'I can't talk about that, leave me be.'"

Instead of asking Rake Thin Man about "weather":

Say "'Only a 5% chance of snow tonight. Damn climate change!'"

Instead of asking Rake Thin Man about "the weather":

Say "'Only a 5% chance of snow tonight. Damn climate change!'"

Instead of asking Rake Thin Man about "weather app":

Say "'Only a 5% chance of snow tonight. Damn climate change!'"

Instead of asking Rake Thin Man about "weather forecast":

Say "'Only a 5% chance of snow tonight. Damn climate change!'"

Instead of asking Rake Thin Man about "The Landlady":

If The Landlady is inside The Cross Keys:

Say "The Rake Thin Man sees that the Landlady is at the bar and says 'Barbara? Run this place for years - haven't you Barb?'

The Landlady looks over and with a sigh says

'for my sins, yes.'";

Otherwise:

Say "'She's probably out the back, sleeping off last night's gin.'"

Instead of asking Rake Thin Man about "Landlady":

If The Landlady is inside The Cross Keys:

Say "The Rake Thin Man sees that the Landlady is at the bar and says 'Barbara? Run this place for years - haven't you Barb?'

The Landlady looks over and with a sigh says

'for my sins, yes.'";

Otherwise:

Say "'She's probably out the back, sleeping off last night's gin.'"

Instead of asking Rake Thin Man about "Christmas":

Say "'All I want for Christmas is fot it to snow.' says the Rake Thin Man.

'Proper heavy snow that covers the land like a blanket.'"

Instead of asking Rake Thin Man about "snow":

Say "'Chance would be a fine thing!' says the Rake Thin Man."

Instead of asking Rake Thin Man about "chicken":

Say "'Yeah you can't beat a bit of KFC after a session in the pub!'"

The Landlady is a female person.

The Landlady is nowhere.

The indefinite article of The Landlady is "The".

The description of The Landlady is "The Landlady has finally appeared, and has clearly just woken up. What she lacks in stature she makes up for in steely presence and inscrutable countenance. "

Understand "Barb","Barbara" and "Landlady" as The Landlady.

Instead of talking to The Landlady:

Say "'Welcome' says the Landlady, 'what can I get you?'"

Ordering is an action applying to nothing.

Understand "order" as ordering.

Understand "buy beer","buy a beer","buy pint", "buy a pint","get a drink","get a pint", "order pint", "order a drink","order a pint", "buy drink", "get beer","get drink","order beer" and "order a beer" as ordering.

The fixed pool table is an object.

The fixed pool table is nowhere.

Printed name of fixed pool table is "Pool Table".

Description of fixed pool table is "A traditional pub pool table, 7 x 4 foot. The green baize is in decent enough condition, and only a few drink stain. It is now level and playable thanks to your stroke of genius!"

Instead of playing fixed pool table:

Say "

You pick up a cue and play pool. You spend an enjoyable 20 mins potting balls with the usual mixture of skill and blind luck."

The wonky pool table is an object.

The wonky pool table is inside The Cross Keys Inn.

The printed name of the wonky pool table is "Pool Table".

Description of wonky pool table is "A traditional pub pool table, 7 x 4 foot. The green baize is in decent enough condition, and there are only a few drink stains, but all the balls are accumulated in one corner. It leans so much it's unplayable."

Instead of playing wonky pool table:

Say "You pick up the pool cue and try a few shots but the wonky surface makes for a frustrating game, You give up after a few minutes."

A Pint of Beer is an object.

A Pint of Beer is nowhere.

Instead of drinking pint of beer:

Say "You take a sip of the beer, it tastes great, but considering the way things have gone today you figure it might come in useful for something else."

Instead of dropping the pint of beer:

Say "You decide not to drop the beer. The way things have gone today you figure it might come in useful for something later."

Description of A Pint of Beer is "A pint of [']Good Elf['] Christmas Ale, it's a dark umber colour with a creamy looking head. It smells of sultanas and liquorice."

Instead of ordering in The Cross Keys Inn when the landlady is in the cross keys inn and the fixed pool table is in the cross keys inn for the first time:

Say "Here you go love, thanks for fixing the table, might actually get a few more customers in here now.";

move the pint of beer to the player.

Instead of ordering in the cross keys inn:

If Landlady is inside The Cross Keys Inn:

If Fixed Pool Table is nowhere:

Say "The landlady says, 'I don't give away beer for free, perhaps you make yourself useful around here and I'll reconsider.'";

Else:

say "'I think you've had enough reward for your handy work.' says The Landlady.";

Else:

Say "The Rake Thin Man says, 'If you're after a drink then The Landlady is out the back somewhere, probably asleep'".

The Jukebox is an object inside The Cross Keys Inn.

Description of The Jukebox is "A jukebox and it's a nice one, a genuine Wurlitzer with actual vinyl singles inside. A label next to the coin slot reads [']Insert coin to play[']"

A pound coin is an object.

A pound coin is nowhere.

Description of a pound coin is "A pound coin, Queen's head on one side, and a Thistle and Royal Diadem on the other. Inscribed around the edge it reads [']NEMO ME IMPUNE LACESSIT[']"

Playing is an action applying to one visible thing.

Understand "play [anything]" as playing.

Understand "play on [anything]" as playing.

Inserting is an action applying to one visible thing.

Understand "insert coin [anything]" and "insert coin in [anything]" as inserting.

Instead of inserting anything:

If player is carrying pound coin:

Say "That doesn't seem like a very sensible idea!";

Otherwise:

Say "You don't have a coin."

Instead of inserting jukebox:

If player is carrying pound coin:

Say "You insert the pound coin into the jukebox, a record swings down on to the platter with a satisfying soft clunk. The opening bars of [']War Is Over (if you want it)['] play warmly through the room, as if by magic the Landlady appears.";

Now a pound coin is nowhere;

Now The Landlady is inside The Cross Keys Inn;

Otherwise:

Say "You don't have a pound coin."

Instead of playing anything:

Say "That's not something that can be played!"

Instead of playing Jukebox:

If player is carrying a pound coin:

Say "You insert the pound coin into the jukebox, a record swings down on to the platter with a satisfying soft clunk. The opening bars of [']War Is Over (if you want it)['] play warmly through the room, as if by magic the Landlady appears.";

Now a pound coin is nowhere;

Now The Landlady is inside The Cross Keys Inn;

Otherwise:

Say "You need to insert a coin to play."

A Fruit machine credit is an object in The Cross Keys Inn.

Printed name of A Fruit machine credit is "Fruit Machine".

Description of Fruit machine credit is "An [']Only Fools and Horses['] themed Fruit Machine, with three reels. It looks like someone has left 1 credit on it. It is ready to be played."

A Fruit machine no credit is an object.

A Fruit machine no credit is nowhere.

Printed name of A Fruit machine no credit is "Fruit Machine".

Description of a fruit machine no credit is "An Only Fools and Horses themed Fruit Machine, with three reels. There is no credit left."

Instead of playing A Fruit machine no credit:

Say "There is no credit left and you don't want to risk any money on it."

Instead of playing A Fruit machine credit:

Say "You press the 'Start button', the three reels spin and thump to stop one at a time...

Cherry.......Cherry.....and.......Cherry!

The machine makes an over dramatic electronic 'whoop whoop' noise and plays a snippet of the Only Fools and Horses theme music. You hit the collect button, the machine makes a satisfying Ker-Chunk noise and deposits a pound coin in the bottom tray. You place the coin in your pocket.";

Now fruit machine credit is nowhere;

Move pound coin to player;

Now Fruit machine no credit is inside the cross keys inn.

Pinking is an action applying to nothing.

Understand "put card under table","put folded card under table","put card under pool table","put folded card under table", "put folded card under wonky leg","fix table with card","fix table with folded card","fix pool table with card","fix pool table with folded card","put folded card under table","put folded card under pool table","place card under pool table" as pinking.

Instead of pinking when wonky pool table is not touchable:

Say "There is no pool table here that needs fixing!"

Instead of pinking when wonky pool table is touchable:

If player is carrying folded christmas card:

Say "You place the folded Christmas card under the leg in the corner of the table where the balls keep accumulating. The balls roll back to the centre. You've fixed it!";

Now wonky pool table is nowhere;

Now fixed pool table is inside the cross keys inn;

Now folded christmas card is nowhere;

Else If player is carrying Christmas Card:

Say "You try placing the card under the leg in the corner of the table where the balls keep accumulating, but the card is too thin to level the table.";

Else:

Say "You're not carrying a card!".