Difference between revisions of "Swap chest"

From NetHackWiki
Jump to navigation Jump to search
(Eligible objects: Chargeable rings must be +1 or higher. https://github.com/tnnt-devteam/tnnt/commit/6a1666624d13e02971fd5f388d529a282fb1e637)
(Eligible objects: Update to current code. Make the ineligible list more clear.)
Line 19: Line 19:
 
==Eligible objects==
 
==Eligible objects==
  
The following items can be placed into a swap chest<ref>https://github.com/tnnt-devteam/tnnt/blob/c5d2fa2f4aee18b58c18c827adbd722c2830dea5/src/pickup.c#L2236</ref>:
+
The following objects can be placed into a swap chest<ref>https://github.com/tnnt-devteam/tnnt/blob/c5d2fa2f4aee18b58c18c827adbd722c2830dea5/src/pickup.c#L2236</ref>:
  
 
* All chargeable non-cursed [[ring]]s with +1 or higher charge.
 
* All chargeable non-cursed [[ring]]s with +1 or higher charge.
 
* All non-chargeable non-cursed [[ring]]s.
 
* All non-chargeable non-cursed [[ring]]s.
* All charged [[wand]]s other than a [[wand of nothing]] or [[wand of wishing]]
+
* All [[wand]]s with +1 or higher charge, except a [[wand of nothing]] or [[wand of wishing]].
* All non-cursed [[amulet]]s other than an [[amulet of strangulation]], [[amulet of restful sleep]] or [[fake Amulet of Yendor]]. The real [[Amulet of Yendor|Amulet]], of course, cannot be placed into any container.
+
* All non-cursed [[amulet]]s, except an [[amulet of strangulation]], an [[amulet of restful sleep]], or a [[fake Amulet of Yendor]].
* All [[Magical item|magical]] [[potion]]s, [[holy water]] and [[unholy water]]
+
* All [[Magical item|magical]] [[potion]]s.
* [[Expensive camera]]s, [[tinning kit]]s and [[magic marker]]s with at least 10 charges
+
* Potions of [[holy water]] and [[unholy water]].
* [[Stethoscope]]s and empty [[oilskin sack]]s
+
* [[Expensive camera]]s, [[tinning kit]]s and [[magic marker]]s with at least 10 charges.
* All chargeable tools with at least one charge
+
* [[Stethoscope]]s, empty [[oilskin sack]]s, [[bugle]]s, [[tooled horn]]s, and [[leather drum]]s.
* All other magical [[tool]]s, except non-empty containers and [[unique item]]s
+
* All other chargeable [[tool]]s with at least one charge.
* Non-cursed [[silver saber]]s, [[silver spear]]s, [[silver dagger]]s, or [[Enchantment|+3]] or higher weapons
+
* Empty [[bag of holding]].
* All [[dragon scales]], magical [[armor]] other than [[dunce cap]]s, [[fumble boots]] or [[gauntlets of fumbling]], and +3 or higher non-magical armor
+
* All other non-chargeable [[Magical item|magical]] [[tool]]s except [[magic lamp]]s.
* All non-cursed non-blank [[spellbook]]s other than the [[Book of the Dead]] that are fresh enough to be read at least one more time if you already know the spell
+
* Non-cursed [[silver saber]]s, [[silver spear]]s, [[silver dagger]]s.
* All non-blank scrolls other than a [[scroll of amnesia]] or [[scroll of punishment]]
+
* Non-cursed [[athame]]s with [[enchantment]] no worse than -2.
* [[Royal jelly]], [[wolfsbane]], and [[tin]]s of [[spinach]]
+
* All other non-cursed weapons with [[enchantment]] +3 or higher.
 +
* All non-cursed [[dragon scales]].
 +
* All non-cursed [[Magical item|magical]] [[armor]] except [[dunce cap]]s, [[fumble boots]], and [[gauntlets of fumbling]].
 +
* All non-cursed [[Magical item|non-magical]] [[armor]] with [[enchantment]] +3 or higher.
 +
* All non-cursed [[Magical item|magical]] [[spellbooks]] that allow at least 2 more readings.
 +
* All [[Magical item|magical]] scrolls except [[scroll of amnesia]] and [[scroll of punishment]].
 +
* [[Royal jelly]], [[wolfsbane]], and [[tin]]s of [[spinach]].
  
[[Artifact]]s can never be placed into a swap chest.
+
The following objects cannot be placed into a swap chest:
 +
 
 +
* The [[Amulet of Yendor]], which cannot be placed into any container.
 +
* Any [[Unique item|invocation item]], which cannot be placed into any container.
 +
* Any [[artifact]].
 +
* Any cursed [[ring]], [[amulet]], [[weapon]], [[armor]], or [[spellbook]].
 +
* Any [[container]] that is non-empty.
 +
* [[Gold]].
 +
* Any [[gem]].
 +
* Any [[iron chain]].
  
 
==Messages==
 
==Messages==

Revision as of 13:58, 30 October 2023

(
Name swap chest
Appearance mysterious sapient pearwood container
Base price 16000 zm
Weight 6000
Material wood
Monster use Will not be used by monsters.

A swap chest is a special container in The November NetHack Tournament, added in 2018. It is never randomly generated, but there is a guaranteed swap chest in Mines' End and another in the Valley of the Dead. It allows players to exchange items between games. You cannot successfully wish for a swap chest except in wizard mode; doing so creates a normal chest instead[1].

In its initial state, you cannot remove objects from a swap chest; however, if the chest is empty, you can reveal that. You can place up to three objects into each swap chest, subject to restrictions (see below). Any object placed into a swap chest will be named to include the name of the player who donated it. Once you have placed an object into a swap chest, you can look inside and remove a single object from it. Once you have done so, you can no longer place objects inside that swap chest[2]. Objects inside a swap chest will be fully identified.

Not removing an object from a swap chest constitutes the swap-chestless conduct in TNNT.

Swap chests cannot be locked[3] or probed[4]. Monsters cannot eat the swap chest, and will be instantly killed if they attempt it. A hero polymorphed into a gelatinous cube cannot eat a swap chest either, but will not be instakilled [5]. Swap chests cannot be picked up by heros due to their massive weight, but a tame nymph can carry it. Kicking a swap chest before removing an object from it causes it to kick back, dealing 10-14 physical damage to you[6] [7].

Eligible objects

The following objects can be placed into a swap chest[8]:

The following objects cannot be placed into a swap chest:

Messages

The swap chest resists your attempt to rummage through it. You feel like it wants something from you.
You tried to look inside a swap chest before contributing to it.
The swap chest spits out your [object] disdainfully.
You tried to put in an object that is not eligible.
The swap chest refuses to impose further on your generosity, and encourages you to take something and be on your way.
You tried to put more than three objects in.
You hear a loud SPLAT!
A monster tried to eat a swap chest out of your sight.
a token from [donor]
Name of the first object to be placed into a swap chest.
kindly donated by [donor]
Name of the second object to be placed into a swap chest.
generously bestowed by [donor]
Name of the third object to be placed into a swap chest.

History

Swap chests appeared in the inaugural TNNT of 2018.

In 2022, swap chests were changed so that players cannot see or remove their own donated objects from the chest. Also in 2022, donated objects had a random chance of being sent to a different TNNT server. During the 2022 tournament, an exploit was fixed where cancelling a swap chest allowed repeated use of it[9].

In 2023, the distribution of objects between servers was adjusted so that objects are more likely to stay on their server of origin[10]. Also in 2023, there were adjustments to the eligible object list[11].

References