Difference between revisions of "Apple"
(No idea why "suitable" was replaced here) |
|||
Line 9: | Line 9: | ||
|color=red | |color=red | ||
}} | }} | ||
− | |||
− | In [[NetHack 3.6.0]] and later versions, eating a cursed apple will cause you to fall asleep for 20-30 turns if you lack [[sleep resistance]]. This is a reference to [ | + | An '''apple''' is a fruit that is suitable for [[vegan]]s and [[vegetarian]]s. |
+ | |||
+ | ==Generation== | ||
+ | [[Healer]]s and [[Monk]]s start with at least 5 apples, and [[Knight]]s start with at least 10 apples. | ||
+ | |||
+ | ==Effects== | ||
+ | When eaten, apples provide 50 [[nutrition]]. Pets that are [[herbivorous]] will consider it a [[treat]], and it can be used to tame [[horse]]s; domestic [[cat]]s and [[dog]]s are rendered peaceful. | ||
+ | |||
+ | In [[NetHack 3.6.0]] and later versions, eating a cursed apple will cause you to fall asleep for 20-30 turns if you lack [[sleep resistance]]. This is a reference to [[wikipedia:Snow White|Snow White]] and the poisoned apple.{{refsrc|src/eat.c|2133|version=NetHack 3.6.0}} | ||
== Strategy == | == Strategy == | ||
− | Apples | + | Apples are best saved for taming or feeding pets; knights in particular will want to prioritizes taming their steed. However, if food proves especially scarce, then roles that start with apples may need to tide themselves over using them until permafood can be found. |
Healers, Knights, and Monks might need to eat their apples before they can find other food. | Healers, Knights, and Monks might need to eat their apples before they can find other food. | ||
Line 23: | Line 30: | ||
{{message|Heigh-ho, ho-hum, I think I'll skip work today.|As above, while a dwarf and hallucinating.}} | {{message|Heigh-ho, ho-hum, I think I'll skip work today.|As above, while a dwarf and hallucinating.}} | ||
− | Some [[YAFM]]s appear if you eat an apple or [[pear]] in NetHack while playing on a [[Unix]] or [[Mac OS]] system | + | Some [[YAFM]]s appear if you eat an apple or [[pear]] in NetHack while playing on a [[Unix]] or [[Mac OS]] system:{{refsrc|src/eat.c|1423}} |
{| class="prettytable" | {| class="prettytable" | ||
Line 32: | Line 39: | ||
| No effect | | No effect | ||
---- | ---- | ||
− | When a Unix program performs an illegal operation, the kernel shuts down the program | + | When a Unix program performs an illegal operation, the kernel shuts down the program, and the program often dumps a core file for loading into debuggers; the [[pun]] is that apples are usually dumped once the core is the only thing left. |
|- | |- | ||
| "Segmentation fault -- core dumped." (75/100 chance)<br/> | | "Segmentation fault -- core dumped." (75/100 chance)<br/> | ||
Line 40: | Line 47: | ||
| No effect | | No effect | ||
---- | ---- | ||
− | + | As above, but these error messages are more 'realistic' - an actual "core dumped" error on Unix comes with the cause of the crash. | |
|- | |- | ||
| "Delicious! Must be a Macintosh!" ([[Mac OS]] before Mac OS X which is Unix-like) | | "Delicious! Must be a Macintosh!" ([[Mac OS]] before Mac OS X which is Unix-like) | ||
Line 47: | Line 54: | ||
Apple Computer named their Macintosh computers after a real type of apple. | Apple Computer named their Macintosh computers after a real type of apple. | ||
|} | |} | ||
− | |||
− | |||
==Encyclopaedia entry== | ==Encyclopaedia entry== |
Revision as of 17:18, 24 February 2020
An apple is a fruit that is suitable for vegans and vegetarians.
Contents
Generation
Healers and Monks start with at least 5 apples, and Knights start with at least 10 apples.
Effects
When eaten, apples provide 50 nutrition. Pets that are herbivorous will consider it a treat, and it can be used to tame horses; domestic cats and dogs are rendered peaceful.
In NetHack 3.6.0 and later versions, eating a cursed apple will cause you to fall asleep for 20-30 turns if you lack sleep resistance. This is a reference to Snow White and the poisoned apple.[1]
Strategy
Apples are best saved for taming or feeding pets; knights in particular will want to prioritizes taming their steed. However, if food proves especially scarce, then roles that start with apples may need to tide themselves over using them until permafood can be found.
Healers, Knights, and Monks might need to eat their apples before they can find other food.
Messages
- You hear sinister laughter as you fall asleep...
- You ate a cursed apple and fell asleep.
- You fall asleep.
- As above, while deaf.
- Heigh-ho, ho-hum, I think I'll skip work today.
- As above, while a dwarf and hallucinating.
Some YAFMs appear if you eat an apple or pear in NetHack while playing on a Unix or Mac OS system:[2]
Message | Effect |
---|---|
"Core dumped." (Unix, not hallucinating) | No effect
When a Unix program performs an illegal operation, the kernel shuts down the program, and the program often dumps a core file for loading into debuggers; the pun is that apples are usually dumped once the core is the only thing left. |
"Segmentation fault -- core dumped." (75/100 chance) "Bus error -- core dumped." (24/100 chance) |
No effect
As above, but these error messages are more 'realistic' - an actual "core dumped" error on Unix comes with the cause of the crash. |
"Delicious! Must be a Macintosh!" (Mac OS before Mac OS X which is Unix-like) | No effect
Apple Computer named their Macintosh computers after a real type of apple. |
Encyclopaedia entry
NEWTONIAN, adj. Pertaining to a philosophy of the universe
invented by Newton, who discovered that an apple will fall
to the ground, but was unable to say why. His successors
and disciples have advanced so far as to be able to say
when.
Other Reading
Joke Unix documentation from which the "core dumped" messages appear to be derived. This appears to be a Usenet post, but Google Groups doesn't seem to have this one.
References
This page may need to be updated for the current version of NetHack.
It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.
Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.