Difference between revisions of "Warning"

From NetHackWiki
Jump to navigation Jump to search
m (comma)
m (pothole)
 
(37 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 +
{{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.
 +
 +
==Sources==
 +
Warning can be obtained as an extrinsic 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 be gained as an intrinsic by [[eating jewelry|eating a ring of warning]], or reaching a particular experience level as certain roles:
 +
 +
* XL 7 as a [[Monk]]
 +
* XL 15 as a [[Caveman]], [[Healer]], [[Priest]], or [[Wizard]]
 +
 +
{{upcoming|3.7.0|Per {{commit|f9a35132d6caad172c5987182e6984e6c50e0dcb|commit f9a3513}}, the [[helm of caution]] is a new item that confers warning while worn.}}
 +
 +
==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|include/display.h|49|nethack=3.6.7}}{{refsrc|include/hack.h|494|nethack=3.6.7}}{{refsrc|src/hacklib.c|614|nethack=3.6.7|comment=function dist2}}
  
'''Warning''' is a [[property]] conveyed by wearing a [[ring of warning]] or acquired by certain [[role]]s. It gives you advance warning of nearby monsters you can't see by representing them with a number from 1 to 5 based on their level. ({{red|1}}, {{red|2}}, {{red|3}}, {{magenta|4}}, {{brightmagenta|5}}) The number is ML/4, where ML is the monster's level (though this will go no higher than 5, and 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.
+
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 <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]].
  
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: [[Image:Warning_1.png]] [[Image:Warning_2.png]] [[Image:Warning_3.png]] [[Image:Warning_4.png]] [[Image:Warning_5.png]].  Colors of the question marks correspond to the colors of the numbers given above.
+
Moving near a [[hiding]] monster such as a [[piercer]] or [[trapper]] while possessing 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.
  
