﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
646	Units should detect if enemies are nearby	Kieran P	Philip Taylor	"'''Current Problem'''

Currently, if a unit is doing something (like chopping wood, or farming), that unit doesn't detect that enemies are approaching. This means that unless the player notices the attack, the enemy can wipe out a large part of the persons units without them knowing, because the units keep working on what they were told to do.

'''Recommended Fix'''

If the unit is a women, that women should seek protection in the nearest building she can garrison inside. If one cannot be found, she should run back toward the town center and garrison inside that.

'''Discuss:''' If that happens (an attacked women flees to town center), should the closest idle infantry be summoned to the town center to defend it?

If the unit is an infantry unit, they should act as if they were idle. Stop what they were doing, and go and attack the enemy. What they were doing should be stored though, so that if the unit survives the attack, and no more enemies are approaching, the unit should resume what they were doing (chopping wood, farming etc).

'''Discuss:''' If the worker is killed, should nearby infantry be called to that spot?"	defect	new	Must Have	Alpha 3	Core engine				
