ldtteam / minecolonies-features

This is a repo only to discuss minecolonies features (requested and planned)
11 stars 3 forks source link

Suggested request system improvements #654

Open mopsyd opened 2 years ago

mopsyd commented 2 years ago

Prerequisites

Context

Is your feature request related to a problem?

The request system is frequently congested with a number of small repetitive requests that could be easily consolidated into one trip.

This would make things happen faster in game, would alleviate processor overhead by removing a large volume of redundant courier pathfinding trips, and will generally make overall colony productivity much more streamlined.

Enhancement or Change description

Say I have a farm producing carrots, a rabbit hutch, a warehouse, a restaurant, and a hospital. All of these buildings want carrots at various times. Frequently looking at a courier's hut block you will see 20+ requests for carrots for these buildings (10 requests for 1 carrot to hospital corresponding to 10 sick colonists, however many requests equal whatever restaurant is crafting with them, etc).

The behavior that I am proposing is that whenever a courier task becomes active, they will also satisfy repeat requests for the same destination up to a single full stack of the requested item and remove those requests from the queue immediately. Therefore my ten sick villagers at the hospital would be satisfied by one trip delivering ten carrots rather than ten trips for one carrot each. Basically this is the gist of the proposed behavior:

In all other cases proceed as per normal.

Notes or related things

This should improve both performance as well as user experience without much impact on anything else.


Viewers

Thodor12 commented 2 years ago

Also see #411