Warning is considered a useful ring in [[ring strategy]].
+
Note that moving with {{kbd|m}} towards a warning glyph while [[blind]] will still attack in some cases, possibly [[petrify]]ing you - this is [[Bug#mattacks|a bug]].
  
Besides the ring, some [[artifact]]s convey warning: the [[Orb of Fate]] and the [[Master Key of Thievery]] (and in SLASH'EM, [[The Candle of Eternal Flame]]) . A few roles also gain [[intrinsic]] warning when reaching a certain [[experience level]]: XL 7 as a [[monk]] and XL 15 as a [[caveman]], [[healer]], [[priest]], or [[wizard]].
+
{{upcoming|3.7.0|The bug is fixed in {{commit|121290cde6e2550fb98511269b5e8c1cde6362f7|commit 121290c}}.}}
  
The exact criteria for warning to show you monster locations are:<ref>{{sourcecode|display.h|38}}</ref>
+
==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.  
  
# The monster must not be peaceful.
+
===Warning levels===
# You must be under 10 tiles from it (i.e., it must be strictly within a ten-tile circle centered at you).<ref>{{sourcecode|display.h|44}}, but see also {{sourcecode|hack.h|288}} and {{function|hacklib.c|dist2}}.</ref>
+
The following table lists which mindless monsters each warning may represent, assuming that the player already has extrinsic telepathy. 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 after generation through growing up, e.g. via [[conflict]] or quaffing a [[potion of gain level]], or losing levels to spells and attacks that [[drain life]].
# Its level must be greater than or equal to 4.
 
  
Caution: Moving with {{kbd|m}} while [[blind]] will still attack in some cases, possibly [[petrify]]ing you (namely whenever the warning mark does not cover an {{white|I}} remembered monster position).
+
While not implemented, there is code to handle warning for monsters with a level below four - these would be represented by a {{white|0}} 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) -->
 +
{|class="prettytable"
 +
!Warning symbol
 +
!Possible monsters when also telepathic
 +
|-
 +
|({{white|I}}, no warning)
 +
|[[acid blob|{{green|b}}]][[gas spore|{{gray|e}}]][[blue jelly|{{blue|j}}]][[fog cloud|{{gray|v}}]][[dust vortex|{{brown|v}}]][[yellow light|{{yellow|y}}]][[lichen|{{brightgreen|F}}]][[brown mold|{{brown|F}}]][[yellow mold|{{yellow|F}}]][[green mold|{{green|F}}]][[red mold|{{red|F}}]][[shrieker|{{magenta|F}}]][[violet fungus|{{magenta|F}}]][[kobold mummy|{{brown|M}}]][[gnome mummy|{{red|M}}]][[gray ooze|{{gray|P}}]][[kobold zombie|{{brown|Z}}]][[gnome zombie|{{brown|Z}}]][[orc zombie|{{gray|Z}}]][[dwarf zombie|{{red|Z}}]][[elf zombie|{{green|Z}}]][[human zombie|{{white|Z}}]][[ghoul|{{darkgray|Z}}]][[straw golem|{{yellow|'}}]][[paper golem|{{white|'}}]][[rope golem|{{brown|'}}]]
 +
|-
 +
|{{red|1}}, [[Image:Warning_1.png]]
 +
|[[quivering blob|{{white|b}}]][[gelatinous cube|{{cyan|b}}]][[freezing sphere|{{white|e}}]][[flaming sphere|{{red|e}}]][[shocking sphere|{{brightblue|e}}]][[blue jelly|{{blue|j}}]][[spotted jelly|{{green|j}}]][[ochre jelly|{{brown|j}}]][[fog cloud|{{gray|v}}]][[dust vortex|{{brown|v}}]][[ice vortex|{{cyan|v}}]][[energy vortex|{{brightblue|v}}]][[steam vortex|{{blue|v}}]][[fire vortex|{{yellow|v}}]][[yellow light|{{yellow|y}}]][[black light|{{darkgray|y}}]][[air elemental|{{cyan|E}}]][[fire elemental|{{yellow|E}}]][[earth elemental|{{brown|E}}]][[water elemental|{{blue|E}}]][[shrieker|{{magenta|F}}]][[violet fungus|{{magenta|F}}]][[kobold mummy|{{brown|M}}]][[gnome mummy|{{red|M}}]][[orc mummy|{{gray|M}}]][[dwarf mummy|{{red|M}}]][[elf mummy|{{green|M}}]][[human mummy|{{gray|M}}]][[ettin mummy|{{blue|M}}]][[giant mummy|{{cyan|M}}]][[gray ooze|{{gray|P}}]][[brown pudding|{{brown|P}}]][[green slime|{{green|P}}]][[elf zombie|{{green|Z}}]][[human zombie|{{white|Z}}]][[ettin zombie|{{blue|Z}}]][[ghoul|{{darkgray|Z}}]][[giant zombie|{{cyan|Z}}]][[straw golem|{{yellow|'}}]][[paper golem|{{white|'}}]][[rope golem|{{brown|'}}]][[gold golem|{{yellow|'}}]][[leather golem|{{brown|'}}]][[wood golem|{{brown|'}}]]
 +
|-
 +
|{{red|2}}, [[Image:Warning_2.png]]
 +
|[[gelatinous cube|{{cyan|b}}]][[freezing sphere|{{white|e}}]][[flaming sphere|{{red|e}}]][[shocking sphere|{{brightblue|e}}]][[ochre jelly|{{brown|j}}]][[energy vortex|{{brightblue|v}}]][[steam vortex|{{blue|v}}]][[fire vortex|{{yellow|v}}]][[air elemental|{{cyan|E}}]][[fire elemental|{{yellow|E}}]][[earth elemental|{{brown|E}}]][[water elemental|{{blue|E}}]][[elf mummy|{{green|M}}]][[human mummy|{{gray|M}}]][[ettin mummy|{{blue|M}}]][[giant mummy|{{cyan|M}}]][[green slime|{{green|P}}]][[black pudding|{{darkgray|P}}]][[ettin zombie|{{blue|Z}}]][[giant zombie|{{cyan|Z}}]][[skeleton|{{white|Z}}]][[leather golem|{{brown|'}}]][[wood golem|{{brown|'}}]][[flesh golem|{{red|'}}]][[clay golem|{{brown|'}}]]
 +
|-
 +
|{{red|3}}, [[Image:Warning_3.png]]
 +
|[[fire vortex|{{yellow|v}}]][[air elemental|{{cyan|E}}]][[fire elemental|{{yellow|E}}]][[earth elemental|{{brown|E}}]][[water elemental|{{blue|E}}]][[giant mummy|{{cyan|M}}]][[black pudding|{{darkgray|P}}]][[giant zombie|{{cyan|Z}}]][[skeleton|{{white|Z}}]][[flesh golem|{{red|'}}]][[clay golem|{{brown|'}}]][[stone golem|{{gray|'}}]][[glass golem|{{cyan|'}}]]
 +
|-
 +
|{{magenta|4}}, [[Image:Warning_4.png]]
 +
|[[skeleton|{{white|Z}}]][[clay golem|{{brown|'}}]][[stone golem|{{gray|'}}]][[glass golem|{{cyan|'}}]][[iron golem|{{cyan|'}}]]
 +
|-
 +
|{{brightmagenta|5}}, [[Image:Warning_5.png]]
 +
|[[stone golem|{{gray|'}}]][[glass golem|{{cyan|'}}]][[iron golem|{{cyan|'}}]]
 +
|}
  
 
==Messages==
 
==Messages==
 +
{{message|You feel sensitive!|You gained warning through leveling up.}}
 +
{{message|You feel less sensitive!|You lost intrinsic warning through level drain.}}
 +
 +
{{message|The ice seems very soft and slushy.|You have warning and are standing on ice that will melt in under 15 turns.}}
 +
{{message|You feel the ice shift beneath you!|As above, but in under 10 turns.}}
 +
{{message|The ice, is gonna BREAK!|As above, but in under 5 turns; this is a direct quote from ''[[wikipedia:The Dead Zone (film)|The Dead Zone]]'', hence its punctuation.}}
 +
 +
==History==
 +
Warning has been present in ''NetHack'' since [[Hack 1.0|the first public release]] of ''[[Hack]]'' included the ring of warning; 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}} A ring of warning would additionally 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.
 +
 +
The [[Palantir of Westernesse]], the [[Elf (role)|Elf]] [[quest artifact]], conferred warning when carried from [[NetHack 3.1.0]] to [[NetHack 3.3.0]]; the role and its artifact were made defunct in 3.3.1.
 +
 +
===Older messages===
 +
<!--{{message|Your Sting glows light blue!|You are wielding Sting, and the monster is an orc.}} This may be more relevant to Sting and/or being warned of monsters in general.-->
 +
{{message|Your left/right ring glows <color>!"|You are wearing a ring of warning.}}
 +
{{message|Your rings both glow <color>!|You are wearing two rings of warning.}}
 +
{{message|You feel apprehensive as you sense a <color> flash.|You have intrinsic warning, or warning from an artifact.}}
 +
{{message|Your [[Wikipedia:Spider-Man|spider-sense]] is tingling...|As above while hallucinating.}}
 +
 +
==Variants==
 +
Many variants introduce additional sources of warning, usually from [[quest artifact]]s.
 +
 +
In most variants that implement the [[Convict]] patch, [[The Iron Ball of Liberation]] is the [[Convict]] quest, and grants warning among other properties when carried.
 +
 +
===SLASH'EM===
 +
In [[SLASH'EM]], [[The Candle of Eternal Flame]] and [[The Storm Whistle]] are additional artifacts that grant warning.
 +
 +
The defunct artifacts [[The One Ring]] and [[The Pick of Flandal Steelskin]] granted warning when carried.
 +
 +
===GruntHack===
 +
GruntHack implements the unusued code for warning of monsters that are level four and below described above, representing them with {{white|0}}. Warning is also one of the many [[object properties]] that can appear on certain objects.
 +
 +
===dNetHack===
 +
In [[dNetHack]], the [[Android]] and the [[Madman]] role gain warning at experience level 15. The [[Binder (dNetHack role)|Binder]] [[Spirits (dNetHack)|spirit]] [[Spirits (dNetHack)#Huginn and Muninn, Thought and Memory|Huginn and Muninn]] passively grants warning.
 +
 +
The Palantir of Westernesse is reintroduced in the [[Elvish Racial Quest]] as an artifact source of warning. Other artifacts also grant warning: [[Grayswandir]], [[The Black Crystal]] and [[The Rogue Gear-spirits]] while carried, [[The Hat of the Archmagi]] while worn, and [[Helping Hand]] while wielded.
 +
 +
[[Great Cthulhu]] is a monster that can be sensed within standard warning distance as "an unknown monster causing you dread", regardless of whether or not you possess the property.
 +
 +
===FIQHack===
 +
In [[FIQHack]], [[red dragon scale mail]] grants warning while worn.
 +
 +
Warning is one of the intrinsic properties a non-cursed [[potion of wonder]] can confer when quaffed; dipping an appropriate item in a non-cursed potion also has a chance of giving it warning as an object property.
 +
 +
===The November NetHack Tournament===
 +
In [[The November NetHack Tournament]], the [[Really Cool Shirt]] grants warning when worn.
 +
 +
===xNetHack===
 +
In [[xNetHack]], [[Itlachiayaque]] confers warning when carried.
 +
 +
===SpliceHack===
 +
In [[SpliceHack]], the [[Cartomancer]] gains warning at XL 7. [[Sharur]] also grants warning when wielded in weapon form.
 +
 +
===EvilHack===
 +
In [[EvilHack]], the Healer role no longer gains warning at XL 15, instead obtaining [[sickness resistance]]. The [[Infidel]] role gains warning at XL 15, and all [[Centaur (starting race)|centaurs]] gain the property at XL 10. Warning is also an object property that some armor and weapons may generate with.
 +
 +
The [[Beholder (EvilHack)|beholder]] is hard-coded to always show up as {{brightmagenta|5}} when detected via warning, regardless of its level; it also does not show up via telepathy, making warning all the more vital to detect one before making eye contact and being subjected to potentially-deadly gaze attacks.
 +
 +
===SlashTHEM===
 +
In [[SlashTHEM]], some other roles can obtain warning through leveling up - the [[Zookeeper]] role starts with warning, the [[Officer]] role gains the property at XL 10, and the [[Ninja (role)|Ninja]] and [[Geek]] roles gain it at XL 15. Several other artifacts also confer warning as well:
  
; "You feel sensitive!"
+
* The [[Flute of Slime]] ([[Acid Mage]] quest artifact, when carried)
: You gained intrinsic warning through level gain
+
* The [[Cudgel of Cuthbert]] ([[Chevalier]] quest artifact, when carried)
; "You feel less sensitive!"
+
* The [[Harp of Lightning]] ([[Electric Mage]] quest artifact, when carried)
: You lost intrinsic warning through level drain
+
* The [[Fire Chief Helmet]] ([[Firefighter]] quest artifact, when worn)
 +
* The [[Lockpick of Arsene Lupin]] ([[Locksmith]] quest artifact, when carried)
 +
* The [[Harp of Harmony]] ([[Musician]] quest artifact, when carried)
 +
* [[Blackshroud]] ([[Undertaker]] first [[sacrifice gift]], when worn)
 +
* The [[Golden Whistle of Nora]] ([[Zookeeper]] quest artifact, when carried)
  
==Notes==
+
==References==
<references />
+
<references/>
 +
{{nethack-367|offset=1}}
 +
{{variant-343|offset=2}}
 
[[Category:Properties]]
 
[[Category:Properties]]

Latest revision as of 17:18, 10 March 2024

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 as an extrinsic 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 be gained as an intrinsic by eating a ring of warning, or reaching a particular experience level as certain roles:

The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Per commit f9a3513, the helm of caution is a new item that confers warning while worn.

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][3]

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 possessing 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.

Note that moving with m towards a warning glyph while blind will still attack in some cases, possibly petrifying you - this is a bug.

The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

The bug is fixed in commit 121290c.

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.

Warning levels

The following table lists which mindless monsters each warning may represent, assuming that the player already has extrinsic telepathy. 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 after generation through growing up, e.g. via conflict or quaffing a potion of gain level, or losing levels to spells and attacks that drain life.

While not implemented, there is code to handle warning for monsters with a level below four - these would be represented by a 0 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 '''

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; this is a direct quote from The Dead Zone, hence its punctuation.

History

Warning has been present in NetHack since the first public release of Hack included the ring of warning; the current warning system was first implemented in NetHack 3.3.1.

In prior versions, warning displayed messages when a hostile monster was nearby.[4] A ring of warning would additionally 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.

The Palantir of Westernesse, the Elf quest artifact, conferred warning when carried from NetHack 3.1.0 to NetHack 3.3.0; the role and its artifact were made defunct in 3.3.1.

Older messages

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.

Variants

Many variants introduce additional sources of warning, usually from quest artifacts.

In most variants that implement the Convict patch, The Iron Ball of Liberation is the Convict quest, and grants warning among other properties when carried.

SLASH'EM

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

The defunct artifacts The One Ring and The Pick of Flandal Steelskin granted warning when carried.

GruntHack

GruntHack implements the unusued code for warning of monsters that are level four and below described above, representing them with 0. Warning is also one of the many object properties that can appear on certain objects.

dNetHack

In dNetHack, the Android and the Madman role gain warning at experience level 15. The Binder spirit Huginn and Muninn passively grants warning.

The Palantir of Westernesse is reintroduced in the Elvish Racial Quest as an artifact source of warning. Other artifacts also grant warning: Grayswandir, The Black Crystal and The Rogue Gear-spirits while carried, The Hat of the Archmagi while worn, and Helping Hand while wielded.

Great Cthulhu is a monster that can be sensed within standard warning distance as "an unknown monster causing you dread", regardless of whether or not you possess the property.

FIQHack

In FIQHack, red dragon scale mail grants warning while worn.

Warning is one of the intrinsic properties a non-cursed potion of wonder can confer when quaffed; dipping an appropriate item in a non-cursed potion also has a chance of giving it warning as an object property.

The November NetHack Tournament

In The November NetHack Tournament, the Really Cool Shirt grants warning when worn.

xNetHack

In xNetHack, Itlachiayaque confers warning when carried.

SpliceHack

In SpliceHack, the Cartomancer gains warning at XL 7. Sharur also grants warning when wielded in weapon form.

EvilHack

In EvilHack, the Healer role no longer gains warning at XL 15, instead obtaining sickness resistance. The Infidel role gains warning at XL 15, and all centaurs gain the property at XL 10. Warning is also an object property that some armor and weapons may generate with.

The beholder is hard-coded to always show up as 5 when detected via warning, regardless of its level; it also does not show up via telepathy, making warning all the more vital to detect one before making eye contact and being subjected to potentially-deadly gaze attacks.

SlashTHEM

In SlashTHEM, some other roles can obtain warning through leveling up - the Zookeeper role starts with warning, the Officer role gains the property at XL 10, and the Ninja and Geek roles gain it at XL 15. Several other artifacts also confer warning as well:

References