public static void HandleAnglerService() { Main.Achievements.GetCondition("SERVANT_IN_TRAINING", "Finish").Complete(); CustomFloatCondition condition = (CustomFloatCondition)Main.Achievements.GetCondition("GOOD_LITTLE_SLAVE", "Finish"); condition.Value = condition.Value + 1f; CustomFloatCondition value = (CustomFloatCondition)Main.Achievements.GetCondition("TROUT_MONKEY", "Finish"); value.Value = value.Value + 1f; CustomFloatCondition customFloatCondition = (CustomFloatCondition)Main.Achievements.GetCondition("FAST_AND_FISHIOUS", "Finish"); customFloatCondition.Value = customFloatCondition.Value + 1f; CustomFloatCondition condition1 = (CustomFloatCondition)Main.Achievements.GetCondition("SUPREME_HELPER_MINION", "Finish"); condition1.Value = condition1.Value + 1f; }
public static void HandleRunning(float pixelsMoved) { CustomFloatCondition condition = (CustomFloatCondition)Main.Achievements.GetCondition("MARATHON_MEDALIST", "Move"); condition.Value = condition.Value + pixelsMoved; }
public static void HandleNurseService(int coinsSpent) { CustomFloatCondition condition = (CustomFloatCondition)Main.Achievements.GetCondition("FREQUENT_FLYER", "Pay"); condition.Value = condition.Value + (float)coinsSpent; }