Part Map
A map is part of the notebook. The description is "[first time]As part of your preparations, you've spent a while surveying the manor from the outside, noting down its dimensions and where the rooms should be. The result is as detailed as you could make it without going in.[p]...which is not very detailed, to be honest.[p]It's a square. You've drawn a square. But now that you're in, you can update it as you go.[p][tut]If you're using a screen reader, the map below will sound like nonsense. Use READ TEXT MAP instead for a verbal description.[/tut][only][draw map][p][map legend]".
To say draw map:
say fixed letter spacing;
say "[maproom kitchen]-[maphoriz door1]-[maproom huge room]-[maphoriz jam1]-[maproom sunroom][br][mapvert door6] [mapvert door2][br][maproom dining room] [maproof] [maproom library][br][mapvert jam2] [mapvert door3][br][maproom sitting room]-[maphoriz door5]-[maproom entrance]-[maphoriz door4]-[maproom study]"; [This is going to be a pain in the ass to debug…]
say variable letter spacing.
To say maproom (place - a room):
if the place is the location:
say "&";
else if the place is not visited:
say "+";
else if the place is hauntable:
if the place is the location of the ghost, say "G";
otherwise say "@";
else:
say "o".
To say maphoriz (place - an internal-door):
if the place is unseen:
say "-";
else if the place is jammed:
say "#";
else if the place is open:
say "-";
else:
say "x".
To say mapvert (place - an internal-door):
if the place is unseen:
say "|";
else if the place is jammed:
say "#";
else if the place is open:
say "|";
else:
say "x".
To say maproof:
if the location is the Roof, say "&";
else say " ".
To say map legend:
say "KEY: [if there is an unvisited room in the mansion-region]+ = unseen room, o = seen room, [end if][if there is a hauntable room]@ = detector, [end if]& = you[if the location of the ghost is hauntable], G = ghost[end if], x = closed door[if there is a seen jammed door], # = blocked door[end if]".
The mansion-region is a region. The kitchen, the huge room, the sunroom, the dining room, the library, the sitting room, the entrance, and the study are in the mansion-region.
[Every turn: say "Hauntable: [the list of hauntable rooms]."]