CanUseValuable

版本 v0.9.1·更新於 2026-05-08

[WIP!]Use the Interact key to make valuables that activate when damaged function like weapons. [作業中!]損傷すると動作する貴重品をインタラクトキーで武器のように動作できるようにします。

模組介紹 作者原文

[En]

CanUseValuable

Use the Interact key to make valuables that activate when damaged function like weapons.

Feature

It allows you to activate the effects of valuables—which trigger when damaged—using the E key, just like you would with a weapon.

Currently in the prototype stage, it supports three types of items: the “Staff” and “LevitationPotion” from the Magic School, and the “Camera” found at Headman's Mansion and Macjaneck Station.

When you hold a supported item, a UI will appear, allowing you to check the number of uses remaining and its current status.

Usage counts and cooldowns are tracked individually for each object (so even if you have two of the same item and one has reached its limit, the other may still be usable).

Ultimately, I plan to support most of these items (if possible...!).

The configuration options are robust, allowing you to enable or disable items individually, as well as freely adjust the number of uses and cooldown times.

Note that this mod only uses the host’s settings, so changing the values yourself or secretly installing it without the host mod is pointless.

Config

  • General
  • Enable

Default: true

Whether to enable this mod

  • WizardStaff
  • Enable

Default: true

Whether the staff can be activated

  • UseLimit

Default: 5

Number of times the staff can be activated

  • UseTime

Default: 10.0

Number of seconds the staff remains active

  • CoolTime

Default: 20.0

Number of seconds until the staff can be used again after activation ends

  • WizardLevitationPotion
  • Enable

Default: true

Whether the levitation potion can be activated

  • UseLimit

Default: 3

Number of times the levitation potion can be activated

  • CoolTime

Default: 60.0

Seconds until the Levitation Potion becomes available again after activation

  • Manor&ArcticCamera
  • Enable

Default: true

Whether the camera can be activated

  • UseLimit

Default: 30

Number of times the camera can be activated

  • CoolTime

Default: 2.5

The number of seconds until the camera becomes available again after activation ends

  • DebugLog
  • EnableLogging

Default: false

Display logs used for debugging (Since there are a lot of logs, we recommend disabling this if you want to view logs from other mods)

How This Mod Works

Who Needs to Download

Everyone must download this.

If only the host downloads it, only the host can use it (synchronization will not occur, so this is not recommended).

If only the participants download it, this mod will not work.

|   |Everyone|Host only|Participants only|

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

|Works| ◎ | ✕ |    ✕   |

About the Config

As mentioned earlier, only the host’s settings are used, except for the log.

About “UseLimit” in the Config

Setting UseLimit to 0 or lower removes the usage limit.

Recommended if you want to have wild, unrestrained fun.

A Few Points to Note

  • Depending on your config settings, performance may become sluggish (especially if CoolTime is short).

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]

CanUseValuable

損傷すると動作する貴重品をインタラクトキーで武器のように動作できるようにします。

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

損傷したときに何かが起きる貴重品の動作を武器みたいにEキーで発動できるようになります。

現在は試作段階なので、魔法學校の 「杖」 と 「浮遊ポーション」。ヘッドマン邸宅・マクジャネックステーションの 「カメラ」 の三種類に対応しています。

対応している貴重品を持つとUIが表示され、使える回數や狀態などが確認できます。

使用回數やクールタイムは、オブジェクトごとに個別に記録されます(2つあって片方は上限まで使ってても、もう片方はまだ使えたりする)。

最終的にはこれらの大半を対応させたいと考えています(できれば...!)。

コンフィグ機能も充実していて、個別に有効化無効化できたり、使える回數やクールタイムなども自由に変更可能です。

一応、ホストの設定のみを使用するので勝手に値を変えたり、あるいはホスト未導入なのにこっそり導入していても意味はありません。

コンフィグ

  • General
  • Enable

初期値:true

このmodを動作させるかどうか

  • WizardStaff
  • Enable

初期値:true

杖を発動できるかどうか

  • UseLimit

初期値:5

杖を発動できる回數

  • UseTime

初期値:10.0

杖を発動し続ける秒數

  • CoolTime

初期値:20.0

杖の発動終了後、次に使用可能になるまでの秒數

  • WizardLevitationPotion
  • Enable

初期値:true

浮遊ポーションを発動できるかどうか

  • UseLimit

初期値:3

浮遊ポーションを発動できる回數

  • CoolTime

初期値:60.0

浮遊ポーションの発動終了後、次に使用可能になるまでの秒數

  • Manor&ArcticCamera

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
CanUseValuable-0.9.1.zip
檔案大小
62.6 KiB