Esempio n. 1
0
    // 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
        }
    }
Esempio n. 2
0
 void PickUpCash()
 {
     UIEventHandler.MoneyAdded(cashAmount);
     //EventNotifier.Instance.MakeEventNotifier(string.Format("Obtained: {0} Cash", cashAmount));
     Destroy(gameObject);
 }