factorize some usages of SHIP_ORDER::BUILD/UPGRADE/OUTPOST/STARBASE