Darkest Dungeon®

Darkest Dungeon®

144 ratings
Sanitarium Room +3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
842.015 KB
13 Feb, 2022 @ 7:07am
14 Feb, 2022 @ 4:44am
6 Change Notes ( view )

Subscribe to download
Sanitarium Room +3

In 1 collection by Shine
GameConfig
17 items
Description
The sanatorium has 3 extra beds now. Cannot be used with other mods that modify the sanatorium. Compatible with 7 traits mod, but must be placed on top of them . Must be used in new saves or saves without any upgrades to the sanatorium.
治疗室增加3额外病房. 不可与其他修改治疗室mod同用. 兼容7特质mod, 但必须置于其上. 必须用于新存档或未对治疗室进行任何升级的存档中.

If you think +3 is too much, it's my other mod: Sanitarium Room +2
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2752521616


Say important things three times:

Best used in new archives or archives where the treatment room is not open.
最好用于新存档或治疗室未开放的存档中.

10怪癖可能会有ui错误;功能应该不会影响.
---------------------------------------------------------------------------------------------
感谢评论区的 @Akreos 提供了已有存档的尝试解决方案:
1)---
Akreos 2024 年 5 月 29 日 上午 2:19 
经本人测试,闪退的原因并不是因为治疗室有过升级,本人利用存档编辑器将治疗室的升级全部取消,启动mod依然导致闪退。

真正的闪退原因是治疗室的存在本身,当你解锁治疗室后,游戏程序会对治疗室的数据进行一次初始化,并将治疗室与病房各3个插槽(未解锁的插槽视为未被英雄使用)的使用情况保存在你存档文件夹内的persist.town.json文件中。

当你启用此mod后,游戏会认为你的治疗室与病房各有6个插槽,并试图读取这些插槽的数据,但是你存档中只有3个插槽的数据,于是错误出现,闪退。

解决办法:利用存档编辑器,手动编辑persist.town.json文件,自行添加治疗室与病房“缺少”的三个插槽

具体操作如下:
1.为了避免不必要的麻烦,请先在游戏中将正在治病或者矫正怪癖的英雄都请出去,进而空出所有插槽。
2.为了避免不必要的麻烦,请备份您的存档。
3.将persist.town.json文件拖入存档编辑器中,网址: robojumper.github.io/DarkestDungeonSaveEditor/
4.点击存档内容,ctrl+f搜索 sanitarium 字段,如果你有执行过第一条,那么你将看到以
"sanitarium" : {
"activities" : {
"treatment" : {
"0" : {
"hero" : 0,
"visitsRemaining" : 0,
"resident_occupied" : -1,
"is_side_effect_result" : false
},
"1" : {
"hero" : 0,
"visitsRemaining" : 0,
"resident_occupied" : -1,
"is_side_effect_result" : false
},
"2" : {
"hero" : 0,
"visitsRemaining" : 0,
"resident_occupied" : -1,
"is_side_effect_result" : false
},
为开头的代码,将四个部分的
"0" : {。。。
},
"1" : {。。。
},
"2" : {。。。
},
复制,并将012改成345,效果如下:
"0" : {。。。
},
"1" : {。。。
},
"2" : {。。。
},
"3" : {。。。
},
"4" : {。。。
},
"5" : {。。。
},
由于steam的回帖字数限制,无法将完整代码在这里列出,大家自己体会吧。
5.存档修改后下载并替换,进入游戏,启动mod,载入存档,会发现游戏可以正常运行,并且治疗室的升级也都保留且生效

29 Comments
风流似火 15 Jun @ 8:42am 
@Akreos true hero:steamthumbsup:
Shine  [author] 30 Mar @ 5:56am 
@亞當
我似乎在另一个平台看到过类似问题 目前没发现办法
贪墨程风 24 Jan @ 4:21am 
加完有6个病房但是只能用三个,另外三个是黑框用不了
2722328847 13 Jan @ 5:46am 
闪退
花满堂 4 Dec, 2024 @ 8:27pm 
@Akreos Hero
亞當 4 Oct, 2024 @ 9:08am 
請問有沒有一次可以治療多種正負怪癖的方法
Pviit 29 Jul, 2024 @ 6:41am 
@Akreos 牛逼,多谢老哥
Quietus 6 Jun, 2024 @ 11:21pm 
Doesn't work for me, just crashes.
拓跋宏 29 May, 2024 @ 10:14am 
@Akreos 稳!老哥!太牛逼了,一试就成!省去了新开档又得重新排mod的痛苦了:praisesun:
绪山•伟祥 28 May, 2024 @ 11:30pm 
wow fps60->32 然后自动关游戏