Wand of probing reveals tin contents

This commit is contained in:
Pasi Kallinen
2023-10-01 14:49:00 +03:00
parent ac9be58970
commit 412a996da8
2 changed files with 5 additions and 2 deletions

View File

@@ -1248,6 +1248,7 @@ the throne room on the Samurai quest home level lacked a throne but gave
coughing due to stinking cloud wakes up nearby monsters
stop occupation when timed levitation or choking issues a message
use #monster to make dragon steed breathe
wand of probing reveals tin contents
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -566,7 +566,8 @@ probe_objchain(struct obj *otmp)
otmp->lknown = 1;
if (!SchroedingersBox(otmp))
otmp->cknown = 1;
}
} else if (otmp->otyp == TIN)
otmp->known = 1;
}
}
@@ -2163,7 +2164,8 @@ bhito(struct obj *obj, struct obj *otmp)
(void) display_cinventory(obj);
}
res = 1;
}
} else if (obj->otyp == TIN)
obj->known = 1;
if (res)
learn_it = TRUE;
break;