/// <summary> /// Sets the localized quest entry description. /// </summary> /// <param name="questTitle">Title of the quest.</param> /// <param name="entryNumber">Entry number.</param> /// <param name="description">The quest entry description.</param> public static void SetQuestEntry(string questTitle, int entryNumber, string description) { string entryFieldName = GetEntryFieldName(entryNumber); DialogueLua.SetLocalizedQuestField(questTitle, entryFieldName, DialogueLua.DoubleQuotesToSingle(description)); }
/// <summary> /// Sets the quest abandon sequence. The QuestLogWindow plays this sequence when the /// player abandons a quest. /// </summary> /// <param name="title">Quest title.</param> /// <param name="sequence">Sequence to play when the quest is abandoned.</param> public static void SetQuestAbandonSequence(string title, string sequence) { DialogueLua.SetLocalizedQuestField(title, "Abandon Sequence", sequence); }