// TODO remove public static void SetFounderAmbitionDueToMarketSize(GameEntity company, GameContext gameContext) { var niche = Markets.GetNiche(gameContext, company.product.Niche); var rating = Markets.GetMarketPotentialRating(niche); var rand = UnityEngine.Random.Range(1f, 2f) * 5; // 5...25 var ambition = 65 + Mathf.Clamp(rating * rand, 0, 30); var CeoId = GetCEOId(company); var ceo = Humans.GetHuman(gameContext, CeoId); Humans.SetTrait(ceo, TraitType.Ambitions, (int)ambition); }