never return null for the value of an entity. Lookup its size and determine value by size if you cant find the value in the ShipTargetValues XML. if it is still null assume it is valued as a cruiser.