RimWorld

RimWorld

367 ratings
Dormitories Not Barracks
5
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4
File Size
Posted
Updated
407.858 KB
10 Oct, 2020 @ 5:57am
8 Nov, 2022 @ 1:39pm
8 Change Notes ( view )

Subscribe to download
Dormitories Not Barracks

Description
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 Comments
UntouchedWagons 24 May, 2023 @ 3:43pm 
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 21 May, 2023 @ 5:18am 
As an solution for errors posted bellow I found this mod - Dormitories (Not Barracks) works very smoothly :sothappy:
ntiem8r 21 May, 2023 @ 4:41am 
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 26 Apr, 2023 @ 6:52pm 
Thirding @Guccio error report. Had it for quite some time, never bothered to deal with it.
Onion 23 Apr, 2023 @ 2:48am 
Seconding Guccio's error after game-start, someone @ me if it's answered please :p
χø£¡Ŧ|ź <(´= w =`)> 16 Apr, 2023 @ 12:06pm 
This mod should be applied to 2-4 beds in order to include a dorm with two bunk beds.
Three 11 Mar, 2023 @ 2:45am 
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 25 Feb, 2023 @ 7:08pm 
@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 25 Feb, 2023 @ 6:09pm 
@MagnusCerebrum , @Sexual Mongolian Yurt Description says:
"Dormitories are defined as rooms with 2-3 single beds"
Three 25 Feb, 2023 @ 6:07pm 
@Aquila I have similar error :boldly: