Code: Select all
QuestLog.AddQuest(questName, questDesc);
Code: Select all
string saveString = PixelCrushers.DialogueSystem.PersistentDataManager.GetSaveData();
writer.Write(saveString);
Code: Select all
PixelCrushers.DialogueSystem.PersistentDataManager.ApplySaveData(saveString);
Here's an example of my quest json in save file
Code: Select all
Item[
"minor_quest_transport_Villager2"
]={
Name="minor_quest_transport_Villager2",
Description="",
State="active",
CarryObject="Carriable_bale3",
Count=0,
TargetCount=3,
Location="Transport Location",
Agent="Villager2",
Reward=100,
};