boolean usegold = FALSE; /* can't use gold because its illegal */
boolean allowall = FALSE;
boolean allownone = FALSE;
+ boolean useboulder = FALSE;
xchar foox = 0;
long cnt;
boolean prezero = FALSE;
*/
if(allowall && !strcmp(word, "read")) allowall = FALSE;
+ /* another ugly check: show boulders (not statues) */
+ if(*let == WEAPON_CLASS &&
+ !strcmp(word, "throw") && throws_rocks(youmonst.data))
+ useboulder = TRUE;
+
if(allownone) *bp++ = '-';
#ifndef GOLDOBJ
if(allowgold) *bp++ = def_oc_syms[COIN_CLASS];
#ifdef GOLDOBJ
|| (usegold && otmp->invlet == GOLD_SYM)
#endif
+ || (useboulder && otmp->otyp == BOULDER)
) {
register int otyp = otmp->otyp;
bp[foo++] = otmp->invlet;