Recess At Last — 9 of 73

Gerald Aungst

Release 1

hermals

[This identifies clothing that warms the player, specifically coat, hat, and mittens. Then the following "warmth-list" code will be able to list the specific thermal items that the the player is still not wearing. This will allow NPCs to tell the player which things he/she still needs to find and put on before going outside for recess.]

A thermal is a kind of thing. A thermal is always wearable. Understand "put [any thermal] on" as wearing.

To say warmth-list:

let missing-items be the number of thermals not worn by the player;

if the winter coat is not worn, say "coat";

if missing-items is 2, say " and ";

if missing-items is 3, say ", ";

if the ski hat is not worn, say "hat";

if the winter coat is worn and missing-items is 2, say " and ";

if missing-items is 3, say ", and ";

if the Spiderman mittens are not worn, say "mittens".