Quest Condition Enums

v4.0

A number of Enums are used when evaluating Quest Conditions. You can find these on the QuestCondition.cs class unless otherwise specified.

Quest Condition Metric

In some cases, the metric used for evaluation is not the Blackboard Note. Using this in your custom Quest Condition would enable you to provide more variety to how a condition is evaluated.

public enum QuestConditionMetric
{
    BlackboardNote,
    Gametime,
    Explicit
}

Value Comparison

This is used to determine how to compare to values, such as int and float values, which can be greater than, less than, or equal to each other.

public enum ValueComparison
{
    GreaterThan,
    LessThan,
    EqualTo,
    NotEqualTo,
    GreaterThanOrEqualTo,
    LessThanOrEqualTo
}

Value Contents

This is used for things that contain other things -- generally lists or arrays.

public enum ValueContents
{
    HasMoreThan,
    HasMoreThanOrEqualTo,
    HasLessThan,
    HasLessThanOrEqualTo,
    HasExactly,
    IsEmpty,
    IsNotEmpty
}

Group of Objects

When multiple objects are selected for comparison, determines how to utilize the set of items.

Any: At least one of the items must meet the criteria.

Sum: The sum of all the items in total must meet the criteria

Each: Each item in the list must meet the comparison.

public enum GroupOfObjects
{
    Any,
    Sum,
    Each
}

DatePart

Found on Gametime.cs

When used in the context of a Quest Condition, this can be used to specify which date part (Minutes, Years, etc) to use when comparing values.

public enum DatePart
{
    Minutes,
    Hours,
    Days,
    Weeks,
    Months,
    Seasons,
    Years
}

Last updated