<?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=Guard</id>
	<title>Guard - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Guard"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;action=history"/>
	<updated>2026-07-21T15:10:39Z</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=Guard&amp;diff=203567&amp;oldid=prev</id>
		<title>Ray Chason: Include the female tile</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=203567&amp;oldid=prev"/>
		<updated>2026-05-12T23:38:35Z</updated>

		<summary type="html">&lt;p&gt;Include the female tile&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:38, 12 May 2026&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 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;{{monster&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;{{monster&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=guard&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=guard&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;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; |tile=[[File:guard.png]] [[File:guard_female.png]]&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;  |difficulty=14&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;  |difficulty=14&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;  |level=12&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;  |level=12&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ray Chason</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Guard&amp;diff=195605&amp;oldid=prev</id>
		<title>Tomsod: /* Generation */ may as well fix the upcoming logic</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=195605&amp;oldid=prev"/>
		<updated>2025-12-05T08:49:49Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Generation: &lt;/span&gt; may as well fix the upcoming logic&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 08:49, 5 December 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-l33&quot; &gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&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;Guards are special-cased to become [[human zombie]]s if the hero attempts to animate their [[corpse]] or [[statue]] by any means, including animating statues from [[statue trap]]s, though the creation of a guard can be forced in [[wizard mode]].{{refsrc|src/read.c|2415|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;Guards are special-cased to become [[human zombie]]s if the hero attempts to animate their [[corpse]] or [[statue]] by any means, including animating statues from [[statue trap]]s, though the creation of a guard can be forced in [[wizard mode]].{{refsrc|src/read.c|2415|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;{{upcoming|NetHack 3.7.0|Per {{commit|2bf0039}}, guards will start appearing less frequently after two have been killed&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;only &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;generating with &lt;/del&gt;a {{frac|x&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} chance where ''x ''is the number of guards that have been killed&amp;amp;mdash;after 50 guards have been killed, no more will be generated.}}&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;{{upcoming|NetHack 3.7.0|Per {{commit|2bf0039}}, guards will start appearing less frequently after two have been killed&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: any given turn &lt;/ins&gt;only &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;has &lt;/ins&gt;a {{frac|x&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} chance &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of decrementing the 30-turn &amp;lt;!-- I think it's also sometimes 15 now, but that's a trifle --&amp;gt; countdown for guard arrival, &lt;/ins&gt;where ''x ''is the number of guards that have been killed&amp;amp;mdash;after 50 guards have been killed, no more will be generated&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.  Cursed tin whistles still set the countdown to one turn remaining, and the guard will arrive after the {{frac|x&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} chance passes once&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;===Monster starting inventory===&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;===Monster starting inventory===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tomsod</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Guard&amp;diff=195604&amp;oldid=prev</id>
		<title>Tomsod: /* Monster starting inventory */ one, guards do not get rations; two, all their armor simply &quot;counts for&quot; its actual ac (mongets returns item enchantment)</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=195604&amp;oldid=prev"/>
		<updated>2025-12-05T08:35:54Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Monster starting inventory: &lt;/span&gt; one, guards do not get rations; two, all their armor simply &amp;quot;counts for&amp;quot; its actual ac (mongets returns item enchantment)&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 08:35, 5 December 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-l39&quot; &gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&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;Guards are [[always generated with]] a cursed tin whistle, providing a source for the shrill whistling sound a hero will hear while escaping them.{{refsrc|src/makemon.c|658|version=NetHack 3.6.7}}{{refsrc|src/vault.c|838|version=NetHack 3.6.7}} For other items, they follow similar generation mechanisms to other mercenaries such as [[soldier]]s and [[watchmen]] for armor and weapons, in addition to rules specific to them:&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;Guards are [[always generated with]] a cursed tin whistle, providing a source for the shrill whistling sound a hero will hear while escaping them.{{refsrc|src/makemon.c|658|version=NetHack 3.6.7}}{{refsrc|src/vault.c|838|version=NetHack 3.6.7}} For other items, they follow similar generation mechanisms to other mercenaries such as [[soldier]]s and [[watchmen]] for armor and weapons, in addition to rules specific to them:&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;* For [[armor]], guards have a target [[AC]] of -1.{{refsrc|src/makemon.c|595|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;* For [[armor]], guards have a target [[AC]] of -1.{{refsrc|src/makemon.c|595|version=NetHack 3.6.7}} &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; If at any point in the below list their total AC (including any [[enchantment]] bonuses or penalties) reaches this value, they won't be given any more armor.&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;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;** For their [[suit]] of armor, they have a {{frac|4|5}} chance of being given either [[splint mail]] ({{frac|2|3}} chance) or [[banded mail]] ({{frac|3}} chance) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that counts for 6 points of their target AC&lt;/del&gt;{{refsrc|src/makemon.c|625|version=NetHack 3.6.7}}&amp;amp;mdash;if they are not given either type of armor, they have a {{frac|4|5}} chance of being given either [[ring mail]] ({{frac|2|3}} chance) or [[studded leather armor]] ({{frac|3}} chance) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that counts for 3 points of their target AC&lt;/del&gt;, and will otherwise be given [[leather armor]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that counts for 2 points of their target AC&lt;/del&gt;.{{refsrc|src/makemon.c|628|version=NetHack 3.6.7}}{{refsrc|src/makemon.c|631|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;** For their [[suit]] of armor, they have a {{frac|4|5}} chance of being given either [[splint mail]] ({{frac|2|3}} chance) or [[banded mail]] ({{frac|3}} chance){{refsrc|src/makemon.c|625|version=NetHack 3.6.7}}&amp;amp;mdash;if they are not given either type of armor, they have a {{frac|4|5}} chance of being given either [[ring mail]] ({{frac|2|3}} chance) or [[studded leather armor]] ({{frac|3}} chance), and will otherwise be given [[leather armor]].{{refsrc|src/makemon.c|628|version=NetHack 3.6.7}}{{refsrc|src/makemon.c|631|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;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;** For their [[helm]], they have a {{frac|2|3}} chance of being given a [[helmet]], with a {{frac|2}} chance of a [[dented pot]] otherwise&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, and the helm will count for 1 point of their target AC&lt;/del&gt;.{{refsrc|src/makemon.c|634|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;** For their [[helm]], they have a {{frac|2|3}} chance of being given a [[helmet]], with a {{frac|2}} chance of a [[dented pot]] otherwise.{{refsrc|src/makemon.c|634|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;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;** For their [[shield]], they have a {{frac|2|3}} chance of being given a [[small shield]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that counts for 1 point of their target AC&lt;/del&gt;, and otherwise have a {{frac|2}} chance of being given a [[large shield]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that counts for 2 points of their target AC&lt;/del&gt;.{{refsrc|src/makemon.c|638|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;** For their [[shield]], they have a {{frac|2|3}} chance of being given a [[small shield]], and otherwise have a {{frac|2}} chance of being given a [[large shield]].{{refsrc|src/makemon.c|638|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;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;** For their [[boots]], they have a {{frac|2|3}} chance of being given a pair of [[low boots]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that count for 1 point of their target AC&lt;/del&gt;, and otherwise have a {{frac|2}} chance of being given a pair of [[high boots]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that count for 2 points of their target AC&lt;/del&gt;.{{refsrc|src/makemon.c|642|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;** For their [[boots]], they have a {{frac|2|3}} chance of being given a pair of [[low boots]], and otherwise have a {{frac|2}} chance of being given a pair of [[high boots]].{{refsrc|src/makemon.c|642|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;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;** Finally, they have a {{frac|2|3}} chance of being given a pair of [[leather gloves]], with a {{frac|2}} chance of a [[leather cloak]] otherwise&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, and the item will count for 1 point of their target AC&lt;/del&gt;.{{refsrc|src/makemon.c|646|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;** Finally, they have a {{frac|2|3}} chance of being given a pair of [[leather gloves]], with a {{frac|2}} chance of a [[leather cloak]] otherwise.{{refsrc|src/makemon.c|646|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;div&gt;* For weapons, guards have a {{frac|4}} chance of being given a dagger and an independent {{frac|7}} chance of a spear, with a {{frac|4}} of being given a knife if they receive neither weapon.{{refsrc|src/makemon.c|209|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;* For weapons, guards have a {{frac|4}} chance of being given a dagger and an independent {{frac|7}} chance of a spear, with a {{frac|4}} of being given a knife if they receive neither weapon.{{refsrc|src/makemon.c|209|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;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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Guards have the standard {{frac|2|3}} chance of being given a [[K-ration]] and an independent {{frac|2}} chance of being given a [[C-ration]].{{refsrc|src/makemon.c|665|version=NetHack 3.6.7}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&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;* Guards are ''not'' supposed to receive a wand of digging, potion of speed or wand of speed monster if they are given a [[defensive item]] or [[miscellaneous item]], but may still be given one due to a bug, since the monster's flag is not actually set at this stage of generation.{{refsrc|src/muse.c|1052|version=NetHack 3.6.7}}{{refsrc|src/muse.c|2032|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;* Guards are ''not'' supposed to receive a wand of digging, potion of speed or wand of speed monster if they are given a [[defensive item]] or [[miscellaneous item]], but may still be given one due to a bug, since the monster's flag is not actually set at this stage of generation.{{refsrc|src/muse.c|1052|version=NetHack 3.6.7}}{{refsrc|src/muse.c|2032|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>Tomsod</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Guard&amp;diff=195331&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* History */ word choice</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=195331&amp;oldid=prev"/>
		<updated>2025-11-30T22:59:30Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;History: &lt;/span&gt; word choice&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 22:59, 30 November 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-l81&quot; &gt;Line 81:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 81:&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;==History==&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;==History==&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 guard first appears in [[Hack 1.21]], &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a variant of &lt;/del&gt;Jay Fenlason's Hack, and is also included in the initial bestiary for [[Hack 1.0]]. In Hack 1.21, the guard uses a smiley face glyph, {{white|☺}}, and Hack 1.0 gives them their current glyph.&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 guard first appears in [[Hack 1.21]], &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;which is based on &lt;/ins&gt;Jay Fenlason's Hack, and is also included in the initial bestiary for [[Hack 1.0]]. In Hack 1.21, the guard uses a smiley face glyph, {{white|☺}}, and Hack 1.0 gives them their current glyph.&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;==Messages==&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;==Messages==&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=Guard&amp;diff=195330&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Farming guards */ word choice</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=195330&amp;oldid=prev"/>
		<updated>2025-11-30T22:58:55Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Farming guards: &lt;/span&gt; word choice&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 22:58, 30 November 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-l76&quot; &gt;Line 76:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&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;===Farming guards===&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;===Farming guards===&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;{{main|Farming}}&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;{{main|Farming}}&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;As vault guards do not go extinct, it is possible to farm guards for their inventory, including replacement armor, potions, wands, and even their whistles to use as polyfodder: while chaotic heroes are not penalized for murder and can theoretically farm guards directly, they will still suffer a significant penalty to alignment record. This kind of farming is best done with a [[pet]] that is strong enough to kill them quickly, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;especially with &lt;/del&gt;a pet that has a [[digestion attack]] such as a [[purple worm]]&amp;amp;mdash;be sure to monitor your pet's health during and in-between fights where necessary.&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;As vault guards do not go extinct, it is possible to farm guards for their inventory, including replacement armor, potions, wands, and even their whistles to use as polyfodder: while chaotic heroes are not penalized for murder and can theoretically farm guards directly, they will still suffer a significant penalty to alignment record. This kind of farming is best done with a [[pet]] that is strong enough to kill them quickly, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;e.g. &lt;/ins&gt;a pet that has a [[digestion attack]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;such as a [[purple worm]]&amp;amp;mdash;be sure to monitor your pet's health during and in-between fights where necessary.&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;{{upcoming|NetHack 3.7.0|The lower frequency of guards appearing after two have been killed makes farming much more difficult, and beyond a certain point it will be completely impossible.}}&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;{{upcoming|NetHack 3.7.0|The lower frequency of guards appearing after two have been killed makes farming much more difficult, and beyond a certain point it will be completely impossible.}}&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=Guard&amp;diff=191979&amp;oldid=prev</id>
		<title>Umbire the Phantom: tweaks</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=191979&amp;oldid=prev"/>
		<updated>2025-08-03T10:31:41Z</updated>

		<summary type="html">&lt;p&gt;tweaks&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 10:31, 3 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-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;div&gt;}}&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;}}&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;A '''guard''', {{monsym|guard}}, is a type of [[monster]] that appears in ''[[NetHack]]''. The guard is a [[strong]] and lawful [[Human (monster attribute)|human]] [[mercenary]] that is typically peaceful and patrols the [[vault]]s belonging to [[Croesus]]: they are the source of [[You hear|the footsteps heard on some levels]], indicating there is a vault on that floor.&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;A '''guard''', {{monsym|guard}}, is a type of [[monster]] that appears in ''[[NetHack]]''. The guard is a [[strong]] and lawful [[Human (monster attribute)|human]] [[mercenary]] that is typically peaceful&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;and patrols the [[vault]]s belonging to [[Croesus]]: they are the source of [[You hear|the footsteps heard on some levels]], indicating there is a vault on that floor.&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;Guards can be seen via [[infravision]] and will pick up weapons, armor and other items they come across, though they will only do so if made hostile. As mercenaries, hostile guards will also accept [[bribe]]s. Guards will not jump into [[hole]]s and [[trap door]]s or use [[wands of digging]], [[potions of speed]] or [[wands of speed monster]], and at low health they will not use a [[wand of digging]], a cursed [[scroll of teleportation]] or a cursed [[potion of gain level]] to escape.&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;Guards can be seen via [[infravision]] and will pick up weapons, armor and other items they come across, though they will only do so if made hostile. As mercenaries, hostile guards will also accept [[bribe]]s. Guards will not jump into [[hole]]s and [[trap door]]s or use [[wands of digging]], [[potions of speed]] or [[wands of speed monster]], and at low health they will not use a [[wand of digging]], a cursed [[scroll of teleportation]] or a cursed [[potion of gain level]] to escape. Guards that are [[polymorph]]ed into a monster that can [[divide]], and then made to split, will produce clones that do not retain the original's memory of their initial form.{{refsrc|src/makemon.c|858|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;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; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&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;Guards that are [[polymorph]]ed into a monster that can [[divide]], and then made to split, will produce clones that do not retain the original's memory of their initial form.{{refsrc|src/makemon.c|858|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&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;/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 guard has a single strong weapon attack.&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 guard has a single strong weapon attack.&lt;/div&gt;&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-l145&quot; &gt;Line 145:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 143:&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;It is possible, albeit difficult, to correct this situation in a normal game: since the above-described &amp;quot;never-never land&amp;quot; is simply the map coordinate &amp;lt;0,0&amp;gt;, a hero polymorphed into a [[mind flayer]] or [[master mind flayer]] can ultimately kill the banished guard by standing in the upper-left corner of the level map and using the [[Monster (command)|#monster]] command to emit damaging [[mental blast]]s; the blasts of a tamed mind flayer will not work. Receiving a message about the corridor disappearing will indicate success and enable more guards to spawn, though this naturally carries the usual penalties to alignment record and to luck (unless the hero is chaotic).&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;It is possible, albeit difficult, to correct this situation in a normal game: since the above-described &amp;quot;never-never land&amp;quot; is simply the map coordinate &amp;lt;0,0&amp;gt;, a hero polymorphed into a [[mind flayer]] or [[master mind flayer]] can ultimately kill the banished guard by standing in the upper-left corner of the level map and using the [[Monster (command)|#monster]] command to emit damaging [[mental blast]]s; the blasts of a tamed mind flayer will not work. Receiving a message about the corridor disappearing will indicate success and enable more guards to spawn, though this naturally carries the usual penalties to alignment record and to luck (unless the hero is chaotic).&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;The situation is simpler to correct in [[wizard mode]], by reading a blessed [[scroll of genocide]] and entering {{kbd|*}} when asked what class of monster to genocide: this wipes out all monsters currently on the level (but does not genocide them), including banished guards. It is even possible to (indirectly) observe the teleported guard by quaffing a blessed [[potion of monster detection]] just before wiping out all monsters on the level&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, as &lt;/del&gt;the scroll will &amp;quot;eliminate&amp;quot; one more monster than the potion detects, the extra monster being the banished guard.&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 situation is simpler to correct in [[wizard mode]], by reading a blessed [[scroll of genocide]] and entering {{kbd|*}} when asked what class of monster to genocide: this wipes out all monsters currently on the level (but does not genocide them), including banished guards. It is even possible to (indirectly) observe the teleported guard by quaffing a blessed [[potion of monster detection]] just before wiping out all monsters on the level&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;read &lt;/ins&gt;scroll &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of genocide &lt;/ins&gt;will &amp;quot;eliminate&amp;quot; one more monster than the potion detects, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;with &lt;/ins&gt;the extra monster being the banished guard.&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;==Encyclopedia entry==&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;==Encyclopedia entry==&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=Guard&amp;diff=189895&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* SLASH'EM */ oops</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=189895&amp;oldid=prev"/>
		<updated>2025-06-12T09:53:23Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;SLASH&amp;#039;EM: &lt;/span&gt; oops&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 09:53, 12 June 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-l143&quot; &gt;Line 143:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 143:&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;Under normal circumstances, the code to tear down a corridor made by a vault guard teleports them to a non-existent position (described as &amp;quot;never-never land&amp;quot; in the code, per {{sa|Disappearing guards|the explanation given above}}) before silently killing them, in order to remove the corridor when the hero walks out of it.&amp;lt;ref name=&amp;quot;guardmove&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;restfakecorr&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;parkguard&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;guardgone&amp;quot;/&amp;gt;{{refsrc|vault.c|703|version=SLASH'EM 0.0.7E7F2}} In SLASH'EM, a guard that is polymorphed and then killed in their polymorphed state will be teleported as described, but is not killed correctly: they will continue to exist in said non-existent position, thereby preventing any other guards from spawning in that vault.&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;Under normal circumstances, the code to tear down a corridor made by a vault guard teleports them to a non-existent position (described as &amp;quot;never-never land&amp;quot; in the code, per {{sa|Disappearing guards|the explanation given above}}) before silently killing them, in order to remove the corridor when the hero walks out of it.&amp;lt;ref name=&amp;quot;guardmove&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;restfakecorr&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;parkguard&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;guardgone&amp;quot;/&amp;gt;{{refsrc|vault.c|703|version=SLASH'EM 0.0.7E7F2}} In SLASH'EM, a guard that is polymorphed and then killed in their polymorphed state will be teleported as described, but is not killed correctly: they will continue to exist in said non-existent position, thereby preventing any other guards from spawning in that vault.&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;It is possible, albeit difficult, to correct this situation in a normal game: since the above-described &amp;quot;never-never land&amp;quot; is simply the map coordinate &amp;lt;0,0&amp;gt;, a hero polymorphed into a [[mind flayer]] or [[master mind flayer]] can ultimately kill the banished guard by standing in the upper-left corner of the level map and using the [[Monster (&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;extended &lt;/del&gt;command)|#monster]] command to emit damaging [[mental blast]]s; the blasts of a tamed mind flayer will not work. Receiving a message about the corridor disappearing will indicate success and enable more guards to spawn, though this naturally carries the usual penalties to alignment record and to luck (unless the hero is chaotic).&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;It is possible, albeit difficult, to correct this situation in a normal game: since the above-described &amp;quot;never-never land&amp;quot; is simply the map coordinate &amp;lt;0,0&amp;gt;, a hero polymorphed into a [[mind flayer]] or [[master mind flayer]] can ultimately kill the banished guard by standing in the upper-left corner of the level map and using the [[Monster (command)|#monster]] command to emit damaging [[mental blast]]s; the blasts of a tamed mind flayer will not work. Receiving a message about the corridor disappearing will indicate success and enable more guards to spawn, though this naturally carries the usual penalties to alignment record and to luck (unless the hero is chaotic).&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;The situation is simpler to correct in [[wizard mode]], by reading a blessed [[scroll of genocide]] and entering {{kbd|*}} when asked what class of monster to genocide: this wipes out all monsters currently on the level (but does not genocide them), including banished guards. It is even possible to (indirectly) observe the teleported guard by quaffing a blessed [[potion of monster detection]] just before wiping out all monsters on the level, as the scroll will &amp;quot;eliminate&amp;quot; one more monster than the potion detects, the extra monster being the banished guard.&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;The situation is simpler to correct in [[wizard mode]], by reading a blessed [[scroll of genocide]] and entering {{kbd|*}} when asked what class of monster to genocide: this wipes out all monsters currently on the level (but does not genocide them), including banished guards. It is even possible to (indirectly) observe the teleported guard by quaffing a blessed [[potion of monster detection]] just before wiping out all monsters on the level, as the scroll will &amp;quot;eliminate&amp;quot; one more monster than the potion detects, the extra monster being the banished guard.&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=Guard&amp;diff=189894&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* SLASH'EM */ bit more detail, paragraphing</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=189894&amp;oldid=prev"/>
		<updated>2025-06-12T09:52:58Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;SLASH&amp;#039;EM: &lt;/span&gt; bit 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 09:52, 12 June 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-l143&quot; &gt;Line 143:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 143:&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;Under normal circumstances, the code to tear down a corridor made by a vault guard teleports them to a non-existent position (described as &amp;quot;never-never land&amp;quot; in the code, per {{sa|Disappearing guards|the explanation given above}}) before silently killing them, in order to remove the corridor when the hero walks out of it.&amp;lt;ref name=&amp;quot;guardmove&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;restfakecorr&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;parkguard&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;guardgone&amp;quot;/&amp;gt;{{refsrc|vault.c|703|version=SLASH'EM 0.0.7E7F2}} In SLASH'EM, a guard that is polymorphed and then killed in their polymorphed state will be teleported as described, but is not killed correctly: they will continue to exist in said non-existent position, thereby preventing any other guards from spawning in that vault.&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;Under normal circumstances, the code to tear down a corridor made by a vault guard teleports them to a non-existent position (described as &amp;quot;never-never land&amp;quot; in the code, per {{sa|Disappearing guards|the explanation given above}}) before silently killing them, in order to remove the corridor when the hero walks out of it.&amp;lt;ref name=&amp;quot;guardmove&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;restfakecorr&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;parkguard&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;guardgone&amp;quot;/&amp;gt;{{refsrc|vault.c|703|version=SLASH'EM 0.0.7E7F2}} In SLASH'EM, a guard that is polymorphed and then killed in their polymorphed state will be teleported as described, but is not killed correctly: they will continue to exist in said non-existent position, thereby preventing any other guards from spawning in that vault.&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;It is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;actually &lt;/del&gt;possible to correct this situation&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, even &lt;/del&gt;in a normal game: since the above-described &amp;quot;never-never land&amp;quot; is simply the map coordinate &amp;lt;0,0&amp;gt;, a hero polymorphed into a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(master) &lt;/del&gt;[[mind flayer]] can &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;affect&amp;amp;mdash; and &lt;/del&gt;ultimately kill&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;mdash;&lt;/del&gt;the banished guard by standing in the upper-left corner of the map and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;emitting &lt;/del&gt;[[mental blast]]s &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(&lt;/del&gt;the blasts of a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tame &lt;/del&gt;mind flayer will not work&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; Doing so will eventually kill the guard, printing &lt;/del&gt;a message about the corridor disappearing and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;enabling &lt;/del&gt;more guards to spawn. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;The situation is simpler to correct in [[wizard mode]], by reading a blessed [[scroll of genocide]] and entering {{kbd|*}} when asked what class of monster to genocide: this wipes out all monsters currently on the level (but does not genocide them), including banished guards. It is even possible to (indirectly) observe the teleported guard by quaffing a blessed [[potion of monster detection]] just before wiping out all monsters on the level, as the scroll will &amp;quot;eliminate&amp;quot; one more monster than the potion detects, the extra monster being the banished guard.&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;It is possible&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, albeit difficult, &lt;/ins&gt;to correct this situation in a normal game: since the above-described &amp;quot;never-never land&amp;quot; is simply the map coordinate &amp;lt;0,0&amp;gt;, a hero polymorphed into a [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mind flayer]] or [[master &lt;/ins&gt;mind flayer]] can ultimately kill the banished guard by standing in the upper-left corner of the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;level &lt;/ins&gt;map and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;using the [[Monster (extended command)|#monster]] command to emit damaging &lt;/ins&gt;[[mental blast]]s&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;the blasts of a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tamed &lt;/ins&gt;mind flayer will not work. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Receiving &lt;/ins&gt;a message about the corridor disappearing &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;will indicate success &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;enable &lt;/ins&gt;more guards to spawn&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, though this naturally carries the usual penalties to alignment record and to luck (unless the hero is chaotic)&lt;/ins&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; &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;The situation is simpler to correct in [[wizard mode]], by reading a blessed [[scroll of genocide]] and entering {{kbd|*}} when asked what class of monster to genocide: this wipes out all monsters currently on the level (but does not genocide them), including banished guards. It is even possible to (indirectly) observe the teleported guard by quaffing a blessed [[potion of monster detection]] just before wiping out all monsters on the level, as the scroll will &amp;quot;eliminate&amp;quot; one more monster than the potion detects, the extra monster being the banished guard.&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;==Encyclopedia entry==&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;==Encyclopedia entry==&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=Guard&amp;diff=189893&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Strategy */ detail escaping solid rock a bit more</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=189893&amp;oldid=prev"/>
		<updated>2025-06-12T09:46:49Z</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; detail escaping solid rock a bit 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 09:46, 12 June 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-l74&quot; &gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&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;Some players name their hero Croesus (or one of the acceptable variants mentioned above) to avoid the alignment penalty for lying when using the name to make them leave, though said penalty is small and easily remedied, and such a strategy is also much more common in local play since servers often default to naming the character after the user. While guards can be bribed, this is often a waste of gold even when successful, but can be of use in some corner cases, e.g. to pacify a hostile guard and avoid murder penalties.&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;Some players name their hero Croesus (or one of the acceptable variants mentioned above) to avoid the alignment penalty for lying when using the name to make them leave, though said penalty is small and easily remedied, and such a strategy is also much more common in local play since servers often default to naming the character after the user. While guards can be bribed, this is often a waste of gold even when successful, but can be of use in some corner cases, e.g. to pacify a hostile guard and avoid murder penalties.&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;Should a hero dealing with a guard &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;somehow &lt;/del&gt;get stuck in a disappearing passageway, they can [[pray]] to escape: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;being &lt;/del&gt;stuck in a wall is considered a major trouble, and a successful prayer will teleport &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;them &lt;/del&gt;out&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;. If &lt;/del&gt;teleportation &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;somehow fails&lt;/del&gt;, the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;player will be granted &lt;/del&gt;temporary [[phasing]] for a handful of turns&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, which &lt;/del&gt;should be enough for them to make it back &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;onto &lt;/del&gt;a safe square.&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;Should a hero dealing with a guard get stuck in a disappearing passageway, they can [[pray]] to escape&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, provided they have not significantly impacted their alignment record and [[luck]] with murder penalties&lt;/ins&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Being &lt;/ins&gt;stuck in a wall is considered a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;major trouble&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;, and a successful prayer will &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;either &lt;/ins&gt;teleport &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the hero &lt;/ins&gt;out &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or, if &lt;/ins&gt;teleportation &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is blocked&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;grant &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;hero &lt;/ins&gt;temporary [[phasing]] for a handful of turns&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;mdash;the duration of phasing &lt;/ins&gt;should be enough for them to make it back &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;into &lt;/ins&gt;a safe &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;room or corridor &lt;/ins&gt;square&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, or else one that is directly adjacent to a safe location&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;===Farming guards===&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;===Farming guards===&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=Guard&amp;diff=189891&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* Disappearing guards */ also this...</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Guard&amp;diff=189891&amp;oldid=prev"/>
		<updated>2025-06-12T09:36:46Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Disappearing guards: &lt;/span&gt; also this...&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 09:36, 12 June 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-l65&quot; &gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&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;Once a hero without gold is successfully escorted to a main dungeon corridor or room, both the guard and the passage will vanish:{{refsrc|src/vault.c|46|version=NetHack 3.6.7|name=&amp;quot;clear_fcorr&amp;quot;|comment=&amp;lt;tt&amp;gt;clear_fcorr()&amp;lt;/tt&amp;gt;}}{{refsrc|src/vault.c|106|version=NetHack 3.6.7}}{{refsrc|src/vault.c|122|version=NetHack 3.6.7}}{{refsrc|src/vault.c|144|version=NetHack 3.6.7|name=&amp;quot;restfakecorr&amp;quot;|comment=&amp;lt;tt&amp;gt;restfakecorr(grd)&amp;lt;/tt&amp;gt; clears relocated guard after the temporary corridor is removed}} the guard's inventory is removed, the passage itself is replaced with unlit solid rock, items left inside the passage will be embedded in the solid rock, any [[trap]]s made in the passage are destroyed, and any other monsters caught in the disappearing passage will be moved to a random location on the current level.{{refsrc|src/vault.c|90|version=NetHack 3.6.7}} As part of this process, the guard themselves is relocated by the game to an off-map location at the northwestern-most corner (referred to in the code as &amp;quot;never-never land&amp;quot;), and once the corridor is properly closed that guard will be silently killed.{{refsrc|src/vault.c|64|version=NetHack 3.6.7|name=&amp;quot;guardmove&amp;quot;|comment=Per the note above this line within &amp;lt;tt&amp;gt;clear_fcorr()&amp;lt;/tt&amp;gt;: the guard is placed at the off-map coordinate &amp;lt;0,0&amp;gt; until the temporary corridor from vault back to civilization has been removed, and is still considered to be on the level in the meantime}}&amp;lt;ref name=&amp;quot;restfakecorr&amp;quot;/&amp;gt;{{refsrc|src/vault.c|156|name=&amp;quot;parkguard&amp;quot;|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;parkguard(grd)&amp;lt;/tt&amp;gt; function handles guard relocation and &amp;quot;storage&amp;quot;}}{{refsrc|src/vault.c|1024|version=NetHack 3.6.7|name=&amp;quot;guardgone&amp;quot;|comment=code for cleanup process begins here}}&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;Once a hero without gold is successfully escorted to a main dungeon corridor or room, both the guard and the passage will vanish:{{refsrc|src/vault.c|46|version=NetHack 3.6.7|name=&amp;quot;clear_fcorr&amp;quot;|comment=&amp;lt;tt&amp;gt;clear_fcorr()&amp;lt;/tt&amp;gt;}}{{refsrc|src/vault.c|106|version=NetHack 3.6.7}}{{refsrc|src/vault.c|122|version=NetHack 3.6.7}}{{refsrc|src/vault.c|144|version=NetHack 3.6.7|name=&amp;quot;restfakecorr&amp;quot;|comment=&amp;lt;tt&amp;gt;restfakecorr(grd)&amp;lt;/tt&amp;gt; clears relocated guard after the temporary corridor is removed}} the guard's inventory is removed, the passage itself is replaced with unlit solid rock, items left inside the passage will be embedded in the solid rock, any [[trap]]s made in the passage are destroyed, and any other monsters caught in the disappearing passage will be moved to a random location on the current level.{{refsrc|src/vault.c|90|version=NetHack 3.6.7}} As part of this process, the guard themselves is relocated by the game to an off-map location at the northwestern-most corner (referred to in the code as &amp;quot;never-never land&amp;quot;), and once the corridor is properly closed that guard will be silently killed.{{refsrc|src/vault.c|64|version=NetHack 3.6.7|name=&amp;quot;guardmove&amp;quot;|comment=Per the note above this line within &amp;lt;tt&amp;gt;clear_fcorr()&amp;lt;/tt&amp;gt;: the guard is placed at the off-map coordinate &amp;lt;0,0&amp;gt; until the temporary corridor from vault back to civilization has been removed, and is still considered to be on the level in the meantime}}&amp;lt;ref name=&amp;quot;restfakecorr&amp;quot;/&amp;gt;{{refsrc|src/vault.c|156|name=&amp;quot;parkguard&amp;quot;|version=NetHack 3.6.7|comment=&amp;lt;tt&amp;gt;parkguard(grd)&amp;lt;/tt&amp;gt; function handles guard relocation and &amp;quot;storage&amp;quot;}}{{refsrc|src/vault.c|1024|version=NetHack 3.6.7|name=&amp;quot;guardgone&amp;quot;|comment=code for cleanup process begins here}}&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;If a guard is killed in the passageway they create, they and the corridor will disappear as above, with their corpse and former possessions also left embedded in the resulting solid rock at their former location.{{refsrc|src/vault.c|176|version=NetHack 3.6.7}} A hero that is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;not dead and &lt;/del&gt;still located in the corridor when it disappears will be encased &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;alive &lt;/del&gt;in the solid rock.{{refsrc|src/vault.c|108|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;If a guard is killed in the passageway they create, they and the corridor will disappear as above, with their corpse and former possessions also left embedded in the resulting solid rock at their former location.{{refsrc|src/vault.c|176|version=NetHack 3.6.7}}&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 that is still located in the corridor when it disappears &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;by any means &lt;/ins&gt;will be encased in the solid rock &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;if they are not dead, with the process leaving the hero alive but usually trapping them&lt;/ins&gt;.{{refsrc|src/vault.c|108|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;==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>
</feed>