Skip to main content

Requirement System

This guide gives a quick overview on how the requirement system works. This is currently used in the behaviour trees as well as the animation system.

Requirement Collection

The collection is a group of requirements, when matching is done it is on each requirement at a time. Every requirement must be met to count as a match.

Requirement

Created to contain a list of conditions which must be all met for the requirement to be considered matched.

Conditions

Used to allow for checking properties of an object within the system. Different types of conditions allow for different checks to take place.

Items

There are several conditions which can be used relating to items. These include; the name, the type or the size.

Time of Day

This condition can be used to specify a certain time of day for it to be met. It can be between, before or after a certain time of day.