Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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
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
So you'll need to make a hospital room with 4+ beds.
"Dormitories are defined as rooms with 2-3 single beds"
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/2014b096d2475b72394a6c78f3033de2
https://gist.github.com/6dfc3bc0d75d9d85892d18f8f3195e5c
Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception. ---> 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_Patch6 (Verse.Pawn,RimWorld.Building_Bed): IL_0092: call 0x00000021
JobDriver threw exception in initAction for pawn Red driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_2652324) A=Thing_MealFine427614 B=(56, 0, 128))
System.MissingFieldException: Field 'RimWorld.BuildingProperties.bed_countsForBedroomOrBarracks' not found.
I understand if you won't fix this. Just a heads up.
I mean it would still require having no workbenches and yu'll get the disturbed sleep x3 debuff, so I think it's a fair choice
https://pastebin.com/Z87L9t4z
Hope to see your upgrade/updates gets in this one. "Hospitality" is very useful mod, so it is a must to be compatible with it.
1) Open the folder containing this mod
For me, it's located
C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2253550390
2) Open the folder labeled "About" (without the quotes)
3) Using Notepad or Notepad++ open "About.xml" (without the quotes)
4) Double check the name of the mod on line 2 looks like this:
<name>Dormitories Not Barracks</name>
5) Line 5-7 should look something like this:
<supportedVersions>
<li>1.2</li>
</supportedVersions>
6) Change <li>1.2</li> to "<li>1.3</li>"
7) Save the file.
8) Close the folders and start up your game.
Personally, I copy the mod folder and rename it to something like
"Fix_Dormitories-Not-Barracks" (without the quotes)
and place it in this location:
C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
This way I can easily find it and the original mod will be updated once the author does so.
I hope this helps you out.
Glad to know it works anyway. =)
@Criarino, thanks for the test
Only single beds
Description
" Dormitories are defined as rooms with 2-3 single beds "
I have this mod placed after RR in my mod load order btw