自动收集机器人

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

Author: JaniusB

Last revision: 27 Nov, 2025 at 14:43 UTC (1)

File size: 123.1 KB

On Steam Workshop

Description:

Let the smart robot search for supplies in the scene

Let the "smart robot" you encounter and pick up on the map actually be useful. After picking it up you can keep it and use it to automatically collect nearby supplies.

Intro Video

Introduction to main functions: https://www.bilibili.com/video/BV1BFCwBVEkQ/
Update content: https://www.bilibili.com/video/BV1kHkyBNEJn/

Main Features

Automatically search for and pick up items on the map (pickup range determined by configuration). Supports configuring collection interval, collection radius, inventory capacity, and other parameters. You can sell items in the robot’s backpack that are not marked with a heart symbol with one click.
Most parameters can be adjusted dynamically in-game via ModConfig; manual config files are also supported.

Recommended Mod combinations

Quick Auto Loot: https://steamcommunity.com/sharedfiles/filedetails/?id=3593624580
One Key Loot: https://steamcommunity.com/sharedfiles/filedetails/?id=3589344509

Important Reminders

You must manually enable the robot’s collection function each time you enter a level. !!! Before evacuating or switching levels, be sure to remove any items you want to keep from the robot’s inventory. The robot will not automatically carry things home — it’s not your dog!!!

Dependencies

Harmony (required)
ModConfig (recommended)
If you don’t have ModConfig, you can customize parameters by manually editing the config file (changes require restarting the game to take effect; some parameters changed via ModConfig take effect immediately — see below).

Before installation please confirm

Please ensure Harmony and ModConfig are installed and enabled (if you want to dynamically adjust settings in-game).
Sorting tip: place this mod below Harmony and ModConfig.

When ModConfig and manual configuration take effect

Using ModConfig: Most parameters can be changed dynamically in-game and take effect immediately. However, the robot inventory search animation requires switching levels to take effect after changing via ModConfig.
Manually editing the config file: Changes to the config file require restarting the game to take effect.

Do not keep the search radius circle displayed all the time — it affects performance. It’s recommended to turn off the display after adjusting the desired collection radius

If you subscribed to ModConfig, you don’t need to read the following

Manual configuration (when ModConfig is not available) Config file directory (relative to the game root): ../Escape from Duckov/Duckov_Data/Mods/AutoCollectionRobot
Config filename: AutoCollectRobotLocalConfig.json

Example configuration (valid JSON)
{
"collectInterval": 2.0,
"robotInventoryNeedInspect": false,
"robotInventoryCapacity": 512,
"collectGroundItems": false,
"collectLootBox": true,
"collectRadius": 10.0,
"debugDrawCollectRadius": false,
"configToken": "auto_collection_robot_v1"
}

Configuration item descriptions

collectInterval (float)
Meaning: collection interval (seconds).
Valid values: 0.5 ~ 10
Note: how many seconds the robot waits between each attempt to collect items.

robotInventoryNeedInspect (bool)
Meaning: whether the robot inventory shows the search animation (when you open the robot inventory to view supplies).
Note: If this is changed via ModConfig, you need to switch levels once for it to take effect.

robotInventoryCapacity (int)
Meaning: robot inventory capacity (maximum number of items or occupied units).
Valid values: 10 ~ 2048

collectGroundItems (bool)
Meaning: whether to collect items dropped on the ground.

collectLootBox (bool)
Meaning: whether to collect items inside containers (boxes).

collectRadius (float)
Meaning: collection radius (centered on the player).
Valid values: 1 ~ 50

debugDrawCollectRadius (bool)
Meaning: whether to display the collection radius in-game (for debugging).
Note: Enabling this will consume performance. It is recommended to enable only when debugging or adjusting the range.

configToken (string)
Meaning: internal configuration token. Do not change.

saveRobotInv(bool)
Meaning: Can the items in the robot’s backpack be taken home.

https://github.com/JaniusBisecond/AutoCollectionRobot

Download
Required items:

Click the title to search on this site.


HarmonyLibSteam Workshop
ModConfigSteam Workshop
Revisions:

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