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:
FishyClockwork 2016-10-28 13:42:37 +02:00 committed by Christoph Oelckers
commit b1880964fa
4 changed files with 75 additions and 9 deletions

View file

@ -585,6 +585,8 @@ xx(Ifitem)
xx(Choice)
xx(Link)
xx(Goodbye)
xx(Require)
xx(Exclude)
// Special menus
xx(Mainmenu)