安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
[Lag Free Torches and More] Patch operation Verse.PatchOperationRemove(Defs/ThingDef[
defName = "TorchLamp"
]/comps/li[@Class="CompProperties_Refuelable"]
) failed
So, if you really want to, you can patch it separately with the following operation:
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[
defName = "TorchWallLamp"
]/comps/li[@Class="CompProperties_Refuelable"]
</xpath>
</Operation>
Go to your
*\Steam\steamapps\workshop\content\294100\2863526335\1.5\Core\Patches\Core No Fuel Patch.xml
And replace Operation with the following one:
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[
@Name = "TorchBase"
]/comps/li[@Class="CompProperties_Refuelable"]
</xpath>
</Operation>
Mod author forgot for some reason that quote from official documentation: "Patching is done before Def inheritance takes place. This means that you cannot target tags that are inherited from a parent, but also that if you alter a parent, all of its children will inherit the patched value."
So in the ThingDef "TorchLamp" there are no comp with Class="CompProperties_Refuelable" at the time of patching.
Verse.PatchOperationRemove(xpath="Defs/ThingDef[
defName = "TorchLamp"
]/comps/li[@Class="CompProperties_Refuelable"]
"): Failed to find a node with the given xpath
[End of stack trace]
[Lag Free Torches and More] Patch operation Verse.PatchOperationRemove(Defs/ThingDef[
defName = "TorchLamp"
]/comps/li[@Class="CompProperties_Refuelable"]
) failed
https://gist.github.com/HugsLibRecordKeeper/42326f828fe9a969e3470c9d5ed708b5
For now, a solution to remove fueling requirement from any building, you can delete (or comment out) the section related to it. Like so: https://i.imgur.com/hBJONGE.png
I am also using House Sanguin, and don't want to use "No Refuelling" because it breaks the balance of Drain-Caskets and Bio-Reactors and such.
The toothpicks-and-bubblegum solution in action: https://i.imgur.com/XYFLxjP.png
SteamLibrary > steamapps > workshop > content > 294100 > 2863526335 > 1.4 > [LTS] Furnishings > Patches
Open the file in notepad and make the following changes:
Remove the "Base" section from each named item
Change @Name on each line to defName
This should now route the patch mod to the correct location in the [LTS] Furnishings mod to make the desired changes, removing the error that shows up on launch. This resolved my issue, so hopefully it helps yall out as well.