Mods / Torches Contribute Heat

Tags:
QoL Immersion AI
Author:
msdeni
Side:
Both
Created:
Apr 18th at 11:54 AM
Last modified:
Apr 18th at 11:55 AM
Downloads:
135
Follow Unfollow 15
Latest release (for Vintage Story 1.21.6, outdated):
lionfox_torchescontributeheat_1.0.0.zip  1-click install

Disclaimer/transparency: This was made using Claude, with informed human QA, for internal/testing purposes for a small private server of two. This is being published for use with the ModDB API. All mods are property of their original owners and/or creators. There should be no assumed support obligation in using this mod, though it may receive periodic updates.

 

Torches Contribute Heat


 

 

I felt that it would make sense that torches, which are burning objects, should contribute to the overall occupiability of some given structure or room, by making them warmer, and by extension, the players warmer. And thus, TorchesContributeHeat was created. This is probably more applicable to early gameplay, before a player has well-maintained clothing to protect them fully from the elements.

 

This mod, written in C# and JSON, is designed to add a quality of life feature that essentially makes it so that Torches, both free-standing and wall-mounted, now give off heat at about 25% of the strength of a regular firepit, and contributes to overall room heat alongside body temperature. Heat fades linearly from a peak strength of 12 at point-blank range, to 0 at 8 blocks out. Values are configurable - simply tweak "torchesheat.yaml" within your /ModConfig/ subdirectory of your server or client, and you'll be able to change the ranges respectively.

 

During limited testing, we found that this seems to work the best when you're inside of a structure that is lit by multiple torches. A single torch, outside, in freezing temperatures, is not enough to heat a fully undressed player, but it is enough to make the rate by which you freeze slower.

 

Technical: The mod attaches a custom block entity called "TorchHeatSource" patched in via JSON to existing lit torch items, and in doing this, it leverages the built-in "IHeatSource" interface, which the body temperature system and the room heat system already poll automatically, so there's no custom tick loop necessary.

 

Note: This is my first ever attempt at C# with a Claude workflow. Because this inclues compiled source code for it, I'd like to convey the idea that this is a fully open-source mod, of course, and thus the source code is linked in the attached github repository for your viewing/editing/curiousity.

 

You can mostly expect this to receive updates if necessary, since it's more complex than the usual JSON patch mod.

If there are issues with the mod, please feel free to report them in the comment section, via the Vintage Story discord at "Ms. Deni" (blkdnm), or via the github repository.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.0 torchesheat 135 Apr 18th at 11:55 AM lionfox_torchescontributeheat_1.0.0.zip 1-click install

Initial upload.


0 Comments (oldest first | newest first) (threaded | flat)