ring item action bit for 'P'
If the hero is in a form without fingers but is wearing two rings (put on before shape change), examining inventory and selecting a third ring shows an item action menu entry of "P - [both ring fingers in use]" (as of a couple of days ago). Change that to plug in appropriate body part for finger.
This commit is contained in:
+5
-2
@@ -3343,8 +3343,11 @@ itemactions(struct obj *otmp)
|
|||||||
Strcpy(buf, !uamul ? "Put this amulet on"
|
Strcpy(buf, !uamul ? "Put this amulet on"
|
||||||
: "[already wearing an amulet]");
|
: "[already wearing an amulet]");
|
||||||
} else if (otmp->oclass == RING_CLASS || otmp->otyp == MEAT_RING) {
|
} else if (otmp->oclass == RING_CLASS || otmp->otyp == MEAT_RING) {
|
||||||
Strcpy(buf, (!uleft || !uright) ? "Put this ring on"
|
if (!uleft || !uright)
|
||||||
: "[both ring fingers in use]");
|
Strcpy(buf, "Put this ring on");
|
||||||
|
else
|
||||||
|
Sprintf(buf, "[both ring %s in use]",
|
||||||
|
makeplural(body_part(FINGER)));
|
||||||
} else if (otmp->otyp == BLINDFOLD || otmp->otyp == TOWEL
|
} else if (otmp->otyp == BLINDFOLD || otmp->otyp == TOWEL
|
||||||
|| otmp->otyp == LENSES) {
|
|| otmp->otyp == LENSES) {
|
||||||
if (ublindf)
|
if (ublindf)
|
||||||
|
|||||||
Reference in New Issue
Block a user