CanUseValuable
[WIP!]Use the Interact key to make valuables that activate when damaged function like weapons. [Working in progress!] Damage the action of the precious goods and the weapons of the weapon.
About this mod Machine translation
[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
Damage するとactionするvaluablesをインタラクトキーでWeaponのようにactionできるようにします.
Specific details
Damageしたときに何かが出きるvaluablesのactionをWeaponみたいにEキーで発动できるようになります.
We are currently working on a trial version of the "Wand" and "Floating Necklace" of the magic school.ヘッドマン楼・マクジャネックステーションの 「カメラ」の三级に対応しています.
対応しいるPrecious itemsをholdつとUIがexpressionされ、make the number of timesやstatusなどがconfirmできます.
Number of times used, やクールタイムは, オブジェクトごとに individually record されます( 2つあって片方は Upper limit, ってても, もう片方はまだ使えたりする).
The final にはこれらの大半を対応させたいと卡えています(できれば...!).
The functions of the コンフィグもcharge実していて, the individual にvalidation and invalidation できたり, and the える期やクールタイムなどもfree に変 are more likely to be possible.
一応、ホストのSETのみを用するので胜手に値を変えたり、あるいはホスト无码なのにこっそりIMPORT していてもmeans はありません.
コンフィグ
- General
- Enable
Initial value: true
このmodをactionさせるかどうか
- WizardSta …
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: