mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-03 22:05:09 +01:00
Auto-identify cold/fire/shock res rings
This commit is contained in:
parent
b30a601b4b
commit
dd1d3bf098
1 changed files with 12 additions and 3 deletions
|
@ -1146,13 +1146,22 @@ register struct obj *obj;
|
|||
}
|
||||
break;
|
||||
case RIN_FIRE_RESISTANCE:
|
||||
if(!oldprop && !HFire_resistance) pline("The ring feels cool!");
|
||||
if(!oldprop && !HFire_resistance) {
|
||||
makeknown(obj->otyp);
|
||||
pline("The ring feels cool!");
|
||||
}
|
||||
break;
|
||||
case RIN_COLD_RESISTANCE:
|
||||
if(!oldprop && !HCold_resistance) pline("The ring feels warm!");
|
||||
if(!oldprop && !HCold_resistance) {
|
||||
makeknown(obj->otyp);
|
||||
pline("The ring feels warm!");
|
||||
}
|
||||
break;
|
||||
case RIN_SHOCK_RESISTANCE:
|
||||
if(!oldprop && !HShock_resistance) Your("ringfinger feels numb!");
|
||||
if(!oldprop && !HShock_resistance) {
|
||||
makeknown(obj->otyp);
|
||||
Your("ringfinger feels numb!");
|
||||
}
|
||||
break;
|
||||
case RIN_SEE_INVISIBLE:
|
||||
/* can now see invisible monsters */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue