<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.omega-rl.wiki/index.php?action=history&amp;feed=atom&amp;title=Draft%3ASleep</id>
	<title>Draft:Sleep - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.omega-rl.wiki/index.php?action=history&amp;feed=atom&amp;title=Draft%3ASleep"/>
	<link rel="alternate" type="text/html" href="https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;action=history"/>
	<updated>2026-09-21T21:30:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;diff=1736&amp;oldid=prev</id>
		<title>OmegaAdmin: 整理食物总览、十六种独立食物与饥饿机制，连接相关入口</title>
		<link rel="alternate" type="text/html" href="https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;diff=1736&amp;oldid=prev"/>
		<updated>2026-09-20T11:42:42Z</updated>

		<summary type="html">&lt;p&gt;整理食物总览、十六种独立食物与饥饿机制，连接相关入口&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:42, 20 September 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-l53&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;== Prevention and recovery ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;== Prevention and recovery ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;Eating a szechuan pepper adds sleep immunity after dealing one unstoppable damage. This immunity is not the [[Draft:Potion of alertness|alertness]] status: alertness assists searching and protects against a particular surprise attack, but the player sleep routine never checks it.&amp;lt;ref&amp;gt;{{Source|iinit.h|74}}; {{Source|itemf1.c|426|444}}; {{Source|effect2.c|411|419}}; {{Source|effect3.c|215|224}}; {{Source|mspec.c|220|251}}.&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;Eating a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Draft:Szechuan pepper|&lt;/ins&gt;szechuan pepper&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;adds sleep immunity after dealing one unstoppable damage. This immunity is not the [[Draft:Potion of alertness|alertness]] status: alertness assists searching and protects against a particular surprise attack, but the player sleep routine never checks it.&amp;lt;ref&amp;gt;{{Source|iinit.h|74}}; {{Source|itemf1.c|426|444}}; {{Source|effect2.c|411|419}}; {{Source|effect3.c|215|224}}; {{Source|mspec.c|220|251}}.&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;Ordinary player sleep ends as its count runs down. General curing, cleansing and healing do not directly clear the sleep counter; their useful poison, disease, blindness or HP effects do not imply a wake-up effect. On local maps you also cannot normally choose to use them while asleep.&amp;lt;ref&amp;gt;{{Source|effect3.c|103|137}}; {{Source|effect3.c|770|811}}; {{Source|effect1.c|203|226}}; {{Source|aux2.c|226|232}}; {{Source|time.c|29|38}}.&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;Ordinary player sleep ends as its count runs down. General curing, cleansing and healing do not directly clear the sleep counter; their useful poison, disease, blindness or HP effects do not imply a wake-up effect. On local maps you also cannot normally choose to use them while asleep.&amp;lt;ref&amp;gt;{{Source|effect3.c|103|137}}; {{Source|effect3.c|770|811}}; {{Source|effect1.c|203|226}}; {{Source|aux2.c|226|232}}; {{Source|time.c|29|38}}.&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OmegaAdmin</name></author>
	</entry>
	<entry>
		<id>https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;diff=1641&amp;oldid=prev</id>
		<title>OmegaAdmin: 整理普通法杖总览和独立草稿，连接效果、炼金与物品入口</title>
		<link rel="alternate" type="text/html" href="https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;diff=1641&amp;oldid=prev"/>
		<updated>2026-09-17T04:05:18Z</updated>

		<summary type="html">&lt;p&gt;整理普通法杖总览和独立草稿，连接效果、炼金与物品入口&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:05, 17 September 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-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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;! Method !! Sleep immunity !! Wake-up distance&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;! Method !! Sleep immunity !! Wake-up distance&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;| Player sleep spell or unblessed staff of sleep || Checks the selected monster&#039;s immunity || Set to zero on a successful effect&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;| Player sleep spell or unblessed &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Draft:Staff of sleep|&lt;/ins&gt;staff of sleep&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;|| Checks the selected monster&#039;s immunity || Set to zero on a successful effect&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;| Positively blessed staff of sleep || Sleeps every creature in the current level&amp;#039;s monster list without checking sleep immunity or individual line of sight || Set to zero for every affected creature&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;| Positively blessed staff of sleep || Sleeps every creature in the current level&amp;#039;s monster list without checking sleep immunity or individual line of sight || Set to zero for every affected creature&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OmegaAdmin</name></author>
	</entry>
	<entry>
		<id>https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;diff=1563&amp;oldid=prev</id>
		<title>OmegaAdmin: 整理伤害免疫、怪物移动及毒病睡眠机制，连接相关草稿入口</title>
		<link rel="alternate" type="text/html" href="https://www.omega-rl.wiki/index.php?title=Draft:Sleep&amp;diff=1563&amp;oldid=prev"/>
		<updated>2026-09-12T08:54:07Z</updated>

		<summary type="html">&lt;p&gt;整理伤害免疫、怪物移动及毒病睡眠机制，连接相关草稿入口&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Version box|version=0.90.4}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Sleep&amp;#039;&amp;#039;&amp;#039; stops the player&amp;#039;s ordinary actions on local maps while time and monsters continue to act. Monster sleep instead removes wakefulness and uses the creature&amp;#039;s wake-up distance, rather than a matching player-style duration. The two forms have different immunity and recovery rules.&amp;lt;ref&amp;gt;{{Source|time.c|19|68}}; {{Source|effect3.c|177|224}}; {{Source|mon.c|12|68}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Player sleep ==&lt;br /&gt;
