Difference between revisions of "Apport"

From NetHackWiki
Jump to navigation Jump to search
m (Etymology: Wikipedia also mentions use for tribute)
("The verb "apport" typically does not appear in dictionaries of the English language" and meanwhile my first result is Merriam-Webster. Either previous editors weren't being thorough and/or this article's age is showing - I wager both)
Line 1: Line 1:
 
{{distinguish|tameness}}
 
{{distinguish|tameness}}
To '''apport''' something is to ''bring'' it.  In [[NetHack]], APPORT{{refsrc|dogmove.c|174}} is a statistic that represents how likely a [[pet]] is to 'fetch' items and bring them to [[you]].  Pets with high apport tend to follow you more reliably as well. Most pets start with an apport of 10.
+
In ''[[NetHack]]'', '''apport''' is a statistic that represents how likely a [[pet]] is to 'fetch' items and bring them to [[you]].
  
Apport can be increased by feeding your pet a [[treat]] (corpses do not count) shortly after it has dropped an item near you. You do not necessarily have to throw the treat to the pet, as long as you have had it in your inventory previously. For this reason, it's a good idea to pick up and drop things your pet might eat, especially food in [[shop]]s (you won't be charged for it).
+
==Description==
 +
"Apport" is the name of a variable field in <tt>struct edog</tt> that governs the chances of a pet picking up an item and dropping it on a square next to you.{{refsrc|edog.h|19}}{{refsrc|dogmove.c|174}} The higher the apport stat is, the more likely a pet is to bring you an item; pets with high apport tend to follow you more reliably as well. Most pets start with an apport of 10, and each 'fetching' decrements this number by 1.
 +
 
 +
Apport can be increased by feeding your pet any [[comestible]] that qualifies as a [[treat]] shortly after it has dropped an item near you. While this is commonly done by throwing the treat to the pet, the only requirement for treats to increase apport is that it has been in your inventory previously.
  
 
The exact formula for apport gain (calculated when the pet receives a treat) is:
 
The exact formula for apport gain (calculated when the pet receives a treat) is:
Line 10: Line 13:
 
  200 / (1 [[square]] + 1 [[turn]]) =  200/2  = +100 apport
 
  200 / (1 [[square]] + 1 [[turn]]) =  200/2  = +100 apport
  
Therefore to maximize apport gain, wait for your pet to drop an item at your feet, then reward it immediately.
+
==Strategy==
 
+
Apport is best raised and maintained by immediately rewarding a pet for dropping an item at your feet; this will raise initial apport high enough for the pet to start seeking you out, after which you should treat your pet from time to time after it drops something to keep apport high. [[Knight]]s (who start with a [[pony]] and many [[carrot]]s and [[apple]]s) and [[Healer]]s (who can turn [[rock]]s into [[meatball]]s via [[stone to flesh]]) are the roles most immediately prepared to handle this kind of training.
Apport is decreased by 1 every time your pet drops an item, so you need to treat your pet from time to time after it drops something to keep apport high. Theoretically, this should be quite easy if you have enough treats, as your pet should be doing a lot more fetching once you have trained it to realize that dropping stuff near you equals a reward.  However, it may be helpful to reward your pet immediately once it drops an item anywhere, to raise initial apport high enough for the pet to start seeking you out.
 
 
 
[[Knight]]s (who start with a [[pony]] and many [[carrot]]s &amp; [[apple]]s) or [[Healer]]s (who can turn [[rock]]s in to [[meatball]]s) should be able to train their pets to fetch quite well.
 
  
 
{|class="prettytable"
 
{|class="prettytable"
Line 35: Line 35:
 
|[[warhorse]]    ||    1800 ||    1241 || 2452 || 4904
 
|[[warhorse]]    ||    1800 ||    1241 || 2452 || 4904
 
|}
 
|}
 
  
 
==Etymology==
 
