示例#1
0
        public string GetPCFollowUpText(DaggerfallTalkWindow.TalkTone talkTone)
        {
            int    toneIndex      = DaggerfallTalkWindow.TalkToneToIndex(talkTone);
            string followUpString = expandRandomTextRecord(7218 + toneIndex);

            return(followUpString);
        }
示例#2
0
        public string GetPCGreetingText(DaggerfallTalkWindow.TalkTone talkTone)
        {
            int    toneIndex      = DaggerfallTalkWindow.TalkToneToIndex(talkTone);
            string greetingString = expandRandomTextRecord(7215 + toneIndex);

            return(greetingString);
        }
示例#3
0
        public string GetQuestionText(TalkManager.ListItem listItem, DaggerfallTalkWindow.TalkTone talkTone)
        {
            int    toneIndex = DaggerfallTalkWindow.TalkToneToIndex(talkTone);
            string question  = "";

            currentTalkTone = talkTone;

            currentKeySubject = listItem.caption; // set key to current caption for now (which is in case of buildings the building name)

            switch (listItem.questionType)
            {
            case QuestionType.NoQuestion:
            default:
                break;

            case QuestionType.News:
                question = expandRandomTextRecord(7231 + toneIndex);
                break;

            case QuestionType.OrganizationInfo:
                question = "not implemented";
                break;

            case QuestionType.LocalBuilding:
                currentKeySubjectType        = KeySubjectType.Building;
                currentKeySubjectBuildingKey = listItem.buildingKey;
                question = expandRandomTextRecord(7225 + toneIndex);
                break;

            case QuestionType.Person:
                question = expandRandomTextRecord(7225 + toneIndex);
                break;

            case QuestionType.Thing:
                question = "not implemented";
                break;

            case QuestionType.Regional:
                question = "not implemented";
                break;

            case QuestionType.Work:
                currentKeySubjectType = KeySubjectType.Work;
                question = expandRandomTextRecord(7212 + toneIndex);
                break;
            }
            return(question);
        }