TargetType AllShips

“AllShips” is sometimes used as the value for the TargetType field in research scripts, but it is not always used in the same way. For instance, HGN “WeaponDamageUpgrade125” does not have a TargetName field, HGN “HyperspaceDamageReductionUpgrade” has a TargetName value of “Hgn_fleet”, and HGN “HyperspaceCostUpgrade1” has a TargetName value of “Hgn_Mothership” which is a single ship.

Further, some researches do not have a TargetType field and also have a blank TargetName; and others do not have a TargetType field but are clearly ships.

Has anyone investigated what they “correct” thing to do (just to be consistent) is in all these cases?