==Etymology==
The verb "apport" typically [http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=apport does not appear] in dictionaries of the English language. The French language has a verb "[[Wiktionary:apporter|apporter]]"; this word becomes "to apport" in English, and is synonym for "to bring".
+
The term "apport" is derived from the archaic English word "[[Wiktionary:apporter|apporter]]" and the much more common French ''apporter'' of the same spelling; their common root is the Latin ''apportō'' (“I carry in”). The former refers to an importer, while the latter is a verb that can mean "to bring (in)".
 
 
In a sentence: My dog apports blessed and uncursed objects.
 
 
 
Because "apport" appears so rarely in English, one may interpret its meaning as more specific than "bring". For example, Wikipedia has an [[Wikipedia:Apport|entry for "apport"]] - which is either as tribute or by a [[ghost]]!
 
 
 
In the [[source code]] of NetHack, <tt>apport</tt> is the name of a variable field in <tt>struct edog</tt>{{refsrc|edog.h|19}}. Thus we use "apport" as a noun to refer to the integer in that field. A pet with high apport, performs better to apport objects to you.
 
  
In many languages, "apport" is a widely used command in dog training, equivalent to "fetch".
+
In many languages, "apport" is a widely used command in dog training, equivalent to "fetch".{{fact}}
  
 
==See also==
 
==See also==
*Eva Myers' excellent spoiler for [http://www.statslab.cam.ac.uk/~eva/nethack/pets2.html Keeping and Training Pets in NetHack and SLASH'EM]
+
* Eva Myers' excellent spoiler for [http://www.statslab.cam.ac.uk/~eva/nethack/pets2.html Keeping and Training Pets in NetHack and SLASH'EM]
*[[tameness]]
+
* [[Tameness]]
  
 
==References==
 
==References==
 
<references/>
 
<references/>
  
{{nethack-343}}
+
{{nethack-366}}
 
[[Category:Pets]]
 
[[Category:Pets]]
 
[[Category:Annotations]]
 
[[Category:Annotations]]

Revision as of 04:50, 5 May 2021

Not to be confused with tameness.

In NetHack, apport is a statistic that represents how likely a pet is to 'fetch' items and bring them to you.

Description

"Apport" is the name of a variable field in struct edog that governs the chances of a pet picking up an item and dropping it on a square next to you.[1][2] The higher the apport stat is, the more likely a pet is to bring you an item; pets with high apport tend to follow you more reliably as well. Most pets start with an apport of 10, and each 'fetching' decrements this number by 1.

Apport can be increased by feeding your pet any comestible that qualifies as a treat shortly after it has dropped an item near you. While this is commonly done by throwing the treat to the pet, the only requirement for treats to increase apport is that it has been in your inventory previously.

The exact formula for apport gain (calculated when the pet receives a treat) is:

200 / ((distance from you to pet when the last item was dropped) + (# of turns since item was dropped))

Ideally, if a pet drops an item right next to you, and you immediately throw it a treat, the calculation would be:

200 / (1 square + 1 turn) =  200/2  = +100 apport

Strategy

Apport is best raised and maintained by immediately rewarding a pet for dropping an item at your feet; this will raise initial apport high enough for the pet to start seeking you out, after which you should treat your pet from time to time after it drops something to keep apport high. Knights (who start with a pony and many carrots and apples) and Healers (who can turn rocks into meatballs via stone to flesh) are the roles most immediately prepared to handle this kind of training.

Pet type Corpse wt Can carry unassisted in uncursed bag of holding in blessed bag of holding
kitten/little dog 150 51 72 144
housecat/dog 200 / 400 68 / 137 106 / 244 212 / 488
large cat/large dog 250 / 800 172 / 551 314 / 1072 628 / 2144
pony 1300 896 1762 3524
horse 1500 1034 2038 4076
warhorse 1800 1241 2452 4904

Etymology

The term "apport" is derived from the archaic English word "apporter" and the much more common French apporter of the same spelling; their common root is the Latin apportō (“I carry in”). The former refers to an importer, while the latter is a verb that can mean "to bring (in)".

In many languages, "apport" is a widely used command in dog training, equivalent to "fetch".[citation needed]

See also

References