Constitution

版本 v1.1.2·更新於 2026-07-06

Slow passive health regeneration based on your Health upgrade level for R.E.P.O.

模組介紹 作者原文

Constitution

A BepInEx mod for R.E.P.O. that adds slow, passive health regeneration based on your Health upgrade level.

What This Mod Does

Your Health upgrade level now grants a subtle passive health regeneration. The more you invest in Health, the faster you recover — designed for long-run sustain, not instant healing.

How It Works

| Health Level | Regen Rate (default) | Time per 1 HP |

|-------------|----------------------|---------------|

| 1 | 0.05/sec | 20 seconds |

| 3 | 0.15/sec | ~7 seconds |

| 5 | 0.25/sec | 4 seconds |

| 10 | 0.50/sec | 2 seconds |

Health level 0 = no regeneration. You must invest in Health upgrades to benefit.

Regen Delay

After taking damage, regeneration pauses for a configurable delay (default: 10 seconds). This prevents the mod from being too powerful during combat.

Configuration

Settings are in BepInEx/config/headclef.Constitution.cfg or in the in-game mod config menu:

| Key | Default | Range | Description |

|-----|---------|-------|-------------|

| Enable | true | — | Toggle health regen on/off |

| Regen Per Health Level | 0.05 | 0.01–1.0 | HP/sec per Health upgrade level |

| Max Regen Per Second | 0 | 0–5 | Cap the regen rate (0 = no cap) |

| Regen Delay | 10 | 0–60 | Seconds to wait after damage before regen starts |

Requirements

  • BepInEx 5.x installed for R.E.P.O.
  • Character Stats — required dependency

Installation

  • Install (recommended) — Character Stats will be installed automatically.
  • Or manually: place both Character Stats.dll and Constitution.dll into your BepInEx/plugins folder.
  • Launch the game — config file is generated on first run.

Multiplayer

  • Health regeneration runs per-client — only players with the mod installed get the regen.
  • Does not affect other players or enemies.

Development

Project Structure

├── Constitution.cs # Plugin entry point & config

├── Patches/

│ └── HealthRegenPatch.cs # Harmony postfix — health regen

└── README.md

Building

This project is part of the Repo.slnx solution and references Character Stats at compile time. Build the whole solution so dependencies build in the correct order:

dotnet build../Repo.slnx

License

This project is licensed under the MIT License — see the LICENSE file for details.

These mods (all) generated by using AI tools. If there's anything wrong use to give a feedback, I use there more than.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackheadclef-CharacterStats

檔案與校驗

檔案名稱
Constitution-1.1.2.zip
檔案大小
104.0 KiB