Add litmus test

Original patch by Dylan O'Donnell
This commit is contained in:
Pasi Kallinen
2015-04-13 18:30:49 +03:00
parent 0b0c769a05
commit eba5bf7d5e
5 changed files with 14 additions and 3 deletions

View File

@@ -1819,6 +1819,15 @@ dodip()
return 1;
}
if(potion->otyp == POT_ACID && obj->otyp == CORPSE &&
obj->corpsenm == PM_LICHEN & !Blind) {
pline("%s %s %s around the edges.", The(cxname(obj)),
otense(obj, "turn"), potion->odiluted ?
hcolor(NH_ORANGE) : hcolor(NH_RED));
potion->in_use = FALSE; /* didn't go poof */
return(1);
}
if(is_poisonable(obj)) {
if(potion->otyp == POT_SICKNESS && !obj->opoisoned) {
char buf[BUFSZ];