— Here’s what I’ve got (I’m just piddling with this for the first time; I feel dumb, as I’m a computer programmer, and I keep wanting to make arrays and assign variables and stuff):
“A Bad Day at Black Rock” by Jim Work
When play begins:
change the time of day to 12:00 PM;
At 12:03 PM:
say “Neat!”
Include Version 1/071115 of Shipboard Directions by Mikael Segercrantz.
A room has a number called belowdecks. Belowdecks is usually 1.
The Deck is a room. Belowdecks is 0. “The deck of the wooden ship shows the wear of many years at sea. A hatch leads down to the crew’s quarters. The crow’s nest is high atop the mainmast, above you. The Captain’s cabin is aft, to the south. The foc[']sle is forward, to the north.”
[Heading is a kind of value. The headings are centered, port, island, and starboard.]
The Wheel is in the deck. [The wheel has a heading.] The description is “The wheel controls the heading of the ship. You can turn it to port or starboard. After you turn it, the boat will change direction, and the wheel will return to its center position.”
[Wheel commands - Right now it just turns]
After reading a command:
if the player’s command matches “turn the wheel to port”
begin;
say “The ship tilts slightly as it heels to port.”;
end if;
After reading a command:
if the player’s command matches “turn the wheel to starboard”
begin;
say “The ship tilts slightly as it heels to starboard.”;
end if;
After reading a command:
if the player’s command matches “turn wheel to port”
begin;
say “The ship tilts slightly as it heels to port.”;
end if;
After reading a command:
if the player’s command matches “turn wheel to starboard”
begin;
say “The ship tilts slightly as it heels to starboard.”;
end if;
[If the wheel is turned, give the wheel the heading port.]
Instead of taking the wheel: say “It is connected to the rudder, and bolted into place.”
The Crow’s Nest is a room. Belowdecks is 0. It is up from the Deck. The description is “Standing high above the deck, you can see for leagues. Deep water surrounds you, and the gently rolling whitecaps stretch to the horizon in all directions.”
The Deck Hatch is a door and scenery. It is closed. It is down from the Deck and up from the Crew’s Quarters. The description is “The deck hatch is made of a solid piece of teak.”
The Crew’s Quarters is a room. It is down from the Deck Hatch. “The crew’s quarters is a tiny compartment with hammocks strung along the port and starboard walls. Each hammock allows only a few inches of space for reclining. You cannot stand up completely, as the heavy beams of the low ceiling are not quite four feet from the bottom of the ship. The bilge lies aft through a hatch with no door.”
The Bilge is a room. It is aft from the Crew’s Quarters. “The bilge is a large storage space.”
The Captain’s Cabin is a room. It is aft of the Deck. “The Captain’s cabin has a commanding view of the sea through heavy glass windows all about.”
The Forecastle is a room. It is fore of the Deck. “The forecastle (or ‘foc[’]sle’) houses the ship[']s two massive bronze guns.”
Thanks!