Add 'readable' Hawaiian shirt designs

Functionally similar to reading a T-shirt or apron, but rather than
actual text printed on the shirt being displayed, the design of the
Hawaiian shirt is described: for example, "hula dancers on an orange
background" or "tropical fish on an abstract background".  Much like
T-shirts have their text included in the game-end inventory list ('a
blessed +2 T-shirt with text "foo"'), Hawaiian shirts now have a brief
description of their design appended to their item name under the same
circumstances.

Because 'reading' a Hawaiian shirt doesn't actually involve reading
text, using the 'r' command in this way doesn't break illiterate
conduct.
This commit is contained in:
Michael Meyer
2020-10-29 17:19:31 -04:00
committed by Patric Mueller
parent 71084bbf61
commit d8dc16e393
4 changed files with 80 additions and 3 deletions

View File

@@ -2113,6 +2113,7 @@ extern long random(void);
extern void learnscroll(struct obj *);
extern char *tshirt_text(struct obj *, char *);
extern char *hawaiian_motif(struct obj *, char *);
extern char *apron_text(struct obj *, char *);
extern const char *candy_wrapper_text(struct obj *);
extern void assign_candy_wrapper(struct obj *);