Conversion

版本 v1.0.1·更新於 2026-05-08

We will add a feature that converts stamina into health when stamina is low. スタミナが少ない時に體力をスタミナに変換する仕組みを追加します。

模組介紹 作者原文

[En]

Conversion

We will add a feature that converts stamina into health when stamina is low.

Feature

By holding down the F key while running, you can continue running even after your stamina reaches 0 by converting your health into stamina (the key, consumption rate, and recovery rate can be customized).

If you’ve ever played R.E.P.O., you’ve probably experienced this at least once...

  • Getting attacked by enemies
  • Being eliminated by teammates

Most of these deaths are caused by running out of stamina.

This mod aims to address these frustrating (or perhaps not so frustrating) situations by adding a new mechanic, making the game more comfortable and strategic.

Config

  • Host Settings
  • Percent Mode (Stamina)

Default: false

Whether to convert based on maximum stamina (this will be explained in detail below)

  • Percent Mode (Health)

Default: false

Whether to convert based on maximum health

  • Gain Stamina

Default: 10

Amount of stamina recovered during conversion (must be 1 or higher)

  • HP Cost

Default: 1

Amount of health consumed during conversion (must be 1 or higher)

  • Safety

Default: true

Whether to abort the conversion if health drops to 0 during the process

  • Client Settings
  • ConvertKey

Default: F

Key to press to perform the conversion

  • DebugLog
  • EnableLogging

Default: false

Display debug logs (Since there is a lot of log output, we recommend disabling this if you want to view logs from other mods)

How This Mod Works

Who Needs to Download It

We recommend that everyone download it.

If only the host downloads it, only the host can use it.

If only the participants download it, this mod will not work (an error will appear on the host’s side, but it will not affect other gameplay functions).

|   |Everyone|Host Only|Participants Only|

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

|Works| ◎ |  △  |    ✕    |

About the Config

The host's config settings apply to all players.

About “Percent Mode” in the Config

When “Percent Mode” is enabled, “Gain Stamina” and “HP Cost” are set as percentages rather than absolute values.

If Gain Stamina = 10 and maximum HP = 200,

|Percent Mode|Consumption|

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

|true |20 |

|false |10 |

It will look like this. The same applies to Stamina.

As the game progresses, maximum values increase and the conversion amounts no longer match, so I added this feature for that reason.

About “Safety” in the Config

If “Safety” is enabled, the conversion will be interrupted if the HP cost exceeds your current HP; if disabled, you will die without mercy.

I originally disabled conversion because dying during it felt unfair, but I added this option because it seemed interesting.

A Few Points to Note

  • It may be slow due to insufficient optimization (I’d appreciate any suggestions for improvements).

I'm on Discord's “R.E.P.O. Modding Server”.

The URL below is my mod's forum page, so feel free to contact me if you encounter any issues or have requests.

yazirushi's Mods General Forum

[Jp]

Conversion

スタミナが少ない時に體力をスタミナに変換する仕組みを追加します。

具體的にこのmodが何をするのか

Fキーを長押ししながら走ることで、スタミナが0になっても體力をスタミナに変換して走り続けることができます(キーや消費量・回復量は変更可能です)。

R.E.P.O.をプレイしたことがある人なら一度はあるでしょう...

  • 敵に攻撃される
  • 仲間に排除される

これらの死因のほとんどはスタミナがないことが原因です。

このmodはそんな理不盡(でもないかもしれないけど)な事象を新たな仕組みを追加することで、快適でより戦略性のあるものにできると期待しています。

コンフィグ

  • Host Setting
  • Percent Mode(Stamina)

初期値:false

最大スタミナを基準に変換するかどうか(この辺は下で詳しく説明します)

  • Percent Mode (Health)

初期値:false

最大體力を基準に変換するかどうか

  • Gain Stamina

初期値:10

変換で回復するスタミナの量(1以上の値にしてください)

  • HP Cost

初期値:1

変換で消費する體力の量(1以上の値にしてください)

  • Safety

初期値:true

変換時に體力が0になる場合、変換を中斷するかどうか

  • Client Setting
  • ConvertKey

初期値:F

変換を行うために入力するキー

  • DebugLog
  • EnableLogging

初期値:false

デバッグに使用したログを表示する(ログが多めなので他のmodのログを見たい場合は無効にすることをおすすめします)

このmodの動作について

ダウンロードする必要のある人

全員がダウンロードすることをおすすめします。

ホストのみがダウンロードしている場合、ホストのみ使えます。

參加者のみがダウンロードしている場合、このmodは動作しません(ホスト側にエラーが出ますが、他の動作に影響はありません)。

|  |全員|ホストのみ|參加者のみ|

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

|動作| ◎ |  △  |  ✕  |

コンフィグについて

ホストのコンフィグが全てのプレイヤーに適応されます。

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
Conversion-1.0.1.zip
檔案大小
31.0 KiB