//Truthfulness to be read int value to be read as >=10 knows the truth, (after -10 if know truth) if == 1 then will lie int CalculateGeneralTruthfulness(IGeneral general) { int truthfulness = 0; if (_randomNumber.Next(10) <= general.GetKnowledge()) { truthfulness += 10; } if (_randomNumber.Next(10) <= general.GetTrust()) { truthfulness += 1; } return(truthfulness); }