public static void TryCompleteGoal(AIContext context, GoalState endOfGoal, EffectType type) { if (context.HasGoal(endOfGoal)) { context.SetGoal(GoalState.None, true, type); } }
public static void ChangeGoal(AIContext context, EffectType type, GoalState goal) { context.SetGoal(goal, true, type); }