Difference between revisions of "Pay"

From NetHackWiki
Jump to navigation Jump to search
(update)
m (chance to:opportunity::chance of:probability + small tweaks)
 
Line 1: Line 1:
'''Pay''' is a [[command]] in ''NetHack'' done by pressing {{kbd|p}}. It is used to pay [[shopkeeper]]s while in [[shop]]s.  
+
'''Pay''' is a [[command]] that appears in ''[[NetHack]]''. It is performed by pressing {{kbd|p}}, and is used to pay [[shopkeeper]]s while in [[shop]]s.  
  
 
==Description==
 
==Description==
 
Pressing {{kbd|p}} while inside a shop will attempt to pay the nearest shopkeeper you can see - this will automatically pay any debts incurred from [[usage fee]]s or used/destroyed items, then prompt you to ask for itemized billing. Selecting yes will allow you to pay for each item individually, while saying no will attempt to pay for all unpaid items at once. If in an area with multiple shopkeepers, such as [[Minetown]], you will be prompted to select the shopkeeper you are paying via cursor.
 
Pressing {{kbd|p}} while inside a shop will attempt to pay the nearest shopkeeper you can see - this will automatically pay any debts incurred from [[usage fee]]s or used/destroyed items, then prompt you to ask for itemized billing. Selecting yes will allow you to pay for each item individually, while saying no will attempt to pay for all unpaid items at once. If in an area with multiple shopkeepers, such as [[Minetown]], you will be prompted to select the shopkeeper you are paying via cursor.
  
The command can also be used outside of a shop, though in a majority of cases it will not do anything. However, if a shopkeeper is outside of their shop - e.g., chasing you down after you steal from them or damage their shop - you can use the pay command to cover any applicable debts or else try to pacify them. Using this with a shopkeeper that you did not steal from, but angered through other means, will attempt to give them 1000 [[zorkmid]]s; this has a {{frac|2|3}} chance to pacify them.
+
The command can also be used outside of a shop, though in a majority of cases it will not do anything. However, if a shopkeeper is outside of their shop - e.g., chasing you down after you steal from them or damage their shop - you can use the pay command to cover any applicable debts or else try to pacify them. Using this with a shopkeeper that you did not steal from, but angered through other means, will attempt to give them 1000 [[zorkmid]]s; this has a {{frac|2|3}} chance of pacifying them.
  
 
==Messages==
 
==Messages==
Line 14: Line 14:
 
While payment is mostly restricted to use with shopkeepers in ''NetHack'', variants may also employ it for additional purposes.
 
While payment is mostly restricted to use with shopkeepers in ''NetHack'', variants may also employ it for additional purposes.
  
In [[SLASH'EM]], [[dNetHack]], [[SpliceHack]], [[SpliceHack-Rewrite]], and [[SlashTHEM]], if you attempt to pay in a shop while you do not owe anything, the shopkeeper will ask if you want to try their other [[Shopkeeper services|services]].
+
In [[SLASH'EM]], [[dNetHack]], [[SpliceHack]], and [[SlashTHEM]], if you attempt to pay in a shop while you do not owe anything, the shopkeeper will ask if you want to try their other [[Shopkeeper services|services]].
 
{{nethack-366|offset=1}}
 
{{nethack-366|offset=1}}
 
{{slashem-7E7}}
 
{{slashem-7E7}}
 
[[Category:Commands|Pay]]
 
[[Category:Commands|Pay]]

Latest revision as of 09:43, 29 October 2023

Pay is a command that appears in NetHack. It is performed by pressing p, and is used to pay shopkeepers while in shops.

Description

Pressing p while inside a shop will attempt to pay the nearest shopkeeper you can see - this will automatically pay any debts incurred from usage fees or used/destroyed items, then prompt you to ask for itemized billing. Selecting yes will allow you to pay for each item individually, while saying no will attempt to pay for all unpaid items at once. If in an area with multiple shopkeepers, such as Minetown, you will be prompted to select the shopkeeper you are paying via cursor.

The command can also be used outside of a shop, though in a majority of cases it will not do anything. However, if a shopkeeper is outside of their shop - e.g., chasing you down after you steal from them or damage their shop - you can use the pay command to cover any applicable debts or else try to pacify them. Using this with a shopkeeper that you did not steal from, but angered through other means, will attempt to give them 1000 zorkmids; this has a 23 chance of pacifying them.

Messages

There appears to be no shopkeeper here to receive your payment.
You used the pay command while not inside a shop.
<Foo> is not near enough to receive your payment.
As above, but you are outside a shop.
<Foo> is not interested in your payment.
You were prompted to select a monster to pay and chose a non-shopkeeper.

Variants

While payment is mostly restricted to use with shopkeepers in NetHack, variants may also employ it for additional purposes.

In SLASH'EM, dNetHack, SpliceHack, and SlashTHEM, if you attempt to pay in a shop while you do not owe anything, the shopkeeper will ask if you want to try their other services.