Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.31 KB

File metadata and controls

44 lines (27 loc) · 1.31 KB

Torch Time

A Vintage Story mod that displays the remaining burn time when hovering over placed torches.

Features

  • Shows real-time remaining burn time in the torch tooltip
  • Works with all lit torch types
  • Calculates actual time remaining by accounting for elapsed game time between updates

Installation

Download the latest TorchTime_v*.zip from the Releases directory and place it in your Vintage Story mods folder:

  • Linux (Flatpak): ~/.var/app/at.vintagestory.VintageStory/config/VintagestoryData/Mods/
  • Linux (native): ~/.config/VintagestoryData/Mods/
  • Windows: %appdata%/VintagestoryData/Mods/

Requirements

  • Vintage Story 1.21.6+

Building from Source

# Build the mod (creates zip in Releases/)
./build.sh

# Install to your local Vintage Story mods folder
./install.sh

# Build and install in one step
./build.sh && ./install.sh

Requires .NET 8.0 SDK.

How It Works

Torch Time uses Harmony to patch Block.GetPlacedBlockInfo() at runtime, adding burn time information to the tooltip of lit torches. Since the game only updates burn state periodically, the mod interpolates the actual remaining time using elapsed game time for a smooth countdown display.

License

All rights reserved.