Difference between revisions of "Warning"

From NetHackWiki
Jump to navigation Jump to search
(Continuing rewrite)
Line 1: Line 1:
{{distinguish|1|2|3|4}}
+
{{otheruses|the property that alerts you to a hostile monster's presence|the 'warning' that allows you to sense specific monsters|warned of monster type}}
 
'''Warning''' is a [[property]] that appears in ''[[NetHack]]'' and reveals the location of nearby hostile monsters that [[you]] cannot see.
 
'''Warning''' is a [[property]] that appears in ''[[NetHack]]'' and reveals the location of nearby hostile monsters that [[you]] cannot see.
 
Caution: Moving with {{kbd|m}} while [[blind]] will still attack in some cases, possibly [[petrify]]ing you. This happens whenever the warning mark does not cover an {{white|I}} from a remembered monster position. [[bug#mattacks|Likely, this is a bug.]]
 
 
Additionally, warning produces messages to alert you when you are standing on [[ice]] that is going to melt in under 15 turns.
 
  
 
==Sources==
 
==Sources==
Line 12: Line 8:
 
* XL 15 as a [[Caveman]], [[Healer]], [[Priest]], or [[Wizard]]
 
* XL 15 as a [[Caveman]], [[Healer]], [[Priest]], or [[Wizard]]
  
==Effects==
+
==Description==
 
[[Image:Telepathy vs warning.png|300px|right|thumb|The range of warning is indicated by question marks. In comparison, the range of unblind [[extrinsic telepathy]] is slightly smaller, and is indicated by flags.]]
 
[[Image:Telepathy vs warning.png|300px|right|thumb|The range of warning is indicated by question marks. In comparison, the range of unblind [[extrinsic telepathy]] is slightly smaller, and is indicated by flags.]]
 
While you possess warning, hostile monsters that are within a ten-tile radius and are at least level 4 will have their location marked with a number from 1 to 5 ({{red|1}}, {{red|2}}, {{red|3}}, {{magenta|4}}, {{brightmagenta|5}}) - in [[graphical user interface]]s using the default [[tileset]], such as the [[Microsoft Windows|Windows]] client nethackw, the numbers are replaced with colored question marks that correspond to the above numbers ([[Image:Warning_1.png]] [[Image:Warning_2.png]] [[Image:Warning_3.png]] [[Image:Warning_4.png]] [[Image:Warning_5.png]]).{{refsrc|display.h|38}}<ref>{{sourcecode|display.h|44}}, but see also {{sourcecode|hack.h|288}} and {{function|hacklib.c|dist2}}.</ref>
 
While you possess warning, hostile monsters that are within a ten-tile radius and are at least level 4 will have their location marked with a number from 1 to 5 ({{red|1}}, {{red|2}}, {{red|3}}, {{magenta|4}}, {{brightmagenta|5}}) - in [[graphical user interface]]s using the default [[tileset]], such as the [[Microsoft Windows|Windows]] client nethackw, the numbers are replaced with colored question marks that correspond to the above numbers ([[Image:Warning_1.png]] [[Image:Warning_2.png]] [[Image:Warning_3.png]] [[Image:Warning_4.png]] [[Image:Warning_5.png]]).{{refsrc|display.h|38}}<ref>{{sourcecode|display.h|44}}, but see also {{sourcecode|hack.h|288}} and {{function|hacklib.c|dist2}}.</ref>
  
The number used to represent a monster is {{frac|4}} of that monster's level round, where ML is the [[Monster level|monster's level]] - the result is rounded down to the nearest whole, and will go no higher than 5, while 0 is not displayed).  The glyphs displayed are described as an "unknown creature causing you &lt;feeling&gt;", where &lt;feeling&gt; is one of '''concern''', '''anxiety''', '''disquiet''', '''alarm''', or '''dread''' for warning levels one to five respectively. Warning levels will be chosen at random if you are [[hallucinating]].
+
The number used to represent a monster is {{frac|4}} of [[Monster level|that monster's level]] - the result is rounded down to the nearest whole, and will go no higher than 5, while 0 is not displayed.  The glyphs displayed are described as an "unknown creature causing you &lt;feeling&gt;", where &lt;feeling&gt; is one of '''concern''', '''anxiety''', '''disquiet''', '''alarm''', or '''dread''' for warning levels one to five respectively. Warning levels will be chosen at random if you are [[hallucinating]].
  
==Strategy==
+
Moving near a hiding monster such as a [[piercer]] or [[trapper]] while psosessing warning will cause you to take a second look close by, revealing the monster. Additionally, warning produces messages to alert you when you are standing on [[ice]] that is going to melt in under 15 turns. Moving with {{kbd|m}} while [[blind]] will still attack in some cases, possibly [[petrify]]ing you - [[bug#mattacks|this is very likely a bug]].
Warning is considered a useful ring in [[ring strategy]].
+
 
 +
 
 +
===Warning levels===
 +
The following table lists which monsters each warning may represent based on their initial level. As a result of this the warning can vary - e.g. an [[ochre jelly]] can merit a warning number 1 or 2, depending on the dungeon level and your experience level at the time of its generation. Monsters may also shift warning levels through growing up, e.g. via [[conflict]] or quaffing a [[potion of gain level]].
  
Warning can't tell you exactly which monster you're up against, unlike [[ESP]], however, if you have both and the monster isn't seen through telepathy even though you're near enough (or blind) then you know it must be one of the [[mindless]] kind. The following table lists which monsters each warning may represent in this case. Note that a [[Monster level|monster's level]] can vary within some limits, so for example an [[ochre jelly]] can merit a warning number 1 or 2, depending on the dungeon level and your experience when it is created:
+
While not implemented in released versions, NetHack contains code to warn of monsters with a level below four - these would be represented by a {{white|0}} (white zero) and described as causing you :worry".
  
 
<!-- monster levels range from base level - 1 to base level * 1.5; table ignores monsters leveling up after creation, mindless monsters can't quaff gain level so this may only happen through kills (e.g. conflict) -->
 
<!-- monster levels range from base level - 1 to base level * 1.5; table ignores monsters leveling up after creation, mindless monsters can't quaff gain level so this may only happen through kills (e.g. conflict) -->
Line 46: Line 45:
 
|[[stone golem|{{gray|'}}]][[glass golem|{{cyan|'}}]][[iron golem|{{cyan|'}}]]
 
|[[stone golem|{{gray|'}}]][[glass golem|{{cyan|'}}]][[iron golem|{{cyan|'}}]]
 
|}
 
|}
 +
 +
==Strategy==
 +
Warning is a useful property to pair with other means of detecting hostile monsters, such as extrinsic [[telepathy]] - though it does not reveal their identity, it functions regardless of whether the monster is [[mindless]] or not, allowing it to cover "gaps" in telepathy.
  
 
==Messages==
 
==Messages==
 
 
{{message|You feel sensitive!|You gained warning through leveling up}}
 
{{message|You feel sensitive!|You gained warning through leveling up}}
 
{{message|You feel less sensitive!|You lost intrinsic warning through level drain.}}
 
{{message|You feel less sensitive!|You lost intrinsic warning through level drain.}}
Line 57: Line 58:
  
 
==History==
 
==History==
 +
The current warning system was first implemented in [[NetHack 3.3.1]]. In prior versions, warning displayed messages when a hostile monster was nearby,{{refsrc|mon.c|267|version=NetHack_3.3.0}} and a ring of warning would flash a single color corresponding to the warning numbers in modern versions - Pink corresponds to "1", red to "2", ruby to "3", purple to "4", and black to "5". Messages that were higher in the list took precedence over lower ones. When blinded, no warning messages were displayed; while hallucinating, they are referred to as "mood rings", and the colors were replaced with hallucinatory ones.
  
The current warning system was first implemented in [[NetHack 3.3.1]]. In prior versions, warning displayed messages when a hostile monster was nearby.{{refsrc|mon.c|267|version=NetHack_3.3.0}} The messages were as follows:
+
No warning messages were displayed if one had been displayed within your last ten actions, unless the new message reflected a higher level of warning than the previous one.
 
 
; "Your Sting glows light blue!"
 
: You are wielding Sting, and the monster is an orc.
 
 
 
; "Your rings both glow <color>!"
 
: You are wearing two rings of warning.
 
  
; "Your left/right ring glows <color>!"
+
===Messages===
: You are wearing one ring of warning, on your left/right hand.
+
{{message|Your Sting glows light blue!|You are wielding Sting, and the monster is an orc.}}
 
+
{{message|Your left/right ring glows <color>!"|You are wearing a ring of warning.}}
; "You feel apprehensive as you sense a <color> flash."
+
{{message|Your rings both glow <color>!|You are wearing two rings of warning.}}
: You have intrinsic warning, or warning from an artifact.
+
{{message|You feel apprehensive as you sense a <color> flash.|You have intrinsic warning, or warning from an artifact.}}
 
+
{{message|Your spider-sense is tingling...|As above while hallucinating; this is a Spider-Man reference.}}
Messages that are higher in the above list took precedence over the ones that are lower.
 
 
 
The color of the flash was determined in the same way as the warning numbers in modern versions: pink corresponds to "1", red to "2", ruby to "3", purple to "4", and black to "5".
 
 
 
When the hero was hallucinating, the colors were replaced by hallucinatory colors, rings were referred to as "mood rings", and the message for intrinsic warning or warning from an artifact was replaced by '''"Your spider-sense is tingling..."''', a reference to Spider-Man. No warning messages were displayed when the hero was blind.
 
 
 
No warning messages were displayed if one had been displayed within your last ten actions, unless the new message reflected a higher level of warning than the previous one. Nevertheless, at the time, warning was not popular among NetHack players, who considered it nearly useless at best, and a highly-annoying source of spam messages at worst.
 
 
 
While it has never been implemented in released versions, NetHack contains some code to warn of monsters with a level below four. They would be represented by a {{white|0}} (white zero) and described as causing you '''worry'''.
 
  
 
==SLASH'EM==
 
==SLASH'EM==
 
In SLASH'EM, [[The Candle of Eternal Flame]] and [[The Storm Whistle]] grant warning.
 
In SLASH'EM, [[The Candle of Eternal Flame]] and [[The Storm Whistle]] grant warning.
  
==Notes==
+
==References==
 
<references />
 
<references />
 +
{{nethack-343}}
 
[[Category:Properties]]
 
[[Category:Properties]]
{{nethack-343}}
 

Revision as of 01:52, 13 August 2021

This article is about the property that alerts you to a hostile monster's presence. For the 'warning' that allows you to sense specific monsters, see warned of monster type.

Warning is a property that appears in NetHack and reveals the location of nearby hostile monsters that you cannot see.

Sources

Warning can be obtained extrinsically by wearing a ring of warning or carrying an artifact that grants warning, i.e. the Orb of Fate or the Master Key of Thievery. It can only be gained intrinsically by eating a ring of warning or reaching a certain experience level as certain roles:

Description

The range of warning is indicated by question marks. In comparison, the range of unblind extrinsic telepathy is slightly smaller, and is indicated by flags.

While you possess warning, hostile monsters that are within a ten-tile radius and are at least level 4 will have their location marked with a number from 1 to 5 (1, 2, 3, 4, 5) - in graphical user interfaces using the default tileset, such as the Windows client nethackw, the numbers are replaced with colored question marks that correspond to the above numbers (Warning 1.png Warning 2.png Warning 3.png Warning 4.png Warning 5.png).[1][2]

The number used to represent a monster is 14 of that monster's level - the result is rounded down to the nearest whole, and will go no higher than 5, while 0 is not displayed. The glyphs displayed are described as an "unknown creature causing you <feeling>", where <feeling> is one of concern, anxiety, disquiet, alarm, or dread for warning levels one to five respectively. Warning levels will be chosen at random if you are hallucinating.

Moving near a hiding monster such as a piercer or trapper while psosessing warning will cause you to take a second look close by, revealing the monster. Additionally, warning produces messages to alert you when you are standing on ice that is going to melt in under 15 turns. Moving with m while blind will still attack in some cases, possibly petrifying you - this is very likely a bug.


Warning levels

The following table lists which monsters each warning may represent based on their initial level. As a result of this the warning can vary - e.g. an ochre jelly can merit a warning number 1 or 2, depending on the dungeon level and your experience level at the time of its generation. Monsters may also shift warning levels through growing up, e.g. via conflict or quaffing a potion of gain level.

While not implemented in released versions, NetHack contains code to warn of monsters with a level below four - these would be represented by a 0 (white zero) and described as causing you :worry".

Warning symbol Possible monsters when also telepathic
(I, no warning) bejvvyFFFFFFFMMPZZZZZZZ'''
1, Warning 1.png bbeeejjjvvvvvvyyEEEEFFMMMMMMMMPPPZZZZZ''''''
2, Warning 2.png beeejvvvEEEEMMMMPPZZZ''''
3, Warning 3.png vEEEEMPZZ''''
4, Warning 4.png Z''''
5, Warning 5.png '''

Strategy

Warning is a useful property to pair with other means of detecting hostile monsters, such as extrinsic telepathy - though it does not reveal their identity, it functions regardless of whether the monster is mindless or not, allowing it to cover "gaps" in telepathy.

Messages

You feel sensitive!
You gained warning through leveling up
You feel less sensitive!
You lost intrinsic warning through level drain.
The ice seems very soft and slushy.
You have warning and are standing on ice that will melt in under 15 turns.
You feel the ice shift beneath you!
As above, but in under 10 turns.
The ice, is gonna BREAK!
As above, but in under 5 turns.

History

The current warning system was first implemented in NetHack 3.3.1. In prior versions, warning displayed messages when a hostile monster was nearby,[3] and a ring of warning would flash a single color corresponding to the warning numbers in modern versions - Pink corresponds to "1", red to "2", ruby to "3", purple to "4", and black to "5". Messages that were higher in the list took precedence over lower ones. When blinded, no warning messages were displayed; while hallucinating, they are referred to as "mood rings", and the colors were replaced with hallucinatory ones.

No warning messages were displayed if one had been displayed within your last ten actions, unless the new message reflected a higher level of warning than the previous one.

Messages

Your Sting glows light blue!
You are wielding Sting, and the monster is an orc.
Your left/right ring glows <color>!"
You are wearing a ring of warning.
Your rings both glow <color>!
You are wearing two rings of warning.
You feel apprehensive as you sense a <color> flash.
You have intrinsic warning, or warning from an artifact.
Your spider-sense is tingling...
As above while hallucinating; this is a Spider-Man reference.

SLASH'EM

In SLASH'EM, The Candle of Eternal Flame and The Storm Whistle grant warning.

References

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.