HomeWildfire Games

Gather using ResourceGatherer instead of UnitAI.

Description

Gather using ResourceGatherer instead of UnitAI.

Moves the gathering logic from UnitAI to ResourceGatherer.
Makes it easier for modders to change gathering behaviour, e.g. letting structures gather.
Refs. #4293 by optimising a bit.

Differential revision: D2662
Comments by: @bb, @Stan, @wraitii