RimWorld

RimWorld

Lag Free Torches and More
96 Comments
Jsin0  [author] 21 Apr @ 2:47am 
I no longer support this mod, please see Lagless Lamps - C#
Wolbright 15 Feb @ 12:22am 
Doesn't work.
Gakko 13 Feb @ 9:41am 
Not only this one doesn't work, but okradonkey's Infinite Refuelables also doesn't work in 1.5. Tribal/Medieval bros have it hard.
Eth 18 Jan @ 4:23pm 
@skizordrone Medieval Overhaul has its own config option to remove fuel from its torches, no additional mod needed to add that functionality
tomik.valik.02 8 Jan @ 1:31pm 
Does not work, torches still need to be refueled. Please fix.
skizordrone 6 Jan @ 1:51pm 
so im using this, Medieval Overhaul, and LWM's Fuel Filter and all the torches still need fuel. got any ideas what could be breaking?
DiYTable 14 Oct, 2024 @ 1:20am 
can confirm, same issue. patch cannot find torch lamp and thusly its gone awol.
Nova 7 Oct, 2024 @ 1:31pm 
Getting this error on torches.

[Lag Free Torches and More] Patch operation Verse.PatchOperationRemove(Defs/ThingDef[
defName = "TorchLamp"
]/comps/li[@Class="CompProperties_Refuelable"]
) failed
Reigdaer 7 Oct, 2024 @ 7:02am 
not working for me, vanilla or modded, all of them need fuel
Daniel231154 1 Oct, 2024 @ 11:09am 
doesn't work
gRaveyard 9 Aug, 2024 @ 1:58am 
(no error or anything. Just no working mod.)
gRaveyard 9 Aug, 2024 @ 1:57am 
This did, indeed, not work for me either.
TheCakeMachine 18 Jul, 2024 @ 7:24am 
@Flamangos but doesn't both those mods effect campfires and not just lightsources? I used them in the past but I really need the torches to be effected and not the campfires, because I'm in a tribal colony and want to have to collect wood for cooking, but the amount of torches I need for light are making the game lag horribly.
Flamangos 17 Jul, 2024 @ 4:16pm 
Just get Tweak Galore or SnowFox Tweaks. They both have lag free torch settings that work well.
Yukari Whiteclouds 9 Jul, 2024 @ 5:17pm 
Is the guy still here? I'm having the same problem as the people below me
Psyduck 13 Jun, 2024 @ 10:25am 
not working with 1.5
sharkman 25 May, 2024 @ 6:18pm 
Warning: my fix will fix _all_ objects that have TorchBase as a parent, even if you do not want that to happen. But, even so that TorchWallLamp have TorchLamp as a parent (which have TorchBase as a parent) it will not be patched since TorchWallLamp overrides all comps for unknown reason.
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>
sharkman 25 May, 2024 @ 6:12pm 
Ok, so the error with TorchLamp can be fixed as follows:
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.
kittysmugglers 21 May, 2024 @ 3:22pm 
seems to be broken :(
SebNandexIII the Spider Enjoyer 21 May, 2024 @ 9:07am 
Doesn't seem to be working on 1.5 with vanilla torches, sadly.
Shadowwake 10 May, 2024 @ 8:56pm 
Same error Yeke has. Seems to largely work fine, but throws that error on boot.
Yekaterinnani 21 Apr, 2024 @ 2:26pm 
[Lag Free Torches and More - Start of stack trace]
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
Danpai 20 Apr, 2024 @ 9:19am 
Can't seem to make this work with the base game past 1.5. Unfortunate, as this is basically as important as Rocketman for Medieval runs.
TARDIS 14 Apr, 2024 @ 10:04am 
Is this still needed for 1.5? If needed, will there be an update anytime soon?
Com_turtle 12 Apr, 2024 @ 2:21pm 
Seems to be broken in 1.5
JACK 12 Apr, 2024 @ 10:15am 
hoping for 1.5 please :) love this mod
Shawn 7 Apr, 2024 @ 10:18pm 
I hope this gets updated for 1.5
Vartarhoz 17 Feb, 2024 @ 5:49am 
How about Appliances Expanded support?
Lira 17 Dec, 2023 @ 10:16pm 
Has anyone found a combination of mods or load order that allows this (and its LWM Fuel Filter requirement) to peacefully coexist with Medieval Overhaul's coal? This is an essential lag and micromanagement reduction mod on MO, but the loss of coal as a fuel source is rough.
happy_chaos 13 Dec, 2023 @ 4:24pm 
what mod is that wall torch above the chem lamp post?
Jsin0  [author] 10 Dec, 2023 @ 11:25am 
@Doomchibi Only for Medieval Overhaul. They have their own fuel filter that I don't know how to work with
Doomchibi 5 Sep, 2023 @ 9:28pm 
Does this need the fuel filter mod specifically or would it work with the Burn it for Fuel (continued) mod? I switched to the second because I've found that a lot of burnable materials refuse to show up in the first one as fuel options.
Lethice 1 Aug, 2023 @ 1:40pm 
Um, what exactly happaned in the recent update? suddenly all modded light sources seem to need fuel again?
Jsin0  [author] 29 Jul, 2023 @ 1:34pm 
Didn't realize I was getting comments on this. I'll address them over time since I've got stuff going on
asdf 15 Jul, 2023 @ 12:25pm 
@lopy @skuller2000

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
Voxel 4 Jul, 2023 @ 12:32pm 
Adding onto the discussion of the errors showing up for [LTS] Furnishings, i'll share my fix. As stated below, you will need to navigate to the config .xml file for the [LTS] Furnishings.

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.
Iopy 2 Jul, 2023 @ 6:47pm 
+1 for skuller2000's comment. Would love the blood braziers and blood torches to be patched
skuller2000 2 Jul, 2023 @ 10:08am 
Could you patch the blood brazier and blood torch from house sanguin please
eighmy_lupin 11 Jun, 2023 @ 6:11pm 
Second the request for Simple Utilities: Ceiling support
fat elvis 28 May, 2023 @ 8:55am 
Hey, this doesn't seem to work for the lanterns in (LTS) Furnishings, might be a bug?
Kalmin 26 Apr, 2023 @ 12:04pm 
Hey can you patch Simple Utilities : Ceiling chandelier?
ꙮktober 14 Apr, 2023 @ 10:48am 
If anyone is looking to do this fix for Simple Utilities: Walls, you can just go into the XML and delete the sections for "CompProperties_Refuelable". Search your Steam workshop folder for 2565545335, then go to 1.4/Defs/ThingsDefs_Buildings/Fencepost_Lights.xml.
Essex 2 Mar, 2023 @ 1:09am 
Thankyou @Large Moron, I took "base" out of the four entries in the config and it fixed the issue. Hopefully the Mod author sees this and can fix the issue
nothing to see here 21 Feb, 2023 @ 12:09pm 
The LTS patches aren't working because you're targeting the abstract base instead of the building thingdef. LTS_LanternBase instead of LTS_Lantern.
Foehammer 30 Jan, 2023 @ 8:47am 
I figured it Vanilla Expanded Medieval
Foehammer 30 Jan, 2023 @ 8:43am 
Can someone please tell me the mod for the torch that is on the wall 7th spot from the left?
abrahamv777 15 Jan, 2023 @ 8:40pm 
THANK YOU!!! :steamhappy:
Melyons 13 Jan, 2023 @ 8:37am 
Is there any chance to add support for Simple Utilities: Ceiling?
Hqiran 30 Dec, 2022 @ 2:39am 
also getting the same errors as @Aseyra and @Darkstar, something went wrong when trying to patch [LTS]Furnishing
ZX Zero 29 Dec, 2022 @ 7:15am 
Plz add support for Simple Utilities: Wall
the fence torch and fence chemfuel lamp

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2565545335