Hallu Banana

This commit is contained in:
Pasi Kallinen
2024-04-14 10:14:27 +03:00
parent f2d0dbcc09
commit bad63a0d36
+9
View File
@@ -4076,6 +4076,9 @@ apply_ok(struct obj *obj)
|| obj->otyp == LUMP_OF_ROYAL_JELLY) || obj->otyp == LUMP_OF_ROYAL_JELLY)
return GETOBJ_SUGGEST; return GETOBJ_SUGGEST;
if (obj->otyp == BANANA && Hallucination)
return GETOBJ_DOWNPLAY;
if (is_graystone(obj)) { if (is_graystone(obj)) {
/* The only case where we don't suggest a gray stone is if we KNOW it /* The only case where we don't suggest a gray stone is if we KNOW it
isn't a touchstone. */ isn't a touchstone. */
@@ -4284,6 +4287,12 @@ doapply(void)
case TOUCHSTONE: case TOUCHSTONE:
res = use_stone(obj); res = use_stone(obj);
break; break;
case BANANA:
if (Hallucination) {
pline("It rings! ... But no-one answers.");
break;
}
/*FALLTHRU*/
default: default:
/* Pole-weapons can strike at a distance */ /* Pole-weapons can strike at a distance */
if (is_pole(obj)) { if (is_pole(obj)) {