d
Section 1 - Places
After printing the name of a container: omit contents in listing.
After printing the name of a supporter: omit contents in listing.
The describe what's on scenery supporters in room descriptions rule is not listed in any rulebook.
For printing a locale paragraph about a supporter (called table-top-place) (this is the initial appearance on supporters rule):
repeat with item running through not handled things on the table-top-place which provide the property initial appearance:
now the item is mentioned;
say initial appearance of the item[, paragraph break];
continue the activity;
Town is a region. [Hotel Lobby,]Hotel Exterior, East Town, Fight and West Town [Room 1, Room 2, and Room 3] are rooms in Town.
Wilderness is a region. Cabin Exterior is a room in Wilderness.
Hotelle is a region. Hotel Lobby, Room 1, Room 2, and Room 3 are rooms in Hotelle.
Room 1 is west of Hotel Lobby. Room 2 is north of Hotel Lobby. Room 3 is east of Hotel Lobby. Hotel Exterior is south of Hotel Lobby. West Town is west of Hotel Exterior. Cabin Exterior is west of West Town. East Town is east of Hotel Exterior.
West Town is a room with description "On the western edge of town. You can see a cabin further west, just outside the town limits.".
East Town is a room with description "On the eastern edge of town. Further east, you see a vast nothingness. [if the time of day is before 11 AM]To the north, in the distance, you can see a trio of gunslingers having a heated argument. You'd approach, but it doesn't look safe.[otherwise] To the north, there's a trio of gunslingers arguing. Their argument is reaching a head - they'll be splitting off soon to arm themselves and convene for the shootout.".
Fight is a room. Fight is north of East Town.
Instead of going nowhere from East Town, say "Only desert and death by dehydration lie that way. Better head back.".
Instead of going north from East Town, say "It's too dangerous to interfere directly with their fight. Better to find another way of dealing with their conflict.".
Hotel Exterior is a room with description "You are outside the hotel, on the main avenue of town. The street runs east and west. The hotel is in front of you, to the north."; [Attached to the west wall of the hotel, outside a window, is a flagpole sticking out of the wall. You can't see it clearly from here."]
Cabin Exterior is a room with description "You stand outside the cabin on the outskirts of town. A nameplate reading [quotation mark]Paul Regret[quotation mark] is on the door. [if the time of day is before 8 AM]Paul Regret is visible through the window, asleep. [otherwise]Through the window, Paul Regret is visible, cleaning and loading his Winchester rifle.[end if][if mustang is tied]There is a mustang tied to a hitching post nearby. ";
Hotel Lobby has description "Looks like there was quite a brawl here last night, as the place is a mess. You can see passageways to rooms 1, 2, and 3 in the west, north, and east walls, respectively. The exit is behind you, to the south." The player is in the Hotel Lobby.
Room 1 has description "The room is pretty bare. An [unmade bed] lies against the back wall. The exit is to the east."
Room 2 has description "The room is a horrific mess. A [ratty old bed] sits against the corner, its [sheets] strewn across in disarray. The exit is to the south."
Room 3 has description "The room is eerily dark, and just as eerily neat. The exit is to the west."
[Tequila Jim is a man in Hotel Lobby. Tequila Jim is scenery. The description is "Looks like he had a rough night. [paragraph break]".
Instead of doing anything to Tequila Jim: say "[description of Tequila Jim]..better not disturb him.".]
[Tequila Jim sits in one corner - dazed, pantsless, and reeking of whiskey.]
Traveling to is an action applying to one thing. Understand "go to [any room]" as traveling.
Check traveling to when noun is not a room: instead say "That's not a place you can go."
Check traveling to when noun is not visited and noun is not regionally in Hotelle: instead say "You don't know how to get there."
Carry out traveling to:
truncate Route to the first 0 entries;
if location is not noun:
travel to noun;
remove entry 1 from Route;
say "You arrive at [location][if Route is not empty], passing through [Route][end if].";
try looking;
otherwise:
say "You're already here."
Understand "tequila jim's room", "tequila's room", "jim's room" as Room 1. Understand "room1" as room 1. Understand "room2" as room 2. Understand "room3" as room 3.
Route is a list of rooms that varies.
To travel to (destination - a room):
if location is not destination:
add location to Route;
let new direction be the best route from location to noun;
try silently going new direction;
travel to destination.
Does the player mean traveling to hotel exterior: it is unlikely.
Section 2- Concierge and Conversation
[[After describing the Hotel Lobby for the first time, say "(Try TALKing to the concierge.)";]
The block asking rule is not listed in the report asking it about rulebook.
Talking to is an action applying to one thing. Understand "talk [something]" or "talk to [something]" as talking to.
Check talking to when the noun is not a person:
instead say "You get no response."
Report talking to the concierge for the first time:
say "To ask about a specific topic, use the command 'ask about [bracket]something[close bracket]'.".
Check talking to when the noun is the concierge:
say "He turns from his newspaper and gives you an annoyed look, 'Can I help you?'[paragraph break]";
say "(If you're new to Interactive Fiction, ask about HELP. You can also ask him about ROOMS.)[paragraph break]".
Instead of asking about "Rooms": say "The concierge narrows his eyes at you. [paragraph break][quotation mark]Hmph. Tequila Jim is staying in Room 1, Tame Jesse is staying in Room 2, and Billy the Post-Adolescent is staying in Room 3. Not that it[']s any of your business.[quotation mark][line break]".
Instead of asking about "Help": say "The concierge puts his newspaper down and sighs rather loudly in exasperation.[paragraph break][quotation mark]You can LOOK around, LOOK at an object, OPEN/CLOSE things, TAKE or DROP items, or GO from one place to another. There[']s also a couple of other available commands based on context - if you want to take an action, try it out.[quotation mark][line break]";
Rule for supplying a missing noun when asking something about:
now the noun is the concierge.
Askingnothing is an action applying to one topic. Understand "ask about [text]" as askingnothing.
Instead of askingnothing:
try asking the concierge about the topic understood.
The concierge is a man in Hotel Lobby. The description of the concierge is "A disgruntled-looking man, reading a newspaper and occasionally glancing over at you. He seems to be silently hoping you don't bother him."]
Helping is an action applying to nothing. Understand "Help", "help me", "What do i do", "What now" as helping.
Carry out helping:
say "You can LOOK around, EXAMINE an object, OPEN/CLOSE things, TAKE or DROP items, or GO from one place to another. You also have the ability to FORESEE the future, which will help you make sure the shootout ends so that none of the gunslingers have a clear advantage. [paragraph break]There are also a couple of other available commands based on context - if you want to take an action, try it out."
Chapter 2 - Objects
Section 1 - All Rooms
A dresser is a kind of container. A dresser is usually closed and openable and fixed in place. The description is usually "A large dresser for holding clothes.".
A heater is a kind of container. A heater is usually closed and openable and fixed in place. The description is usually "A hefty cast-iron heater. It's large enough to accomodate coals or embers for heating, but it's currently empty.".
A nightstand is a kind of supporter. A nightstand is usually fixed in place. The description is usually "A single-drawer wooden nightstand. Useful for holding important items while you sleep." A drawer is a kind of container. A drawer is usually fixed in place, closed and openable. A drawer is a part of every nightstand. The description is usually "It[']s a drawer. It[']s not that complicated.".
Instead of opening a nightstand:
try opening a random visible drawer.
Instead of inserting anything into a nightstand:
try inserting the noun into a random visible drawer.
A bed is a kind of supporter. A bed is usually scenery. The description is usually "A cheap hotel bed."
A window is a kind of container. A window is always fixed in place. A window is usually openable.
The desk is a supporter in the Hotel Lobby. The desk is fixed in place. The description of the desk is "A worn wooden hotel desk." The register is a thing with description "[line break][fixed letter spacing]TEQUILA JIM --------------------- ROOM 1[line break]TAME JESSE ---------------------- ROOM 2[line break]BILLY THE POST-ADOLESCENT ------- ROOM 3[variable letter spacing]". The register is on the desk.
Section 2 - Room 1
There is a nightstand in Room 1. There is a heater called an iron heater in Room 1. A large wooden dresser is a dresser in Room 1. There is a pair of pants in the large wooden dresser. The pair of pants has description "A pair of slightly tacky denim jeans." Understand "jeans" as pants.
A pile of sheets is scenery in Room 1. The description is "I wouldn't want to sleep in those." Some pillows are scenery in Room 1. The description is "I wouldn't want to sleep in those."
Understand "sheet" as the sheets. Understand "pillow" as the pillows.
Instead of taking the sheets:
say "You shouldn't move the bedlinens, or Tequila Jim will know someone was here. There's no maid service here."
Instead of taking the pillows:
say "You shouldn't move the bedlinens, or Tequila Jim will know someone was here. There's no maid service here."
Instead of wearing the pants: say "Those aren't your size!"
There is a bed called an unmade bed in Room 1. The description of the unmade bed is "The sheets and pillows are in disarray. If your mother saw this, she would whip you but good."
[A large window is a closed window in Room 1. The description is "You can see a flagpole just outside the window."
There is a supporter called flagpole in Room 1. It is fixed in place and undescribed. The description is "A pole for holding flags, fixed to the wall just within reach outside the window." [It currently bears the Australian flag, for no apparent reason."]
Instead of entering the flagpole: say "That's not a good idea."
Instead of putting anything on the flagpole when the noun is not the pair of pants: say "That doesn't seem safe..."
Check examining the flagpole when the large window is closed: say "You can't get a good look from here." instead.
Instead of inserting anything into the large window: say "You shouldn't throw things out of windows." instead.]
The pair of pants can be placed correctly or not placed correctly. The pair of pants is not placed correctly.
After doing anything to the pair of pants [other than examining the pair of pants]:
If the pair of pants is not in Room 1 and the pair of pants is not enclosed by anything in Room 1[the dresser in Room 1 and the pair of pants is not in the heater in Room 1 and the pair of pants is not in the drawer in Room 1]:
now the pants are placed correctly;
otherwise:
now the pants are not placed correctly;
If the pair of pants is held,
now the pants are not placed correctly;
continue the action.