Difference between revisions of "Spellbook of detect treasure"

From NetHackWiki
Jump to navigation Jump to search
m (Strategy: Grammar/style)
(Duplicate material should be distinguished rather than shorthanded elsewhere imo (and the potion article also needs help). Fleshing out, rewriting and formatting accordingly - strategy is also goofy)
Line 1: Line 1:
{{spellbook|name=detect treasure|level=4|type=divination|turns=15|direction=non-directional|equiv=[[potion of object detection]]|abundance=2.03%|role=rogue}}
+
{{spellbook
 +
|name=detect treasure
 +
|level=4
 +
|type=divination
 +
|turns=15
 +
|direction=non-directional
 +
|equiv=[[potion of object detection]]
 +
|abundance=2.03%
 +
|role=rogue
 +
}}
  
Allows you to learn the '''detect treasure''' spell. This spell has the same effect as a [[potion of object detection]].{{refsrc|spell.c|910|comment=a fake potion is loaded up and used, allowing the peffects (potion effects) code to be reused for spell effects. Thus the spell and the potion are implemented by the same code.}}  It is the [[special spell]] for [[rogue]]s.
+
In ''[[NetHack]]'', the '''spellbook of detect treasure''' can be read to learn the '''spell of detect treasure'''. It is a level 4 [[divination spell]], and the [[spellbook]] takes roughly 15 turns to read. It is the [[special spell]] for [[Rogue]]s.
  
==Casting effects==
+
==Generation==
 +
There is a ~2.03% chance that a randomly generated spellbook is a spellbook of detect treasure.
  
{{main|Potion of object detection#Quaffing effects}}
+
==Description==
 +
When cast, the spell generally has the same effect as a [[potion of object detection]], depending on the skill level it is cast at{{refsrc|spell.c|910|comment=The peffects (potion effects) code is reused for spell effects by loading and using up a "fake potion"}} - at Basic skill or lower the spell reveals the location and item type of every object on the level and [[exercise]]s [[wisdom]]. At Skilled or higher, the spell reveals the location and item type of every object on the level, and additionally reveals the appearance of every item on the ground and in your inventory, as if you had seen them yourself.
  
{|class="prettytable"
+
==Strategy==
!Case
+
Like the potion of object detection, the spell of detect treasure can be used to prioritize items when exploring, such as finding the [[Castle]] chest with the [[wand of wishing]] or finding [[vault]]s that are not looted yet by revealing the 2x2 square of [[gold]] contained within.
!Effect
+
 
|-
+
Though somewhat difficult to cast for most roles without training in divination spells, once a player can reliably cast the spell it may be preferable to the potion of object detection: though the potion is commonplace, multiple potions are decently heavy to carry and excess ones are usually diluted into [[Potion of water|water]] for other purposes. Conversely, detect treasure can be cast so long as you have the energy available to, though that energy cost may be high depending on armor and failure rates, unless you have energy to spare or else do not expend much of it in combat.
|Unskilled or Basic
+
 
|Same effect as quaffing an uncursed [[potion of object detection]]. See that page.
+
==History==
|-
+
The spellbook of detect treasure is introduced with all other spellbooks in [[NetHack 1.3d]].
|Skilled or Expert
 
|Same effect as quaffing a blessed [[potion of object detection]]. See that page.
 
|}
 
  
 
==Messages==
 
==Messages==
 
{{main|Potion of object detection#Messages}}
 
{{main|Potion of object detection#Messages}}
  
The spell generates the same messages as the potion.
+
The spell generates the same messages as the potion of object detection.
 
 
==Strategy==
 
 
 
{{main|Potion of object detection#Strategy}}
 
 
 
The spell of detect treasure should be used whenever the player has an opportunity; it is preferable to potions of object detection, as it is only limited by the amount of energy available. Since the spell is non-combat, it is usable even with a fairly high failure rate. Even better, it shares its spell school ([[divination]]) with {{spell of|magic mapping}} and {{spell of|identify}}, two other excellent spells.
 
  
 
==References==
 
==References==
 
<references/>
 
<references/>
 
+
{{nethack-367}}
{{DOD}}
 
 
[[Category:Spellbooks|Detect treasure]]
 
[[Category:Spellbooks|Detect treasure]]
{{nethack-343}}
 

Revision as of 14:40, 16 September 2023

spellbook of
+   detect treasure   Light green spellbook.png
Appearance random
Abundance 2.03%
Base price 400 zm
Weight 50
Turns to read 15
Ink to write 20–39
Spell type divination
Level 4
Power cost 20 Pw
Direction non-directional
Equivalent potion of object detection
Special for rogue

In NetHack, the spellbook of detect treasure can be read to learn the spell of detect treasure. It is a level 4 divination spell, and the spellbook takes roughly 15 turns to read. It is the special spell for Rogues.

Generation

There is a ~2.03% chance that a randomly generated spellbook is a spellbook of detect treasure.

Description

When cast, the spell generally has the same effect as a potion of object detection, depending on the skill level it is cast at[1] - at Basic skill or lower the spell reveals the location and item type of every object on the level and exercises wisdom. At Skilled or higher, the spell reveals the location and item type of every object on the level, and additionally reveals the appearance of every item on the ground and in your inventory, as if you had seen them yourself.

Strategy

Like the potion of object detection, the spell of detect treasure can be used to prioritize items when exploring, such as finding the Castle chest with the wand of wishing or finding vaults that are not looted yet by revealing the 2x2 square of gold contained within.

Though somewhat difficult to cast for most roles without training in divination spells, once a player can reliably cast the spell it may be preferable to the potion of object detection: though the potion is commonplace, multiple potions are decently heavy to carry and excess ones are usually diluted into water for other purposes. Conversely, detect treasure can be cast so long as you have the energy available to, though that energy cost may be high depending on armor and failure rates, unless you have energy to spare or else do not expend much of it in combat.

History

The spellbook of detect treasure is introduced with all other spellbooks in NetHack 1.3d.

Messages

The spell generates the same messages as the potion of object detection.

References

  1. spell.c in NetHack 3.4.3, line 910: The peffects (potion effects) code is reused for spell effects by loading and using up a "fake potion"