边缘世界 RimWorld

边缘世界 RimWorld

373 个评价
Dormitories Not Barracks
5
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.2, 1.3, 1.4
文件大小
发表于
更新日期
407.858 KB
2020 年 10 月 10 日 上午 5:57
2022 年 11 月 8 日 下午 1:39
8 项改动说明 ( 查看 )

订阅以下载
Dormitories Not Barracks

描述
The difference between bedroom and barracks bonuses is extreme. This mod adds dormitories, a room type that creates a compromise solution!

Feature
Dormitories are defined as rooms with 2-3 single beds (even a single and a double bed would turn it into a barrack). They provide thoughts that are better than that of barracks, but worse than bedrooms.

Bedroom
Dormitory
Barracks
Awful
-4
-6
-7
Dull
0
-3
-5
Mediocre
0
-1
-4
Decent
2
0
-3
Slightly impressive
3
1
-2
Impressive
4
2
-1
Very impressive
5
3
1
Extremely impressive
6
4
2
Unbelievably impressive
7
5
3
Wondrously impressive
8
6
4

Similarly, prison dormitory is a prison with 2-3 single beds.
P. Cell
P. Dormitory
P. Barracks
Awful
-4
-4
-4
Dull
0
-1
-2
Mediocre
0
0
0
Decent
2
1
0
Slightly impressive
3
2
1
Impressive
4
3
2
Very impressive
5
4
3
Extremely impressive
6
5
4
Unbelievably impressive
7
6
5
Wondrously impressive
8
7
6

Other than the difference in thought values, dormitories behave similar to any other room.
If you wish to change the values of the thought, you need to open this mod and change the values in Defs/ThoughtDefs/Thoughts_Dormitory.xml.

Report issues and find source code at the GitHub page[github.com].
74 条留言
UntouchedWagons 2023 年 5 月 24 日 下午 3:43 
I'm getting an error similar to ntiem8r:

Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) ---> System.FormatException: Method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RimWorld.Toils_LayDown:RimWorld.Toils_LayDown.ApplyBedThoughts_Patch2 (Verse.Pawn,RimWorld.Building_Bed): IL_007f: call 0x0000001f
Three 2023 年 5 月 21 日 上午 5:18 
As an solution for errors posted bellow I found this mod - Dormitories (Not Barracks) works very smoothly :sothappy:
ntiem8r 2023 年 5 月 21 日 上午 4:41 
Hi I'm getting this at the startup screen. Error performing harmony patches for DormitoriesNotBarracks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - HarmonyLib.HarmonyException: IL Compile Error ---> System.FormatException: Method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RimWorld.Toils_LayDown:RimWorld.Toils_LayDown.ApplyBedThoughts_Patch3 (Verse.Pawn,RimWorld.Building_Bed): IL_0092: call 0x00000021- logs are at https://gist.github.com/HugsLibRecordKeeper/ff9cfa656dfcc10d44819a9e83768ee8
four12 2023 年 4 月 26 日 下午 6:52 
Thirding @Guccio error report. Had it for quite some time, never bothered to deal with it.
Onion 2023 年 4 月 23 日 上午 2:48 
Seconding Guccio's error after game-start, someone @ me if it's answered please :p
χø£¡Ŧ <(´= w =`)> 2023 年 4 月 16 日 下午 12:06 
This mod should be applied to 2-4 beds in order to include a dorm with two bunk beds.
Three 2023 年 3 月 11 日 上午 2:45 
Getting this error after starting the game:
Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception

here are my logs:

https://gist.github.com/8192cba9d96a7a093408088747bda3d1
KyuKage 2023 年 2 月 25 日 下午 7:08 
@MagnusCerebrum and @Guccio - the full quote should be "it does register 2-3 medical beds as a dorm, going 4 or more however changes it back to a hospital room."

So you'll need to make a hospital room with 4+ beds.
Three 2023 年 2 月 25 日 下午 6:09 
@MagnusCerebrum , @Sexual Mongolian Yurt Description says:
"Dormitories are defined as rooms with 2-3 single beds"
Three 2023 年 2 月 25 日 下午 6:07 
@Aquila I have similar error :boldly: