<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Spellbook_of_detect_treasure</id>
	<title>Spellbook of detect treasure - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Spellbook_of_detect_treasure"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;action=history"/>
	<updated>2026-07-21T03:07:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=192578&amp;oldid=prev</id>
		<title>JASON10668: Add languages template.</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=192578&amp;oldid=prev"/>
		<updated>2025-08-26T11:13:04Z</updated>

		<summary type="html">&lt;p&gt;Add languages template.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:13, 26 August 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{languages}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{spellbook&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{spellbook&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |name=detect treasure&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |name=detect treasure&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JASON10668</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190920&amp;oldid=prev</id>
		<title>Umbire the Phantom: word choice</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190920&amp;oldid=prev"/>
		<updated>2025-07-08T07:51:38Z</updated>

		<summary type="html">&lt;p&gt;word choice&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 07:51, 8 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot; &gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When cast, the spell duplicates the functions of [[quaff]]ing a [[potion of object detection]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, which &lt;/del&gt;displays all objects on the current level &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;[[exercise]]s [[wisdom]], &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with &lt;/del&gt;the exact effects dependent on the hero's [[skill]] level in divination spells:{{refsrc|src/potion.c|850|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1160|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1165|version=NetHack 3.6.7|name=&amp;quot;equiv&amp;quot;|comment=all spells with potion effects fall through to this line}}{{refsrc|src/potion.c|853|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When cast, the spell duplicates the functions of [[quaff]]ing a [[potion of object detection]] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/ins&gt;displays all objects on the current level&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, which &lt;/ins&gt;[[exercise]]s [[wisdom]] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;if at least one objected is detected&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/ins&gt;the exact effects &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;are &lt;/ins&gt;dependent on the hero's [[skill]] level in divination spells:{{refsrc|src/potion.c|850|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1160|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1165|version=NetHack 3.6.7|name=&amp;quot;equiv&amp;quot;|comment=all spells with potion effects fall through to this line}}{{refsrc|src/potion.c|853|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular objects, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular objects, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190912&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Strategy */ effin'--</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190912&amp;oldid=prev"/>
		<updated>2025-07-07T23:57:22Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Strategy: &lt;/span&gt; effin&amp;#039;--&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:57, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The spell of detect treasure is somewhat difficult to cast for most roles without training in divination spells, and the potion is quite commonplace and accessible due to the presence of [[Nymph (monster class)|nymphs]]&amp;amp;mdash;once a hero can reliably cast the spell, however, it may become preferable to the potion, since they are vulnerable to destruction like other potions, and the weight of multiple potions can add up. Excess potions of object &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;detections &lt;/del&gt;are usually diluted into {{! of|water}} for other purposes, even if they are not necessarily supplanted by a caster opting for the spell.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The spell of detect treasure is somewhat difficult to cast for most roles without training in divination spells, and the potion is quite commonplace and accessible due to the presence of [[Nymph (monster class)|nymphs]]&amp;amp;mdash;once a hero can reliably cast the spell, however, it may become preferable to the potion, since they are vulnerable to destruction like other potions, and the weight of multiple potions can add up. Excess potions of object &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;detection &lt;/ins&gt;are usually diluted into {{! of|water}} for other purposes, even if they are not necessarily supplanted by a caster opting for the spell.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A hero with the training and energy to cast the spell will rarely need to utilize it more than once on a given floor&amp;amp;ndash;e.g., hunting for [[gold]] in [[vault]]s, checking for potential [[bones]] and finding the [[Castle]] [[chest]] with the [[wand of wishing]]&amp;amp;ndash;and can take their time to remove armor in a safe spot if necessary; a more minor advantage the spell has over the potion for this is that it will not detect uncloaked [[mimic]]s as objects, which can occur with a cursed potion. The spell is also quite useful when combined with a means of [[magic mapping]] to scope out the level and prioritize specific locations, e.g. when navigating [[Gehennom]] and [[Gehennom mapping|mapping stair locations]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A hero with the training and energy to cast the spell will rarely need to utilize it more than once on a given floor&amp;amp;ndash;e.g., hunting for [[gold]] in [[vault]]s, checking for potential [[bones]] and finding the [[Castle]] [[chest]] with the [[wand of wishing]]&amp;amp;ndash;and can take their time to remove armor in a safe spot if necessary; a more minor advantage the spell has over the potion for this is that it will not detect uncloaked [[mimic]]s as objects, which can occur with a cursed potion. The spell is also quite useful when combined with a means of [[magic mapping]] to scope out the level and prioritize specific locations, e.g. when navigating [[Gehennom]] and [[Gehennom mapping|mapping stair locations]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190911&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Strategy */ more more more</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190911&amp;oldid=prev"/>
		<updated>2025-07-07T23:57:06Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Strategy: &lt;/span&gt; more more more&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:57, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The spell of detect treasure is somewhat difficult to cast for most roles without training in divination spells, and the potion is quite commonplace and accessible due to the presence of [[Nymph (monster class)|nymphs]]&amp;amp;mdash;once a hero can reliably cast the spell, however, it may become preferable to the potion, since the weight of multiple potions can add up&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, and excess ones &lt;/del&gt;are usually diluted into {{! of|water}} for other purposes &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in any case&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The spell of detect treasure is somewhat difficult to cast for most roles without training in divination spells, and the potion is quite commonplace and accessible due to the presence of [[Nymph (monster class)|nymphs]]&amp;amp;mdash;once a hero can reliably cast the spell, however, it may become preferable to the potion, since &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;they are vulnerable to destruction like other potions, and &lt;/ins&gt;the weight of multiple potions can add up&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Excess potions of object detections &lt;/ins&gt;are usually diluted into {{! of|water}} for other purposes&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, even if they are not necessarily supplanted by a caster opting for the spell&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A hero with the training and energy to cast the spell will rarely need to utilize it more than once on a given floor&amp;amp;ndash;e.g., hunting for [[gold]] in [[vault]]s, checking for potential [[bones]] and finding the [[Castle]] [[chest]] with the [[wand of wishing]]&amp;amp;ndash;and can take their time to remove armor in a safe spot if necessary; a more minor advantage the spell has over the potion for this is that it will not detect uncloaked [[mimic]]s as objects, which can occur with a cursed potion. The spell is also quite useful when combined with a means of [[magic mapping]] to scope out the level and prioritize specific locations, e.g. when navigating [[Gehennom]] and [[Gehennom mapping|mapping stair locations]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A hero with the training and energy to cast the spell will rarely need to utilize it more than once on a given floor&amp;amp;ndash;e.g., hunting for [[gold]] in [[vault]]s, checking for potential [[bones]] and finding the [[Castle]] [[chest]] with the [[wand of wishing]]&amp;amp;ndash;and can take their time to remove armor in a safe spot if necessary; a more minor advantage the spell has over the potion for this is that it will not detect uncloaked [[mimic]]s as objects, which can occur with a cursed potion. The spell is also quite useful when combined with a means of [[magic mapping]] to scope out the level and prioritize specific locations, e.g. when navigating [[Gehennom]] and [[Gehennom mapping|mapping stair locations]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190908&amp;oldid=prev</id>
		<title>Umbire the Phantom: detailing</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190908&amp;oldid=prev"/>
		<updated>2025-07-07T23:47:40Z</updated>

		<summary type="html">&lt;p&gt;detailing&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:47, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular objects, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular objects, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;they &lt;/del&gt;are treated as though the hero handled them up close and will &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;display &lt;/del&gt;their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;items that are not in a [[monster]]'s inventory &lt;/ins&gt;are treated as though the hero handled them up close&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;so &lt;/ins&gt;will &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;have &lt;/ins&gt;their full object appearance &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;shown &lt;/ins&gt;(including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}} &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The hero also learns the appearance of all items in their inventory, if applicable.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Stale object markings are always cleared when mapping the level from this effect. Casting the spell while [[hallucinating]] will have the same effects as described above, but will print different messages and display items as their hallucinated glyphs. As with the potion, if the symbol of a detected object suddenly disappears upon the hero moving onto an adjacent square to it, the item(s) in question are buried.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Stale object markings are always cleared when mapping the level from this effect. Casting the spell while [[hallucinating]] will have the same effects as described above, but will print different messages and display items as their hallucinated glyphs. As with the potion, if the symbol of a detected object suddenly disappears upon the hero moving onto an adjacent square to it, the item(s) in question are buried.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190907&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Description */ detail</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190907&amp;oldid=prev"/>
		<updated>2025-07-07T23:28:05Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Description: &lt;/span&gt; detail&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:28, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Casting the spell while [[hallucinating]] will have the same effects as described above, but will print different messages and display items as their hallucinated glyphs. As with the potion, if the symbol of a detected object suddenly disappears upon the hero moving onto an adjacent square to it, the item(s) in question are buried.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Stale object markings are always cleared when mapping the level from this effect. &lt;/ins&gt;Casting the spell while [[hallucinating]] will have the same effects as described above, but will print different messages and display items as their hallucinated glyphs. As with the potion, if the symbol of a detected object suddenly disappears upon the hero moving onto an adjacent square to it, the item(s) in question are buried.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190906&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Strategy */ more detail, paragraphing</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190906&amp;oldid=prev"/>
		<updated>2025-07-07T23:20:23Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Strategy: &lt;/span&gt; more detail, paragraphing&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:20, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The spell of detect treasure is somewhat difficult to cast for most roles without training in divination spells, and the potion is quite commonplace and accessible due to the presence of [[Nymph (monster class)|nymphs]]&amp;amp;mdash;once a hero can reliably cast the spell, however, it may become preferable to the potion, since the weight of multiple potions can add up, and excess ones are usually diluted into {{! of|water}} for other purposes in any case. A hero with the training and energy to cast the spell will rarely need to utilize it more than once on a given floor&amp;amp;ndash;e.g., hunting for [[gold]] in [[vault]]s, checking for potential [[bones]] and finding the [[Castle]] [[chest]] with the [[wand of wishing]]&amp;amp;ndash;and can take their time to remove armor in a safe spot if necessary. The spell is also quite useful when combined with a means of [[magic mapping]] to scope out the level and prioritize specific locations.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The spell of detect treasure is somewhat difficult to cast for most roles without training in divination spells, and the potion is quite commonplace and accessible due to the presence of [[Nymph (monster class)|nymphs]]&amp;amp;mdash;once a hero can reliably cast the spell, however, it may become preferable to the potion, since the weight of multiple potions can add up, and excess ones are usually diluted into {{! of|water}} for other purposes in any case.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A hero with the training and energy to cast the spell will rarely need to utilize it more than once on a given floor&amp;amp;ndash;e.g., hunting for [[gold]] in [[vault]]s, checking for potential [[bones]] and finding the [[Castle]] [[chest]] with the [[wand of wishing]]&amp;amp;ndash;and can take their time to remove armor in a safe spot if necessary&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; a more minor advantage the spell has over the potion for this is that it will not detect uncloaked [[mimic]]s as objects, which can occur with a cursed potion&lt;/ins&gt;. The spell is also quite useful when combined with a means of [[magic mapping]] to scope out the level and prioritize specific locations&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, e.g. when navigating [[Gehennom]] and [[Gehennom mapping|mapping stair locations]]&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Remember that buried objects will have their glyphs vanish when you move adjacent to them, and [[digging]] down with a [[pick-axe]] on their formerly-marked square will reveal them&amp;amp;mdash;items sitting on or embedded in the same tile may obscure further buried treasure. Also, since [[tiles]] ports show unique tiles for unique object descriptions, you can determine the appearance of an object in tiles mode using an uncursed potion; once you've detected it, compare the tile to a list to see what appearance it has.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Remember that buried objects will have their glyphs vanish when you move adjacent to them, and [[digging]] down with a [[pick-axe]] on their formerly-marked square will reveal them&amp;amp;mdash;items sitting on or embedded in the same tile may obscure further buried treasure. Also, since [[tiles]] ports show unique tiles for unique object descriptions, you can determine the appearance of an object in tiles mode using an uncursed potion; once you've detected it, compare the tile to a list to see what appearance it has.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190904&amp;oldid=prev</id>
		<title>Umbire the Phantom: I'm gonna cry aaa</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190904&amp;oldid=prev"/>
		<updated>2025-07-07T22:16:27Z</updated>

		<summary type="html">&lt;p&gt;I&amp;#039;m gonna cry aaa&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:16, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot; &gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When cast, the spell duplicates the functions of [[quaff]]ing a [[potion of object detection]], which displays all objects on the current level and [[exercise]]s [[wisdom]], with the exact effects dependent on the hero's [[skill]] level in divination spells:{{refsrc|src/potion.c|850|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1160|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1165|version=NetHack 3.6.7|name=&amp;quot;equiv&amp;quot;|comment=all spells with potion effects fall through to this line}}{{refsrc|src/potion.c|853|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When cast, the spell duplicates the functions of [[quaff]]ing a [[potion of object detection]], which displays all objects on the current level and [[exercise]]s [[wisdom]], with the exact effects dependent on the hero's [[skill]] level in divination spells:{{refsrc|src/potion.c|850|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1160|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1165|version=NetHack 3.6.7|name=&amp;quot;equiv&amp;quot;|comment=all spells with potion effects fall through to this line}}{{refsrc|src/potion.c|853|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;monster_detect&lt;/del&gt;()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular objects, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;object_detect&lt;/ins&gt;()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular objects, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190902&amp;oldid=prev</id>
		<title>Umbire the Phantom: bleah, pastos...</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190902&amp;oldid=prev"/>
		<updated>2025-07-07T22:13:16Z</updated>

		<summary type="html">&lt;p&gt;bleah, pastos...&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:13, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot; &gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When cast, the spell duplicates the functions of [[quaff]]ing a [[potion of object detection]], which displays all objects on the current level and [[exercise]]s [[wisdom]], with the exact effects dependent on the hero's [[skill]] level in divination spells:{{refsrc|src/potion.c|850|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1160|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1165|version=NetHack 3.6.7|name=&amp;quot;equiv&amp;quot;|comment=all spells with potion effects fall through to this line}}{{refsrc|src/potion.c|853|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When cast, the spell duplicates the functions of [[quaff]]ing a [[potion of object detection]], which displays all objects on the current level and [[exercise]]s [[wisdom]], with the exact effects dependent on the hero's [[skill]] level in divination spells:{{refsrc|src/potion.c|850|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1160|version=NetHack 3.6.7}}{{refsrc|src/spell.c|1165|version=NetHack 3.6.7|name=&amp;quot;equiv&amp;quot;|comment=all spells with potion effects fall through to this line}}{{refsrc|src/potion.c|853|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;monster_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;monsters&lt;/del&gt;, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;monster_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;objects&lt;/ins&gt;, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed potion and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190901&amp;oldid=prev</id>
		<title>Umbire the Phantom: typo</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Spellbook_of_detect_treasure&amp;diff=190901&amp;oldid=prev"/>
		<updated>2025-07-07T22:12:21Z</updated>

		<summary type="html">&lt;p&gt;typo&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:12, 7 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;monster_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular monsters, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Basic level or lower, the spell emulates the uncursed potion and displays the current position of all objects on the level using a blank map, including [[buried]] and underwater objects{{refsrc|src/potion.c|851|version=NetHack 3.6.7|comment=calls &amp;lt;tt&amp;gt;object_detect()&amp;lt;/tt&amp;gt; in detect.c}}{{refsrc|src/detect.c|582|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;monster_detect()&amp;lt;/tt&amp;gt; function}}{{refsrc|src/detect.c|589|version=NetHack 3.6.7}}&amp;amp;mdash;objects not known to the hero will be displayed as their object type. Floor items are mapped over buried items, items on the top of piles are mapped over the rest of the pile, and the first item in a monster's inventory is mapped over any items they are standing on.{{refsrc|src/detect.c|608|version=NetHack 3.6.7}}{{refsrc|src/detect.c|648|version=NetHack 3.6.7}}{{refsrc|src/detect.c|683|version=NetHack 3.6.7}}{{refsrc|src/detect.c|702|version=NetHack 3.6.7}}{{refsrc|src/detect.c|719|version=NetHack 3.6.7}}{{refsrc|src/detect.c|744|version=NetHack 3.6.7}} The hero can navigate this screen by moving their cursor to highlight particular monsters, and any other key that does not perform a navigation action will exit this screen{{refsrc|src/detect.c|679|version=NetHack 3.6.7}}{{refsrc|src/detect.c|762|version=NetHack 3.6.7|comment=temporary map navigation}}&amp;amp;mdash;the locations of those objects are recorded when returning to normal play.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;potions &lt;/del&gt;and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* At Skilled or higher level, the spell emulates the blessed &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;potion &lt;/ins&gt;and will display and marks objects as above, but they are treated as though the hero handled them up close and will display their full object appearance (including identified ones where possible).{{refsrc|src/detect.c|591|version=NetHack 3.6.7}}{{refsrc|src/detect.c|619|version=NetHack 3.6.7}}{{refsrc|src/detect.c|630|version=NetHack 3.6.7}}{{refsrc|src/detect.c|641|version=NetHack 3.6.7}}{{refsrc|src/detect.c|655|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Casting the spell while [[hallucinating]] will have the same effects as described above, but will print different messages and display items as their hallucinated glyphs. As with the potion, if the symbol of a detected object suddenly disappears upon the hero moving onto an adjacent square to it, the item(s) in question are buried.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Casting the spell while [[hallucinating]] will have the same effects as described above, but will print different messages and display items as their hallucinated glyphs. As with the potion, if the symbol of a detected object suddenly disappears upon the hero moving onto an adjacent square to it, the item(s) in question are buried.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
</feed>