internal void AnswerQuestion(int answerIdx)
 {
     CurrentQuiz.AnswerQuestion(answerIdx);
     if (CurrentQuiz.IsComplete())
     {
         CurrentQuiz.ComputeResult();
         result = QuizResult.ResultsMap[CurrentQuiz.GetResultType()];
     }
 }
        internal void FinishQuiz()
        {
            IsTakingQuiz = false;
            LeveledCombatPetModPlayer petPlayer = Player.GetModPlayer <LeveledCombatPetModPlayer>();

            petPlayer.TemporarilyUnflagPetBuff(result.BuffType);
            if (CurrentQuiz.ExtraResultItemID != ItemID.None)
            {
                Player.QuickSpawnItem(CurrentQuiz.ExtraResultItemID);
            }
            Player.QuickSpawnItem(result.ItemType);
            Player.AddBuff(result.BuffType, 2);
            // shift out the oldest personality quiz result, then save this answer
            for (int i = LastUsedTypes.Length - 2; i >= 0; i--)
            {
                LastUsedTypes[i + 1] = LastUsedTypes[i];
            }
            LastUsedTypes[0] = CurrentQuiz.GetResultType();
            ConsumeQuizActivatingItem();
        }