WARNING with the present options of AI orders, the unit will not gather after building the farm. This is done by calling the gatherNearestField function when construction is completed.
Check accessibility of the target when in approach (in RMS maps, we quite often have chicken or bushes inside obstruction of other entities). The resource will be flagged as inaccessible during 10 mn (in case it will be cleared later).
Workers elephant should move away from the buildings they've built to avoid being trapped in between constructions. For the time being, we move towards the nearest gatherer (providing him a dropsite). BaseManager does also use that function to deal with its mobile dropsites.
if position is given, we only check if we could hunt from this position but do nothing otherwise the position of the entity is taken, and if something is found, we directly start the hunt