Blue Lacuna — 71 of 467

Aaron A. Reed

Release 4

Section - Room Descriptions

[ This was an early system for dynamic room descriptions that ended up being almost entirely deprecated in the final version.]

Describing is an action applying to one thing.

To process description table (tab - a table-name) with (r - a number):

if r is 98, say ", ";

if r is 99, say ". ";

if r is at most 97 begin;

choose row r in tab;

say "[text entry]";

end if.

To do the room description dance with (t1 - a table-name) and (t2 - a table-name):

repeat through t1 begin;

if time entry is current interval begin;

if there is a s1 entry, process description table t2 with s1 entry;

if there is a s2 entry, process description table t2 with s2 entry;

if there is a s3 entry, process description table t2 with s3 entry;

if there is a s4 entry, process description table t2 with s4 entry;

if there is a s5 entry, process description table t2 with s5 entry;

if there is a s6 entry, process description table t2 with s6 entry;

if there is a s7 entry, process description table t2 with s7 entry;

if there is a s8 entry, process description table t2 with s8 entry;

if there is a s9 entry, process description table t2 with s9 entry;

if there is a s10 entry, process description table t2 with s10 entry;

stop;

end if;

end repeat.

Table of Explanatory Structure

times1s2s3s4s5s6s7s8s9s10
an intervala numbera numbera numbera numbera numbera numbera numbera numbera numbera number