Darkest Dungeon®

Darkest Dungeon®

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

Subscribe to download
Sanitarium Room +2

Description
The sanatorium has 2 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.
治疗室增加2额外病房. 不可与其他修改治疗室mod同用. 兼容7特质mod, 但必须置于其上. 必须用于新存档或未对治疗室进行任何升级的存档中.

If you feel that +2 is still not enough, it's my other mod: Sanitarium Room +3
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2752521463


Best used in new archives or archives with closed treatment rooms.
最好用于新存档或未开放治疗室的存档中.

10怪癖可能会有ui错误;功能应该不会影响.

---------------------------------------------------------------------------------------------
感谢评论区的 @Akreos 提供了已有存档的尝试解决方案:

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,载入存档,会发现游戏可以正常运行,并且治疗室的升级也都保留且生效
6 Comments
Shine  [author] 30 Mar @ 6:02am 
@Witteren
你可以打开这个mod里面的文件 找到价格部分自己进行金额调整~
You can open the file inside this mod to find the price section to adjust the amount yourself ~
Witteren 16 Jan @ 9:35am 
@Shine could you make a version of this where the prices for qwerks is half?:plagueknight:
tosuncuk 3 Jul, 2022 @ 2:50pm 
Not work, boo
SSH 15 Mar, 2022 @ 6:20pm 
请问是否兼容10怪癖mod?
云夜梦焉 3 Mar, 2022 @ 8:23am 
ohhhhhhhhhhhh!!!!!
一叶知秋旅 18 Feb, 2022 @ 2:42am 
gooddddddddddddddddddddddddd:steammocking: