Exemplo n.º 1
0
        private static List <GoalRequirements> GetInvestmentGoalMakePrototypeReqs(InvestmentGoal goal, GameEntity company, GameContext gameContext)
        {
            GameEntity product = GetProduct(goal, company, gameContext);
            var        loyalty = 5;

            return(new List <GoalRequirements>
            {
                new GoalRequirements
                {
                    have = (long)Marketing.GetChurnRate(product, gameContext),
                    need = loyalty,
                    reversedCheck = true,

                    description = $"Churn < {loyalty}"
                }
            });
        }