Difference between revisions of "Swap chest"

From NetHackWiki
Jump to navigation Jump to search
m (Restrictions: Cannot polymorph a swap chest.)
m (more ref fixes)
Line 22: Line 22:
  
 
==Restrictions==
 
==Restrictions==
Swap chests cannot be locked<ref>https://github.com/tnnt-devteam/tnnt/blob/cdcb59c1583e6fc7604f93cc59ffd3f6f6b441d3/src/lock.c#L386</ref>, [[Wand of probing|probe]]d<ref>https://github.com/tnnt-devteam/tnnt/blob/af9e0b8d02109c47fc2d20a709e5723fbfe10042/src/zap.c#L1934</ref>, or [[polymorph]]ed <ref>https://github.com/tnnt-devteam/tnnt/commit/31e9e52a5ee2f549c16ae5db657bfc97ff3cedaa</ref>. You cannot successfully [[wish]] for a swap chest except in [[wizard mode]]; doing so creates a normal [[chest]] instead<ref>https://github.com/tnnt-devteam/tnnt/blob/c5d2fa2f4aee18b58c18c827adbd722c2830dea5/src/objnam.c#L3796</ref>.
+
Swap chests cannot be locked, [[Wand of probing|probe]]d, or [[polymorph]]ed.<ref>https://github.com/tnnt-devteam/tnnt/blob/cdcb59c1583e6fc7604f93cc59ffd3f6f6b441d3/src/lock.c#L386</ref><ref>https://github.com/tnnt-devteam/tnnt/blob/af9e0b8d02109c47fc2d20a709e5723fbfe10042/src/zap.c#L1934</ref><ref>https://github.com/tnnt-devteam/tnnt/commit/31e9e52a5ee2f549c16ae5db657bfc97ff3cedaa</ref> You cannot successfully [[wish]] for a swap chest except in [[wizard mode]]; doing so creates a normal [[chest]] instead.<ref>https://github.com/tnnt-devteam/tnnt/blob/c5d2fa2f4aee18b58c18c827adbd722c2830dea5/src/objnam.c#L3796</ref>
  
[[Gelatinous cube|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 <ref>https://github.com/tnnt-devteam/tnnt/commit/b1a639f83a05688c5c5294f1cb4e8ec7d745dac6</ref>. Swap chests cannot be picked up by heros due to their massive weight, but a tame [[nymph]] can carry it. [[Kick]]ing a swap chest before removing an object from it causes it to kick back, dealing 10-14 physical damage to you<ref>https://github.com/tnnt-devteam/tnnt/blob/af9e0b8d02109c47fc2d20a709e5723fbfe10042/src/dokick.c#L620</ref> <ref>https://github.com/tnnt-devteam/tnnt/commit/5a8e9054e92952b10cfa572fa2363a7f2a83a600</ref>.
+
[[Gelatinous cube]]s and other [[monster]]s 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.<ref>https://github.com/tnnt-devteam/tnnt/commit/b1a639f83a05688c5c5294f1cb4e8ec7d745dac6</ref> Swap chests cannot be picked up by heros due to their massive weight, but a tame [[nymph]] can carry it. [[Kick]]ing a swap chest before removing an object from it causes it to kick back, dealing 10-14 physical damage to you.<ref>https://github.com/tnnt-devteam/tnnt/blob/af9e0b8d02109c47fc2d20a709e5723fbfe10042/src/dokick.c#L620</ref><ref>https://github.com/tnnt-devteam/tnnt/commit/5a8e9054e92952b10cfa572fa2363a7f2a83a600</ref>
  
 
==Eligible objects==
 
==Eligible objects==

Revision as of 15:42, 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 that appears in The November NetHack Tournament. It allows players to exchange objects between games.

Generation

Swap chests are not randomly generated. There is a guaranteed swap chest in Mines' End and another in the Valley of the Dead.

Description

In its initial state, you cannot remove objects from a swap chest. You can place up to three eligible objects into each swap chest. Once you have placed at least one object into a swap chest, you can look inside of it and choose to either continue adding more objects (up to three) or remove a single object from the swap chest. Once you have removed an object, you can no longer place more objects inside that swap chest.[1]

Objects inside a swap chest are fully identified and have names that acknowledge the object donors.

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

Restrictions

Swap chests cannot be locked, probed, or polymorphed.[2][3][4] You cannot successfully wish for a swap chest except in wizard mode; doing so creates a normal chest instead.[5]

Gelatinous cubes and other 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.[6] 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.[7][8]

Eligible objects

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

The following objects cannot 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[10].

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

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.

References