Better Dupe Assignment

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

Author: CelestialTree

Last revision: 3 Apr at 13:30 UTC

File size: 684.99 KB

On Steam Workshop

Description:
Better Dupe Assignment

Stop the cross-map marathon. Make your Duplicants work smarter, not harder.

Better Dupe Assignment significantly improves game performance and Duplicant efficiency by changing how tasks are prioritized. Instead of calculating every chore on the map individually, this mod groups nearby tasks into Work Clusters and assigns them based on proximity, skill, and current job type.

The Problem

In vanilla ONI, a Duplicant might dig one tile at the bottom of your base, run to the top to build a single wire, and then run all the way back down. They spend more time commuting than working.

The Solution

This mod "forces" Duplicants to commit to a specific area. Once they arrive at a job site (Cluster), they will prioritize finishing all nearby tasks of that type before moving on.

Key Features
  • Cluster-Based Tasking: Tasks within a 30×30 area are grouped together. Dupes strive to clear the entire cluster effectively.
  • Specialist Logic:
    • Mechatronics Engineers will aggressively prioritize building Auto-Sweepers and Conveyor Rails over generic tiles.
    • Chefs (wearing the Hat) will stick to the kitchen and avoid digging duties unless there’s an emergency.
  • Safety First: When building, Duplicants prioritize Ladders and Tiles first to prevent trapping themselves.
  • Swarm Prevention: Prevents 10 Duplicants from trying to dig a 2-tile hole. If a cluster is "full," other Dupes will find work elsewhere.
  • Performance Boost: Uses an optimized incremental update system that has near-zero impact on FPS, even in late-game bases.

Example Scenario

Vanilla:

Ashkan digs one tile of a new water tank. He then stops, runs across the map to supply coal to a generator, and then runs back to dig the second tile.

With Better Dupe Assignment:

Ashkan arrives at the water tank. He notices there are 20 other dig tasks nearby. He stays there and finishes the entire tank in one go. Meanwhile, Burt (your Mechatronics Engineer) ignores the digging to focus specifically on the Auto-Sweepers you placed inside.

Configuration

You can tweak the Role Priority Bonus (how much specialists prefer their skilled tasks) and toggle Debug Visualization to see the clusters in real-time via the mod options menu.

More explaination on how this works

Quick Overview