常驻药剂buff

If you liked this item, please rate it up on Steam Workshop page.

Authors: 咪描, FeEL

Last revision: 14 Mar at 04:20 UTC (5)

File size: 130.22 KB

On Steam Workshop

Description:
PersistentPotionBuff Mod

Modifies the behavior of the Injection Case. When the Injection Case contains at least 3 potions, it automatically grants the corresponding buff with infinite duration.

By default, the supported potion types include the 15 syringes sold by Mud. Buffs are disabled in the base by default.

Custom potion and buff configurations are now supported.

Thanks for playing!

Project page:
https://github.com/vsetskro/Duckov_PersistentPotionBuff

📝 Configuration File Location

On the first load, the configuration file will be automatically generated at:
GameRoot/Duckov_Data/Mods/PersistentPotionBuff/BuffMapping.json

📖 Configuration File Format

{ "mappings": [ { "itemId": 137, "buffId": 1011 } ], "settings": { "targetContainerId": 882, "requiredItemCount": 3, "enableInBaseLevel": false } }

🔧 Configuration Details

mappings (Potion Mapping List)

Each mapping entry contains:

  • itemId (integer): The in-game item ID. Example: 137
  • buffId (integer): The corresponding Buff ID. Example: 1011

settings (Global Settings)

  • targetContainerId (integer, default: 882): Item ID of the target container
  • requiredItemCount (integer, default: 3): Number of potions required to trigger the Buff
  • enableInBaseLevel (boolean, default: false): Whether to enable Buffs while in the base level
Download
Revisions:

Old revisions of this mod are available below. Click the link to download.