blindfold (from r.g.r.n)
Someone suggested that if your vision is only blocked by a blindfold and it's the blindfold that glows, you should be able to see it.
This commit is contained in:
@@ -100,6 +100,9 @@
|
||||
!(ublindf && ublindf->oartifact == ART_EYES_OF_THE_OVERWORLD))
|
||||
/* ...the Eyes operate even when you really are blind
|
||||
or don't have any eyes */
|
||||
#define Blindfolded_only (!Blinded && haseyes(youmonst.data) && Blindfolded && \
|
||||
!(ublindf && ublindf->oartifact == ART_EYES_OF_THE_OVERWORLD))
|
||||
/* blind because of a blindfold, and *only* that */
|
||||
|
||||
#define Sick u.uprops[SICK].intrinsic
|
||||
#define Stoned u.uprops[STONED].intrinsic
|
||||
|
||||
@@ -1682,7 +1682,7 @@ dodip()
|
||||
}
|
||||
potion->in_use = TRUE; /* assume it will be used up */
|
||||
if(potion->otyp == POT_WATER) {
|
||||
boolean useeit = !Blind;
|
||||
boolean useeit = !Blind || (obj == ublindf && Blindfolded_only);
|
||||
if (potion->blessed) {
|
||||
if (obj->cursed) {
|
||||
if (useeit)
|
||||
|
||||
@@ -396,7 +396,7 @@ decurse:
|
||||
return;
|
||||
}
|
||||
uncurse(otmp);
|
||||
if (!Blind) {
|
||||
if (!Blind || (otmp == ublindf && Blindfolded_only)) {
|
||||
pline("%s %s.", what ? what :
|
||||
(const char *)Yobjnam2(otmp, "softly glow"),
|
||||
hcolor(NH_AMBER));
|
||||
|
||||
Reference in New Issue
Block a user