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
[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.
the fence torch and fence chemfuel lamp
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2565545335