An ordinary sleep effect of positive strength &amp;#039;&amp;#039;A&amp;#039;&amp;#039; gives &amp;#039;&amp;#039;&amp;#039;2 through (2&amp;#039;&amp;#039;A&amp;#039;&amp;#039; + 1) sleep counts&amp;#039;&amp;#039;&amp;#039; if the player is not already asleep and lacks sleep immunity; at strength zero it gives two counts. Repeating that effect while already asleep does not extend the existing count. This prevents indefinite extension through the same sleep routine, but does not prevent another application after you wake.&amp;lt;ref&amp;gt;{{Source|effect3.c|215|224}}; {{Source|util.c|25|31}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One count expires per minute-status update. Local time normally performs that check each game minute, with an additional minute check during ten-minute or hourly processing. Sleep duration is therefore not a fixed number of missed commands. While sleeping locally, you cannot select an item, cast a spell or walk away through the ordinary command loop. Monsters and other status checks continue.&amp;lt;ref&amp;gt;{{Source|aux2.c|226|232}}; {{Source|time.c|19|68}}; {{Source|aux3.c|11|47}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking ordinary HP damage does not wake the player or clear the sleep count. [[Draft:Poison|Poison]] can also keep damaging you during sleep. Prepare protection or remove a nearby threat before being disabled; a curative bottle in inventory is not useful while local sleep prevents you from choosing to drink it.&amp;lt;ref&amp;gt;{{Source|aux1.c|498|513}}; {{Source|aux2.c|201|232}}; {{Source|time.c|29|38}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The countryside map is a version-specific exception: its separate command loop does not check the player sleep counter before accepting input. Hourly travel still decreases that counter through its status checks. This is not protection against sleep in a local encounter or after entering a local map.&amp;lt;ref&amp;gt;{{Source|omega.c|380|389}}; {{Source|command1.c|255|329}}; {{Source|aux3.c|31|47}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Monster sleep ==&lt;br /&gt;
A naturally sleeping monster ordinarily wakes when you enter its wake-up distance at the start of a scheduled action. Waking does not by itself make it hostile. Magical sleep can change that distance as well as removing wakefulness.&amp;lt;ref&amp;gt;{{Source|mon.c|12|32}}; {{Source|effect3.c|177|213}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Method !! Sleep immunity !! Wake-up distance&lt;br /&gt;
|-&lt;br /&gt;
| Player sleep spell or unblessed staff of sleep || Checks the selected monster&amp;#039;s immunity || Set to zero on a successful effect&lt;br /&gt;
|-&lt;br /&gt;
| Positively blessed staff of sleep || Sleeps every creature in the current level&amp;#039;s monster list without checking sleep immunity or individual line of sight || Set to zero for every affected creature&lt;br /&gt;
|-&lt;br /&gt;
| Monster entering sleep-gas terrain || Checks sleep immunity, after flight/intangibility has been handled by the terrain dispatcher || Left unchanged&lt;br /&gt;
|}&lt;br /&gt;
Spell-induced sleep has no ordinary duration countdown for the monster. With wake-up distance zero, ordinary adjacency does not wake it; a damage attempt does, even if the monster is immune to that damage. An alarm, aggravation or another explicit wake-up event can also end sleep. Gas-trap sleep is less reliable near the player because the original wake-up distance remains.&amp;lt;ref&amp;gt;{{Source|effect3.c|177|213}}; {{Source|spell.c|62|65}}; {{Source|itemf3.c|713|720}}; {{Source|mon.c|113|131}}; {{Source|mon.c|937|953}}; {{Source|trap.c|11|47}}; {{Source|effect3.c|253|266}}; {{Source|movef.c|166|198}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sleep is not a guarantee against every scripted group effect. A [[Draft:Monster behavior#Group reactions|court response]] can directly invoke shared spellcasting for other participants without waiting for their own awake check. The specific encounter still matters.&amp;lt;ref&amp;gt;{{Source|mspec.c|723|738}}; {{Source|mspec.c|135|155}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
These are player sleep sources in the ordinary effect paths. A successful attempt still requires no existing sleep and no sleep immunity.&amp;lt;ref&amp;gt;{{Source|effect3.c|215|224}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Source !! Sleep strength and conditions&lt;br /&gt;
|-&lt;br /&gt;
| Sleep melee || After a landed attack, random 0&amp;amp;ndash;9 must be below monster level; sleep strength is that level&lt;br /&gt;
|-&lt;br /&gt;
| Shared [[Draft:Monster spellcasting|monster sleep spell]] || Strength floor(caster level / 2); available from caster level 3, after casting and resistance checks&lt;br /&gt;
|-&lt;br /&gt;
| [[Draft:Tse-tse fly|Tse-tse fly]] or [[Draft:Torpor beast|torpor beast]] remains, eaten || Strength 6: 2&amp;amp;ndash;13 counts; no food benefit&lt;br /&gt;
|-&lt;br /&gt;
| Cursed staff of sleep || Targets the player instead of monsters, with strength absolute curse magnitude + 2&lt;br /&gt;
|-&lt;br /&gt;
| Sleep-gas trap || Strength floor(difficulty / 5) + 1; breathing protection is not checked by this sleep effect&lt;br /&gt;
|-&lt;br /&gt;
| [[Draft:Evil fairy|Evil fairy]] conversation || Strength floor(fairy level / 2), along with its other hostile conversation effects&lt;br /&gt;
|}&lt;br /&gt;
Sleep-melee users include [[Draft:Tse-tse fly|tse-tse flies]], [[Draft:Torpor beast|torpor beasts]], [[Draft:Sandman|sandmen]], [[Draft:Mirror master|mirror masters]] and [[Draft:Coma beast|coma beasts]]. The physical damage and subsequent sleep check are separate; displacement or physical immunity is not a substitute for sleep immunity. A melee sleep ability placed in a ranged slot does not automatically work from a distance.&amp;lt;ref&amp;gt;{{Source|minit.h|26}}; {{Source|minit.h|145}}; {{Source|minit.h|233|235}}; {{Source|minit.h|267}}; {{Source|mmelee.c|8|20}}; {{Source|mmelee.c|138|145}}; {{Source|mspec.c|183|188}}; {{Source|item.c|80|93}}; {{Source|itemf1.c|224|230}}; {{Source|effect3.c|177|213}}; {{Source|trap.c|217|226}}; {{Source|mtalk.c|466|481}}; {{Source|mon.c|418|433}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Despite its name, the [[Draft:Potion of sleep|potion of sleep]] is the cursed form of the potion of alertness and does not actually put you to sleep in this version. The item wrapper ignores cursed alertness items before reaching the negative alertness effect. Eating sleep-inducing remains does reach a real sleep effect.&amp;lt;ref&amp;gt;{{Source|iinit.h|148}}; {{Source|itemf1.c|535|542}}; {{Source|effect2.c|411|419}}; {{Source|itemf1.c|224|230}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prevention and recovery ==&lt;br /&gt;
Eating a szechuan pepper adds sleep immunity after dealing one unstoppable damage. This immunity is not the [[Draft:Potion of alertness|alertness]] status: alertness assists searching and protects against a particular surprise attack, but the player sleep routine never checks it.&amp;lt;ref&amp;gt;{{Source|iinit.h|74}}; {{Source|itemf1.c|426|444}}; {{Source|effect2.c|411|419}}; {{Source|effect3.c|215|224}}; {{Source|mspec.c|220|251}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ordinary player sleep ends as its count runs down. General curing, cleansing and healing do not directly clear the sleep counter; their useful poison, disease, blindness or HP effects do not imply a wake-up effect. On local maps you also cannot normally choose to use them while asleep.&amp;lt;ref&amp;gt;{{Source|effect3.c|103|137}}; {{Source|effect3.c|770|811}}; {{Source|effect1.c|203|226}}; {{Source|aux2.c|226|232}}; {{Source|time.c|29|38}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Broader state resets are separate exceptions: [[Draft:Rampart Arms|a week at the Arms]] clears sleep counts below 1000, and a village void stone clears all status counts while also draining mana and stripping carried item magic. These are not commands you can ordinarily choose as an emergency response while asleep on a local map.&amp;lt;ref&amp;gt;{{Source|site2.c|109|131}}; {{Source|move.c|1070|1094}}; {{Source|time.c|29|38}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Strategy ==&lt;br /&gt;
Treat weak sleep attackers as a threat multiplier when other enemies are present. A tse-tse fly&amp;#039;s bite has little raw damage, but losing several game-minute status intervals can leave much stronger enemies free to act. Remove the fly or prepare immunity before relying on armor to absorb its bite.&lt;br /&gt;
&lt;br /&gt;
Sleep can also create room to move past monsters. The player spell and an unblessed staff require a susceptible selected target; a blessed staff&amp;#039;s area effect bypasses monster sleep immunity, but alarms, attempted damage and scripted group responses remain ways for the situation to change. A sleeping creature still occupies its square, so putting a blocker to sleep does not let you walk through it.&lt;br /&gt;
&lt;br /&gt;
Keep sleep-inducing remains distinct from their [[Draft:Potion of alertness|alchemical product]]. The dead fly and valium gland induce sleep when eaten; converting them to alertness potions yields a different benefit rather than a sleep-immunity potion.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Drafts]]&lt;br /&gt;
[[Category:Mechanics]]&lt;br /&gt;
[[Category:Omega 0.90.4]]&lt;/div&gt;</summary>
		<author><name>OmegaAdmin</name></author>
	</entry>
</feed>