Added two new sub-blocks for Choice blocks
Added two new sub-blocks for Choice blocks: Require and Exclude. The syntax for both is the same as Cost blocks. Require defines what item must be present in your inventory in order to show this choice/reply. Exclude defines what item must not be present in your inventory in order to show this choice/reply. If any Require/Exclude blocks are defined then this choice/reply will be hidden until all blocks of both types are satisfied.
This commit is contained in:
parent
87ea75169e
commit
b1880964fa
4 changed files with 75 additions and 9 deletions
|
|
@ -45,6 +45,8 @@ struct FStrifeDialogueReply
|
|||
int ActionSpecial;
|
||||
int Args[5];
|
||||
TArray<FStrifeDialogueItemCheck> ItemCheck;
|
||||
TArray<FStrifeDialogueItemCheck> ItemCheckRequire;
|
||||
TArray<FStrifeDialogueItemCheck> ItemCheckExclude;
|
||||
char *Reply;
|
||||
char *QuickYes;
|
||||
int NextNode; // index into StrifeDialogues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue