public override bool IsFinished() { if (PPather.GetQuestStatus(ID) == "completed" || PPather.GetQuestStatus(ID) == "failed" || PPather.GetQuestStatus(ID) == "completedr") { return(true); } return(false); }
public static Value QuestStatus(params Value[] args) { String q = args[0].GetStringValue(); String status = PPather.GetQuestStatus(q); if (status == null) { return(Pather.Parser.Value.NilValue); } return(new Value(status)); }