Scroll Thief — 40 of 138

Daniel M. Stelzer

Release 2

Book S2 - Status Line

Table of Scroll Thief Status

leftcentralright
"[player's surroundings]""[time of day]""[elaborate score]"

Table of Scroll Thief Compass Status

leftcentralright
"[player's surroundings]""[compass rose top]""[elaborate score]"
"[current act]""[compass rose middle]""[time of day]"
"[puzzle count] problem[s]""[compass rose bottom]""Turn [turn count]"

To say current act:

if Act 1 is happening:

say "Act 1";

else if Act 2 is happening:

say "Act 2";

otherwise:

say "Finis"

To say elaborate score:

say "[score]/[maximum score] points".

status bar is an active boolean option.

Rule for constructing the status line:

if the status bar is inactive:

deepen the status line to 0 rows;

otherwise if the compass rose is active:

fill the status bar with the Table of Scroll Thief Compass Status;

otherwise:

fill the status bar with the Table of Scroll Thief Status.

Displaying status information is an action out of world applying to nothing. Understand "status" as displaying status information. [For screen readers and other terps without a proper status line.]

Carry out displaying status information:

say "[player's surroundings].

[current act].

There are [puzzle count] problems.

You have earned [score] out of [maximum score] points.

It is currently turn [turn count], at [time of day].[r][br]";

try listing exits.