talking artifact inconsistency

To get the Magic Mirror of Merlin to speak, you could apply it in
any direction (or wield it).  To get the Master Key of Thievery to
speak, you had to apply it toward an adjacent doorway or down while
on a container (or wield it).  Make the key behave like the mirror.
This commit is contained in:
PatR
2023-03-18 21:47:34 -07:00
parent 73f1dd2aee
commit 0e761c3e30
4 changed files with 11 additions and 8 deletions

View File

@@ -230,7 +230,9 @@ ready_weapon(struct obj *wep)
}
/* KMH -- Talking artifacts are finally implemented */
arti_speak(wep);
if (wep && wep->oartifact) {
res |= arti_speak(wep); /* sets ECMD_TIME bit if artifact speaks */
}
if (artifact_light(wep) && !wep->lamplit) {
begin_burn(wep, FALSE);