Last updated
Last updated
Preconditions are conditions that must be met before player can proceed with a choice.
Bellow is the interface - the structure that all preconditions conform to.
Precondition is an optional field for and Item. It is checked by checkChoiceCondition().
Precondition perform checks with the player's inventory and stat. If the checks failed, the choice will be disabled.