public static void Load(QuestSave toLoad) { BasicQuests = toLoad.BasicQuests; CountQuests = toLoad.CountQuests; TieredQuests = toLoad.TieredQuests; GotQuestEvent?.Invoke(); }
public static void AddQuest(Quests which) { switch (which) { case Quests.Bandit: if (!HasQuest(Quests.Bandit)) { BasicQuests.Add(new BanditQuest()); PlayerFlags.BanditMap.Know = true; } break; case Quests.ElfsHunt: if (!HasQuest(Quests.ElfsHunt)) { TieredQuests.Add(new ElfQuest()); } break; default: break; } GotQuestEvent?.Invoke(); }