A Christmas Game (Inform Port) — 8 of 15

Luke Jones

Release 2

Section 7 - The Elves Workshop

The Workshop is a room."

You are in the Elves Workshop, there are row upon row of workbenches with toys, decorations and Christmas paraphernalia of every type in various states of completion."

Below Santa's Grotto is The Workshop.

The printed name of The Workshop is "The Elves Workshop".

Instead of smelling The Workshop:

Say "There is a smell of sawdust and glue."

Instead of listening to The Workshop:

If idle elves are in the workshop:

Say "The workshop is pretty silent apart from the odd grunt or mumble from the elves playing cards.";

Else:

Say "The workshop is a noisy din. The elves are working like lightening at their workbenches, and the Chief Elf is shouting instructions."

A Poster is an object.

A Poster is inside The Workshop.

Description of Poster is "The poster reads, 'Christmas Cracker joke writer wanted. Excellent rates of pay, enquire with Chief Elf''"

Some Workbenches are objects.

Workbenches are inside the workshop.

Workbenches are scenery.

Description of workbenches is "Benches for working on."

Some Idle Elves are people. The printed name of idle Elves is "Elves".

Some Idle Elves are in The Workshop.

Description of Idle Elves is "The Elves are sat playing cards, they look bored."

Instead of talking to Idle Elves:

say "'We're on strike, you'll have to talk to the Chief'"

The Chief Elf is a person.

The Chief Elf is inside The Workshop.

The indefinite article of The Chief Elf is "the".

Description of Chief Elf is "[chief_description]"

To say chief_description:

if idle elves are inside workshop:

say "You can see why this guy is the 'Chief' Elf, he's taller than you! His lanky frame is all arms and legs, he's wearing a green robe trimmed with white fur, a green and yellow striped cone-shaped hat and yellow stockings.

He has a face as long as a fortnight, one unhappy chap.";

otherwise:

say "You can see why this guy is the 'Chief' Elf, he's taller than you! His lanky frame is all arms and legs, he's wearing a green robe trimmed with white fur, a green and yellow striped cone-shaped hat, and yellow stockings.

Thanks to the beer he's in a good mood for once!".

Instead of talking to the Chief Elf:

If idle elves are inside workshop:

Say

"The Chief Elf looks at you witheringly, 'and what do YOU want?' he says.";

Otherwise:

Say

"'Thanks again for the beer, it brought me to my senses!'"

Some busy Elves are people. The printed name of busy Elves is "Elves".

Some busy Elves are nowhere.

The description of busy Elves is "The elves are a blur of activity, you've never seen people work so fast before."

Instead of talking to busy Elves:

Say "No time to talk, we've too much to do!"

Instead of asking Chief Elf about "job":

If Bob Cratchit is in Workshop:

say "'The position is full now, this chap called Bob turned up.' The Chief Elf nods towards Bob in the corner. 'His puns even make me groan!'";

Otherwise:

say "The Chief Elf says, 'Yes we're on the look out for a new cracker joke writer, the last one was far too witty.'"

A box of Christmas Crackers are an object.

A box of Christmas Crackers are nowhere.

Description of a box of Christmas Crackers is "Some seriously bling Crackers! An assorted box of large gold and silver crackers with glittery bows. A quick glimpse of the back of the box shows lots of photos of the shiny objects that are the gifts inside.".

Instead of taking Christmas Crackers:

Say "Taken.";

Move Christmas Crackers to the player;

Increase quest_count by 1.

Instead of dropping Christmas Crackers:

Say "You don't want to drop the crackers, you want to take them home for Christmas!"

Instead of pulling Christmas Crackers:

Say "Nice idea, but the gifts inside would be no help to you, you decide to save them for tomorrow."

Instead of opening Christmas Crackers:

Say "Nice idea, but the gifts inside would be no help to you, you decide to save them for tomorrow."

Instead of telling Chief Elf about "a joke":

Say "The Chief Elf sighs, 'Yes very droll, but not the kind of humour we're looking for here'".

Instead of asking Chief Elf about "strike":

If idle elves are in Workshop:

Say "'I'm sick of being taken for granted around here, haven't had a pay rise for years, no overtime even on Christmas Eve...come the revolution..' he continues to grumpily reel off a list of complaints, and empty revolutionary slogans.";

Otherwise:

Say "'Yeah, there's no need for that now, the beer cheered me up and I realised I was being a right twat!'"

Instead of asking Chief Elf about "Crackers":

If idle elves are in Workshop:

Say "'Crackers? My boys make the best! But not today, I'm sick of being taken for granted around here, haven't had a pay rise for years, no overtime even on Christmas Eve...come the revolution..' he continues to grumpily reel off a list of complaints and empty revolutionary slogans.";

Otherwise:

Say "'My boys make the best!'"

Instead of asking Chief Elf about "Beer":

If idle elves are in Workshop:

Say "'Huh! Chance would be a fine thing!'";

Otherwise:

Say "My favourite tipple, cheered me right up! Thanks!'"

Instead of asking Chief Elf about "santa":

If idle elves are in Workshop:

Say "Don't get me wrong I love the guy, would do anything for him, but his demands are relentless.";

Otherwise:

Say "'Love the guy! Would do anything for him.'"

Instead of asking Chief Elf about "toys":

If idle elves are in Workshop:

Say "'Toys? My boys make the best! But not today, I'm sick of being taken for granted around here, haven't had a pay rise for years, no overtime even on Christmas Eve...come the revolution..' he continues to grumpily reel off a list of complaints and empty revolutionary slogans.";

Otherwise:

Say "'My boys make the best!'"

Instead of asking Chief Elf about "Elves":

Say "I love my boys, hardest grafters you've ever seen!"

Instead of asking Chief Elf about "poster":

If bob is in workshop:

Say " The job's taken. We've got this great chap called Bob. His jokes are some of the groantastic we've ever made! The last guy was far too witty, we had to sack him in the end.";

Otherwise:

Say "If you know anyone who would fit the job let them know. We had to let our last joke writer go, he was far too witty!"

Instead of asking Chief Elf about "Joke writer":

If Bob is in workshop:

Say "'Yes we've got a new one, his name's Bob, he's got a real talent for it.";

Otherwise:

Say "'Yes we're after a new one, the old one was far too witty.'"

Instead of giving pint of beer to Chief Elf:

Say "The Chief Elf smiles, takes the beer from you and downs it in four huge gulps. He wipes the froth from his top lip and belches.

'Right boys, time to get back to work!' The elves go into a frantic blur of activity and the production line starts up again.

The Chief Elf thanks you and says 'There's a box of crackers over there, our finest, help yourself.'";

Now idle Elves are nowhere;

Now Busy Elves are in Workshop;

Now pint of beer is nowhere;

Now christmas crackers are in Workshop.