About this mod
A BepInEx / HarmonyX plugin to modify the consumption rate of torches (or let them burn forever).
- Requirements
- Permissions and credits
- Changelogs
This was developed using BepInEx v5.4.23.2 x64.
All code used in my mods is located on GitHub, publicly accessible, here!
This works by patching the DungeonTorchBurner.
I have not extensively tested changing the multiplier.
- Install BepInEx, follow their install guide.
- Place the TorchConfig.dll in the BepInEx/plugins directory.
- Launch the game, on first launch configuration files will be generated within the BepInEx/config folder for file.
- Quit game.
- Adjust the configurations as desired. Save the file(s) and launch the game again.
Here is an example of the TorchConfig.cfg
## Settings file was created by plugin My first plugin v1.0.0
## Plugin GUID: TorchConfig
[General]
## Set to true to disable torch fuel consumption entirely.
# Setting type: Boolean
# Default value: false
DisableTorchFuelConsumption = false
## Multiplier for torch fuel consumption rate. Set to less than 1 to slow down fuel consumption, greater than 1 to speed it up.
# Setting type: Single
# Default value: 1
# Acceptable value range: From 0 to 100
TorchFuelConsumptionMultiplier = 1