Skip to content

Repository files navigation

Pyrophobia

Pyrophobia

A lit torch is a signal. Whether anything answers depends on the animal, and on what it was already doing.

Hold right-click with a lit torch in the main hand to raise it. Nearby hostiles that are targeting you may break off and flee while it is raised. There is no safety circle around every flame. The server owns the reaction.

This mod is published on Mod DB.

What Pyrophobia changes

  • Brandish: hold right-click with a lit torch in the main hand, aiming at open air or a creature, to raise it. Release to lower it. The raise plays in third person and in first person.
  • Scare: while the torch is raised, nearby hostiles that are already targeting you get a periodic chance to flee. The server owns that chance and asks Vintage Story's own flee AI to run.
  • Vanilla torch use stays: aiming at a block keeps placement, relighting, and shift-ignite. Once the torch is up, sweeping your aim over a block does not dump it or start a fire.
  • No safety bubble: standing next to a firepit, or near a light source, does not scare animals in this build. Extinct and burned-out torches cannot be brandished.

Torch brandishing

Input Action
Right-click, no block targeted Raise a lit main-hand torch
Release right-click Lower it
Right-click on a block Place or relight (vanilla)
Shift + right-click Ignite a firepit or other block (vanilla)

Aiming at an entity starts a brandish, so right-click entity interactions (such as boarding a boat) are consumed while a lit torch is in the main hand.

There is no runtime configuration in this pre-release. Range, chance, and the tick interval are fixed for now.

Compatibility

  • Built for Vintage Story 1.22.3.
  • Required on both the client and server. Clients and servers should use the same Pyrophobia version.
  • Standalone, with no required dependencies.

Pyrophobia attaches a collectible behavior to lit torches. Other Vintage Story versions remain unverified until they pass the same review and in-game checks. Dedicated-server brandish to scare sync still needs a playtest confirmation. Singleplayer is not treated as proof that the multiplayer path works.

Installation

  1. Download the latest pyrophobia_*.zip from GitHub Releases.
  2. Place the zip in the Vintage Story Mods directory.
  3. Restart the game, or restart the server and reconnect.

Building

resources/modinfo.json is the source of truth for release metadata.

dotnet build
./build.ps1
./build.ps1 -Deploy

The build script creates Releases/pyrophobia_<version>.zip. -Deploy also copies that package into the active Vintage Story Mods directory.

Documentation

License

See LICENSE. Personal non-commercial use and pull requests back to this repository are allowed. Redistribution and modpacks require prior written permission.

Support

You can support Pyrophobia and other projects on Ko-fi.

About

A fire-driven wildlife deterrence system for Vintage Story.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages