Open RTS Plugin for Unreal Engine 4

More complex variant of this would be Gold mines/Tiberium trees in C&C series. They regenerate resources in a circular area around them.