Chunky Blues — 5 of 59

Scott Hammack and Jessamin Yu

Release 2

Book 4 - Actions Out of World

Printing status is an action out of world. Understand "status" as printing status.

Report printing status:

say "You are in [location] on turn [turn count] with a score of [score][if score is less than maximum score], down from [maximum score][end if]. You have encountered a total of [number of familiar ideas] idea[s] and visited [number of visited rooms] location[s]. Your base short-term memory capacity is [STM default capacity]";

if STM capacity is not STM default capacity:

say ", currently affected by a [if STM capacity minus STM default capacity is greater than 0]+[end if][STM capacity minus STM default capacity] modifier";

say "."

Printing exits is an action out of world. Understand "exits" as printing exits.

Report printing exits:

let place be location;

let fred be a list of directions;

repeat with way running through directions:

let place be the room way from the location;

if place is a room, add way to fred;

say "[if the number of entries in fred is 1]The only exit is [fred][else]Exits are available in the following directions: [fred][end if].";

To say mini exit list:

let place be location;

say " - ";

repeat with way running through directions:

let place be the room way from the location;

if place is a room, say "[way]".

To whisper (item - indexed text):

if help text is true:

say "[italic type][bracket][item][close bracket][roman type][paragraph break]";