StaminaToEnergy

版本 v1.0.1·更新於 2026-02-24

Convert your stamina into weapon energy by holding the activation key while carrying or equipping a weapon. Fully synced. Simple, fast, and configurable.

模組介紹 作者原文

StaminaToEnergy v1.0.1

Message to my awesome friends and the players who use my mods.

  • I was banned from the REPO modding server when I was taking a temp leave from the server due to drama. I was not even in the server when the ban happened. As such, if you need support for my mods or just want to hang out join my new personal server on Discord:

Hold a key to convert your stamina into weapon energy. Works for held or equipped battery items. Fully synced between all players.

What it does

  • This mod lets you charge battery-powered weapons by draining your own stamina.
  • Press and hold the activation key (default X) and your stamina will drain while the weapon recharges in real time.

ALL players must have this mod installed.

  • Energy charging is host authoritative and will not sync if someone is missing the mod.

How to Use

  • You can charge a weapon in two ways:

✔ 1. Hold the weapon in your hands

  • Hold X to drain stamina and add battery power.

✔ 2. Have the weapon equipped

  • If the equipped item has an ItemBattery component, holding X will charge it.
  • Player stamina cannot drop below your configured MinStaminaReserve.

Multiplayer Sync Rules

  • This mod uses a system where the client drains stamina locally and the host performs the actual battery charging. Because both sides depend on the same values, every player must use identical configuration settings.
  • Nothing is host only. All config settings affect all players.

These settings must match for everyone:

  • ActivateKey
  • StaminaPerSecond
  • BatteryPercentPerStamina
  • MinStaminaReserve

If any player uses different settings, they may experience:

  • Incorrect stamina drain rate
  • Charge speed that appears slower or faster
  • Host charging at a different rate than the client expects
  • The client thinking they cannot charge while the host sees a valid charge request

To avoid all issues, ensure all players use the same configuration file.

Config Options

  • Found in:

BepInEx/config/Empress.StaminaToWeaponEnergy.cfg

| Setting | Description | Default |

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

| ActivateKey | Key to hold to charge weapon energy | X |

| StaminaPerSecond | Stamina drained per second while charging | 5 |

| BatteryPercentPerStamina | Battery percentage gained per stamina | 0.5 |

| MinStaminaReserve | Minimum stamina that cannot be drained | 5 |

Requirements

  • BepInEx 5 Pack
  • All players must install this mod for proper sync

Credits

  • Created by Omniscye / Empress
  • Thanks to Skript for help testing
  • Made for Ganzuto, from the ideas thread in the modding server

"If your stamina cries, your weapon smiles."

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
StaminaToEnergy-1.0.1.zip
檔案大小
20.7 KiB