Bag of holding/zh-CN

From NetHackWiki
< Bag of holding(Redirected from 次元袋)
Jump to navigation Jump to search

NetHack 中文 Wiki 需要您的帮助!
了解如何帮助我们完善Wiki

( Bag.png
名称 次元袋
外观 袋子
基础价 100 zm
重量 15
材料
怪物使用 不会被怪物使用。

次元袋(bag of holding)是NetHack中的一种容器工具。它由制成,未鉴定时外观为袋子

生成

次元袋在随机生成工具中占比150(2%)。

次元袋随机生成时可能会装有一个随机物件[1][2],该物件不可能是次元袋、魔术袋取消魔杖[3]

仓库番顶层谜题的奖励房间中,有12的概率生成一只次元袋。

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

根据commit 6c479f23仓库番4a关卡中生成次元袋的概率调整为34仓库番4b关卡中生成次元袋的概率调整为14

描述

和大多数容器一样,次元袋会保护装入的物品不受火焰寒冷电击取消的影响,除此以外,它还能保护装入的易碎物品不被摔碎。

次元袋拥有一项独特的性质:它会改变存入的物品的总重量,具体效果根据次元袋的BUC而定,见下表(下表公式中cwgt是次元袋内容物的原重量)[4]

BUC 总重量
祝福 15 + (\frac{cwgt}{4} + 1)
未诅咒 15 + (\frac{cwgt}{2} + 1)
诅咒 15 + (cwgt \times 2)

表中的数字“15”即为次元袋本身的重量。每当玩家往次元袋里存放物品,或从次元袋取出物品时,次元袋的总重量都会立即重新计算[5]

每次玩家搜刮使用倾倒被诅咒的次元袋时,其内容物中的每个物件都有113的概率消失[6][7]

次元袋的爆炸

将特定物品装入次元袋会导致其爆炸,摧毁次元袋及其所有的内容物,并对玩家造成6d6点伤害[8][9],以下物品会引发次元袋爆炸:

以下内容涉及即将到来的版本(3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

根据commit 71754910commit 9cdcf7b2commit 6fd51c29commit ce1f4788,现在次元袋爆炸时不会摧毁其全部内容物,而是仅摧毁其113的内容物,使其余物品随机向四周飞散,易碎的物品在此过程中也会被摧毁,被飞散的物品砸到的怪物会被激怒。如果爆炸由魔术袋引发,则魔术袋必定被摧毁。如果爆炸由另一个次元袋引发,则引发爆炸的次元袋也会爆炸。

次元袋的嵌套

若先在会导致次元袋爆炸的物品外面套上多层布袋或防水袋,再放入次元袋,则能够降低发生爆炸的概率。爆炸的概率与袋子嵌套的层数有关,见下表[12]

布袋数量 发生爆炸的概率 成功概率
0 1/1 0
1 2/2 0
2 3/4 0.25
3 4/8 0.5
4 5/16 0.6875
5 6/32 0.8125
6 7/64 0.890625
7 8/128 0.9375
8 9/128 0.9296875
n (n>6) (n+1)/128

根据表中公式,次元袋和能够引爆次元袋的物品之间的袋子层数达到7层时,爆炸的概率达到极小值(6.25%),继续增加袋子层数反而会提高爆炸概率。

如果以此方法将一个次元袋放入另一个次元袋,则两个袋子的效果会以累乘的方式叠加,例如若两个袋子都是受祝福的,则内层的次元袋里的物品总重量会被减少到116

策略

次元袋能够大大增加玩家能够携带的物资量,因此是飞升套件的重要组成部分。次元袋能够为其内容物抵御各种损伤,但无法抵御潮湿效果——你可以为次元袋上油,或是将它装入防水袋来补足这一缺陷。

若需要鉴别某个袋子是否是次元袋,你可以在鉴别其BUC,确定其为非诅咒后,在身上携带足够多的物品,让自身刚好进入负担状态,然后将一些较重的物品放入携带的袋子,观察自己的负重状况是否有变化。

物品管理

由于次元袋有爆炸的风险,部分玩家会选择再携带一只布袋来存放一些比较珍贵,或者会引爆次元袋的物品。

你可以将次元袋也存入一个布袋,来防止次元袋被诅咒物品的魔法效果影响,不过,这会使得你从次元袋取出物品花费的时间增加。

处理被诅咒的次元袋

如果你在骨档里发现次元袋,它很有可能是被诅咒的,这会导致它重量过高,难以捡起,且直接搜刮它会导致里面的部分物资消失,若想要完好回收里面所有的物品,你需要先解除它的诅咒。你可以先尝试把次元袋捡起,如果能够捡起来,就可以利用圣水解除诅咒的手段解除袋子的诅咒,如果无法捡起,你可以直接对袋子挥动取消魔杖,这会将袋子变为未诅咒状态,不会有其他影响。

如果没有取消手段,也无法捡起袋子,你可以直接对袋子使用倒出操作——这仍然会导致部分内容物消失,但可以最大限度地抢救剩余的东西,而不用担心自己的物品栏装不下。

还有一种抢救手段是让黏胶立方怪吃下次元袋:这样会损失袋子,但里面的所有物品都能暂时安全地保留,只需及时杀死怪物就可以回收。

避免次元袋爆炸

只要不发生误操作,将其他次元袋或者魔术袋放进次元袋的行为是容易避免的,要避免取消魔杖进入次元袋相对就没那么容易。出于保险考虑,不要将任何没有鉴定的魔杖放进次元袋,获得新魔杖后要第一时间进行刻写鉴定,如果某魔杖在刻写时会使得地面上已有的文字消失,则它就有可能是取消魔杖,要特别留意。

通常来说,不建议携带不需要使用的魔术袋或多余的次元袋,这样可以避免往次元袋存放物品时出现误操作炸掉次元袋的概率。

处理嵌套的次元袋

根据前文所述,将次元袋放入多层嵌套的布袋或防水袋内部,即可降低其被放入另一个次元袋时爆炸的概率。一般来说,此机制最实用的用途是利用嵌套次元袋的减重效果,携带大量不需要频繁存取的金币宝石等贵重物品,以提高游戏结束时的得分

如果需要嵌套更多的次元袋,下表展示了嵌套层数和不发生爆炸的概率的关系:

次元袋个数 间隔的布袋数量 成功概率
2 7 0.9375
3 7,7 0.769042...
4 7,7,7 0.512570...
5 7,7,7,7 0.256222...
6 7,6,6,6,7 0.0935839...
7 7,6,5,5,6,7 0.0236287...
...
43 3,2,2, ... ,2 非常小

举例说明,如果你需要嵌套3个次元袋,在每两个次元袋之间都套7层布袋(在上表里记作“7,7”),则第一次嵌套不爆炸的概率是1-(8/128),将两个嵌套的次元袋装进第三个次元袋时,每个次元袋均需进行一次概率判定,此时不爆炸的概率是(1-(8/128)) * (1-(16/128))[8][9],计算可知在整个嵌套过程中,有约23.1%的概率发生爆炸。

历史

次元袋最初于NetHack 3.0.0加入游戏。

NetHack 3.3.0NetHack 3.4.3版本中,仓库番4a关卡的通关奖励必定是次元袋,4b关卡的奖励必定是反射护身符

起源

次元袋起源自《龙与地下城》中的同名道具。不少民间传说、神话和流行奇幻作品中都有类似设定的魔法口袋。

消息

一件<物品>消失了!(An <object> has vanished!)
你使用或搜刮了被诅咒的次元袋,导致里面的物品消失[13]
你看到<物品>消失了!(You see <object> disappear!)
同上,但消失的物品尚未被鉴定[14]
当你放入<物品>时,你被魔法爆炸冲击!(As you put <object> inside, you are blasted by a magical explosion!)
你将特定的物品放入次元袋,导致其爆炸[15]

Variants

此条目或段落的部分内容需要翻译。
您可以帮助我们翻译此页面,但请勿使用机器翻译

SLASH'EM

In SLASH'EM, upgrading a sack or oilskin sack can produce a bag of holding. The Wallet of Perseus is an unaligned artifact bag of holding that has enhanced weight reduction.

Due to the ability to upgrade, the amulet of reflection is generally the more valuable Sokoban prize: there is still a 12 chance of each reward, even with the new levels introduced in the variant.

SLASH'EM has a 'showweight' option that explicitly displays the amount of weight the hero is carrying - informally identifying bags of holding is trivial with this option turned on. The Wallet of Perseus also enables informal identification of a bag of holding via the 'naming artifacts' trick.

NetHack brass

In NetHack brass, Sokoban offers a choice between 3 items, with one being a bag of holding.

GruntHack

In GruntHack, causing a bag of holding to explode does not destroy the contents of the bag, but scatters them and the hero throughout the dungeon via level teleport.

Sokoban in GruntHack also offers a choice between 3 prizes, with one being a guaranteed bag of holding.

SporkHack

In SporkHack, an exploding bag of holding scatters its contents nearby, rather than destroying them outright—this will still destroy the inserted object, and fragile objects such as potions and mirrors are broken as if they were thrown.

UnNetHack

In UnNetHack, exploding bags of holding react the same as in SporkHack, scattering most of its contents and destroying fragile items.

Sokoban in UnNetHack offers a choice between 3 prizes, with one being a guaranteed bag of holding.

AceHack

In AceHack, inserting a bag of tricks or a wand of cancellation inside a bag of holding will drain them of their charges rather than destroying any items inside. A hero can still destroy bags of holding by nesting them, but will receive a confirmation prompt when doing so. This also applies to NetHack 4, a 'successor' variant to AceHack.

NetHack Fourk

In NetHack Fourk, Sokoban now has set rewards for each of the possible maps that can appear as its final floor. Open at the Top, which is essentially a clone of Sokoban level 4a, always has a bag of holding as its prize.

xNetHack

In xNetHack, an exploding bag of holding behaves as in SporkHack and some other variants: 113 of the contents are destroyed along with the bag and inserted item, and the rest are scattered, destroying fragile items.

EvilHack

In EvilHack, an exploding bag of holding functions as in SporkHack and some other variants: 113 of the contents are destroyed along with the bag and inserted item, and the rest are scattered, destroying fragile items.

Sokoban in EvilHack offers 3 different type of prize item, and its prize tool has a 12 chance of being a bag of holding.

The Bag of the Hesperides is an artifact bag of holding similar to the Wallet of Perseus that repels water like an oilskin sack, confers protection when carried, and is made of intrinsically-fireproof dragonhide—it can only be obtained within the last floor of the Ice Queen's Realm, where it is placed inside a crystal chest within the pegasus cage.

Hack'EM

In Hack'EM, bags of holding behave as in EvilHack. The Wallet of Perseus is also given most of the same physical traits as the Bag of the Hesperides from EvilHack.

百科文本

"Now, this third handkerchief," Mein Herr proceeded, "has also four edges, which you can trace continuously round and round: all you need do is to join its four edges to the four edges of the opening. The Purse is then complete, and its outer surface--"
"I see!" Lady Muriel eagerly interrupted. "Its outer surface will be continuous with its inner surface! But it will take time. I'll sew it up after tea." She laid aside the bag, and resumed her cup of tea. "But why do you call it Fortunatus's Purse, Mein Herr?"
The dear old man beamed upon her, with a jolly smile, looking more exactly like the Professor than ever. "Don't you see, my child--I should say Miladi? Whatever is inside that Purse, is outside it; and whatever is outside it, is inside it. So you have all the wealth of the world in that leetle Purse!"

[ Sylvie and Bruno Concluded, by Lewis Carroll ]

引用及注释