// please write what it does public static void ActivateQuestCompletionAction(string id) { switch (id) { case "Slay the Gators": { UIEventHandler.MoneyAdded(100); PlayerLevel.ExpAdded(50); TutorialArea.questComplete = true; TutorialArea.OpenHometownWarp(); break; } // finsh tutorial quest to open up hometown portal } }
void PickUpCash() { UIEventHandler.MoneyAdded(cashAmount); //EventNotifier.Instance.MakeEventNotifier(string.Format("Obtained: {0} Cash", cashAmount)); Destroy(gameObject); }