Banana
A banana is a type of comestible that appears in NetHack. It is veggy and considered vegan.
Contents
Generation
Tourists may start with bananas among their random food items.[1]
Bananas make up 1⁄100 (1%) of all comestibles randomly generated on the ground, in general shops or as death drops. Delicatessens and health food stores can also stock bananas.
Tree 'fruits' have a 1⁄5 chance of being bananas, and generate in the following circumstances:[2][3]
- Kicking a tree has a one-time 14⁄15 chance of dropping (8−rnl(7)) bananas.[4]
- Cutting down a tree has a 1⁄5 chance of producing an banana.[5]
- A tree that is tunneled through has a 1⁄3 chance of leaving behind bananas.[6]
Applying a charged horn of plenty has a 0.9% chance of generating a banana or two.[7]
Description
Eating a banana grants 80 nutrition and takes 1 action to consume it.
A hero can throw bananas to tame domestic herbivorous monsters as well as apes and monkeys, and apes, monkeys and sasquatches regard bananas as treats.[8][9]
History
The banana first appears in Hack 1.21 and Hack for PDP-11, which is based on Jay Fenlason's Hack, and is included in the initial item list for Hack 1.0.
The ability to tame monkeys and apes with thrown bananas is added in NetHack 3.6.1 via commit 16118580 and refined via commit 53e8869a and commit dc6827ce so that they are treats for non-carnivorous apelike creatures and carnivorous apes are excluded from being tamed in this manner.
Origin
A banana is an elongated, edible fruit—botanically a berry—that is produced by several kinds of large, treelike herbaceous flowering plants in the genus Musa. In some countries, cooking bananas are called plantains, distinguishing them from "dessert bananas". The fruit is variable in size, color and firmness, but is usually elongated and curved, with soft flesh rich in starch covered with a peel, which may have a variety of colors when ripe. It grows upward in clusters near the top of the plant. The most dominant commercial variety of banana is the Cavendish, a fruit from a group of cultivars that include the 'Dwarf Cavendish' (1888) and 'Grand Nain' (the "Chiquita banana")—Cavendish bananas are bright green when unripened, while ripe ones are a distinctive yellow.
Almost all modern edible seedless (parthenocarp) cultivated bananas come from two wild species – Musa acuminata and Musa balbisiana – or their hybrids. Musa species are native to tropical Indomalaya and Australia, and were likely domesticated in New Guinea. The term "banana" is applied also to other members of the Musa genus, such as the scarlet banana (Musa coccinea), the pink banana (Musa velutina), and the Fe'i bananas. Members of the genus Ensete, such as the snow banana (Ensete glaucum) and the economically important false banana (Ensete ventricosum) of Africa are sometimes included. Both genera are in the banana family, Musaceae.
Bananas are grown in 135 countries, primarily for their fruit, and to a lesser extent to make banana paper and textiles, while some are grown as ornamental plants. The world's largest producers of bananas in 2022 were India and China, which together accounted for approximately 26% of total production. Bananas are eaten raw or cooked in recipes varying from curries to banana chips, fritters, fruit preserves, or simply baked or steamed. Worldwide, there is no sharp distinction between dessert "bananas" and cooking "plantains": this distinction works well enough in the Americas and Europe, but it breaks down in Southeast Asia where many more kinds of bananas are grown and eaten.
Messages
The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.
The following message is added as part of commit bad63a0d above:
- It rings! ... But no-one answers.
- You applied a banana while hallucinating. This is a reference to the song Bananaphone, which is the highly-popular title song of a 1994 children's music album by Raffi Cavoukian (mononym "Raffi") and Michael Creber.
Variants
In the Pirate patch by Nephi and the later version by ChrisANG, Pirates start the game with 3-6 bananas.
SLASH'EM
In SLASH'EM, all apelike creatures can be tamed with thrown bananas.
UnNetHack
In UnNetHack, the Pacman random vault has a guaranteed banana at a random position.
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, Pirates start the game with 3-6 bananas. Incantifier Pirates have their bananas replaced with scrolls of food detection, while clockwork Pirates are given potions of oil, and vampire Pirates are given potions of human blood.
SlashTHEM
In SlashTHEM, in addition to SLASH'EM details, Pirates start the game with 3-6 bananas as in dNetHack—incantifier Pirates receive scrolls of food detection instead.
Hack'EM
In Hack'EM, Pirates start the game with 3-6 bananas as in dNetHack.
Encyclopedia entry
He took another step and she cocked her right wrist in
viciously. She heard the spring click. Weight slapped into
her hand.
"Here!" she shrieked hysterically, and brought her arm up in
a hard sweep, meaning to gut him, leaving him to blunder
around the room with his intestines hanging out in steaming
loops. Instead he roared laughter, hands on his hips,
flaming face cocked back, squeezing and contorting with great
good humor.
"Oh, my dear!" he cried, and went off into another gale of
laughter.
She looked stupidly down at her hand. It held a firm yellow
banana with a blue and white Chiquita sticker on it. She
dropped it, horrified, to the carpet, where it became a
sickly yellow grin, miming Flagg's own.
"You'll tell," he whispered. "Oh yes indeed you will."
And Dayna knew he was right.
References
- ↑ src/u_init.c in NetHack 3.6.7, line 144
- ↑ src/mkobj.c in NetHack 3.6.7, line 1474
- ↑ src/mkobj.c in NetHack 3.6.7, line 1481
- ↑ src/dokick.c in NetHack 3.6.7, line 1115
- ↑ src/dig.c in NetHack 3.6.7, line 398
- ↑ src/dig.c in NetHack 3.6.7, line 1321
- ↑ src/mkobj.c in NetHack 3.6.7, line 2219: any comestible that can be randomly generated is eligible
- ↑ src/mondata.h in NetHack 3.6.7, line 232
- ↑ src/dog.c in NetHack 3.6.7, line 826