track the handedness of the hero
Don't make either LEFT_HANDED or RIGHT_HANDED be an advantage or a disadvantage. use suggested macros
This commit is contained in:
13
src/objnam.c
13
src/objnam.c
@@ -1406,7 +1406,15 @@ doname_base(
|
||||
tethered ? "tethered " : "", /* aklys */
|
||||
/* avoid "tethered wielded in right hand" for twoweapon */
|
||||
(twoweap_primary && !tethered) ? "wielded" : "weapon",
|
||||
twoweap_primary ? "right " : "", hand_s);
|
||||
URIGHTY ? "right " : "left ",
|
||||
/*
|
||||
(twoweap_primary && URIGHTY)
|
||||
? "right "
|
||||
: (twoweap_primary && ULEFTY)
|
||||
? "left "
|
||||
: "",
|
||||
*/
|
||||
hand_s);
|
||||
if (!Blind) {
|
||||
if (gw.warn_obj_cnt && obj == uwep
|
||||
&& (EWarn_of_mon & W_WEP) != 0L)
|
||||
@@ -1423,7 +1431,8 @@ doname_base(
|
||||
}
|
||||
if (obj->owornmask & W_SWAPWEP) {
|
||||
if (u.twoweap)
|
||||
Sprintf(eos(bp), " (wielded in left %s)", body_part(HAND));
|
||||
Sprintf(eos(bp), " (wielded in %s %s)",
|
||||
URIGHTY ? "left" : "right", body_part(HAND));
|
||||
else
|
||||
/* TODO: rephrase this when obj isn't a weapon or weptool */
|
||||
Sprintf(eos(bp), " (alternate weapon%s; not wielded)",
|
||||
|
||||
Reference in New Issue
Block a user