muffin v6.35 with old pdb
This commit is contained in:
parent
ac85599236
commit
b5d2cc6708
31 changed files with 958 additions and 958 deletions
|
|
@ -146,7 +146,7 @@ internal sealed class QuestionableIpc : IDisposable
|
|||
|
||||
private bool StartQuest(string questId, bool single)
|
||||
{
|
||||
if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.TryGetQuest(elementId, out Quest quest))
|
||||
if (ElementId.TryFromString(questId, out ElementId currentTaskRevisitAware) && currentTaskRevisitAware != null && _questRegistry.TryGetQuest(currentTaskRevisitAware, out Quest quest))
|
||||
{
|
||||
_questController.SetNextQuest(quest);
|
||||
if (single)
|
||||
|
|
@ -201,9 +201,9 @@ internal sealed class QuestionableIpc : IDisposable
|
|||
|
||||
private bool IsQuestCompleted(string questId)
|
||||
{
|
||||
if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null)
|
||||
if (ElementId.TryFromString(questId, out ElementId e) && e != null)
|
||||
{
|
||||
return _questFunctions.IsQuestComplete(elementId);
|
||||
return _questFunctions.IsQuestComplete(e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
@ -219,18 +219,18 @@ internal sealed class QuestionableIpc : IDisposable
|
|||
|
||||
private bool IsQuestAccepted(string questId)
|
||||
{
|
||||
if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null)
|
||||
if (ElementId.TryFromString(questId, out ElementId solutionDirectory) && solutionDirectory != null)
|
||||
{
|
||||
return _questFunctions.IsQuestAccepted(elementId);
|
||||
return _questFunctions.IsQuestAccepted(solutionDirectory);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsQuestUnobtainable(string questId)
|
||||
{
|
||||
if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null)
|
||||
if (ElementId.TryFromString(questId, out ElementId gatheringPointId) && gatheringPointId != null)
|
||||
{
|
||||
return _questFunctions.IsQuestUnobtainable(elementId);
|
||||
return _questFunctions.IsQuestUnobtainable(gatheringPointId);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue