安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






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