HomeWildfire Games

Do not attempt to gather when full on that resource.

Description

Do not attempt to gather when full on that resource.

After this change, units will move directly to the nearest resource dropsite when they are idle but carrying resources at full capticity, instead of trying to gather, then realising again they are full, and going back to the dropsite.

Reviewed by: @Freagarach
Comments by: @Angen, @wraitii

Differential Revision: https://code.wildfiregames.com/D2791

Event Timeline

Angen added a comment.Feb 22 2021, 2:01 PM

https://wildfiregames.com/forum/topic/36639-a24-feedback/?tab=comments#comment-417552

Woodcutting behavior is sometimes "weird".

IT seems that when a tree is depleted, the units are searching for the next nearest tree to the spot where the last tree was rather than the most efficient one (the nearest tree to the dropsite).

As a result, units are sometimes drawn far away from the forest by a couple of isolated trees.