Bronze — 19 of 46

Emily Short

Release 13

Chapter 6 - Crypt, and Darkness

Section 1 - Darkness In General

[Darkness in Bronze is a bit more complicated than average because we take into account what can be heard, and also whether there is a light source in a room that might be shining into the dark one. So we set some general rules for it here:]

Rule for printing the description of a dark room:

if an adjacent room (called the light source) is discernible

begin;

let way be the best route from the location to the light source, using doors;

if way is up

begin;

say "Though a dim light filters down from [the light source in lower case], you can see almost nothing of the contents of your current location[if an adjacent room which is not the light source contains the candle], and a raking light across the floor from the next room[end if].";

if location is Debtor's Paradise

begin;

if trapdoor is not scenery

begin;

say "[line break]The only thing you can make out clearly is [the trapdoor].[line break]";

end if;

end if;

if location is Tight Passage

begin;

say "[line break][The inscription] stands out beautifully now.";

end if;

otherwise;

if candle is on a supporter

begin;

say "The light from [way] comes in a bit above floor-level, sharply illuminating one wall but leaving the rest of your surroundings dark and unfathomable.";

if location is Debtor's Paradise and trapdoor is not scenery, say "[line break]The only thing you can make out clearly is [the trapdoor].[line break]";

if location is Tight Passage, say "[line break][The inscription] stands out beautifully now.";

otherwise;

say "It's very dark and you can barely make out any of the room's contents, or even tell where the walls are. The only illumination is a harsh raking light across the floor, coming in from [the way].";

if location is Debtor's Paradise

begin;

if trapdoor is not scenery

begin;

say "[line break]The only thing you can make out clearly is [the trapdoor].";

otherwise;

now the trapdoor is fixed in place;

now the trapdoor is not scenery;

say "[line break]In fact, that oddly-angled light shows an unevenness in the floor: [a trapdoor] of matched stone.";

end if;

end if;

if location is Tight Passage

begin;

say "[line break][The inscription] is unfortunately just too high on the wall to be fully lit this way, though you can pick up part of it.";

end if;

end if;

end if;

otherwise;

let the overview be the room up from the location;

if the overview is a room and overview is not dark

begin;

say "Though a dim light filters down from [the overview in lower case], you can see almost nothing of the contents of your current location. You find yourself concentrating all the more alertly on your hearing, as though the slightest echo might offer a clue.";

otherwise;

say "It's so dark in here that you have to feel your way along, and are nervous of tripping at any moment. You find yourself concentrating all the more alertly on your hearing, as though the slightest echo might offer a clue.";

end if;

say line break;

play sounds;

end if;

rule succeeds.