master #3

Open
cacahuetes wants to merge 653 commits from liza/Questionable:master into cacahuetes-ShB-Healer
2 changed files with 15 additions and 0 deletions
Showing only changes of commit fe1d2d51db - Show all commits

View File

@ -360,6 +360,9 @@ internal sealed unsafe class QuestFunctions
{ {
if (IsQuestAccepted(questId)) if (IsQuestAccepted(questId))
return false; return false;
if (QuestManager.Instance()->IsDailyQuestCompleted(questId.Value))
return false;
} }
else else
{ {

View File

@ -110,6 +110,18 @@ internal sealed class CreationUtilsComponent
} }
#endif #endif
#if false
var questManager = QuestManager.Instance();
if (questManager != null)
{
for (int i = 0; i < questManager->DailyQuests.Length; ++i)
{
var dailyQuest = questManager->DailyQuests[i];
ImGui.Text($"Daily Quest {i}: {dailyQuest.QuestId}, {dailyQuest.IsCompleted}");
}
}
#endif
#if false #if false
var director = UIState.Instance()->DirectorTodo.Director; var director = UIState.Instance()->DirectorTodo.Director;
if (director != null) if (director != null)