mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Updated the USDF specs
Updated the USDF specs about 'require' and 'exclude'.
This commit is contained in:
parent
b1880964fa
commit
f1a80770e1
2 changed files with 30 additions and 0 deletions
|
@ -122,6 +122,26 @@ conversation // Starts a dialog.
|
|||
amount = <integer>; // Minimum amount of the item needed.
|
||||
}
|
||||
|
||||
// The amount of an item needed for this option to become available.
|
||||
// You can have as many as needed. All require blocks must be satisfied
|
||||
// to show this option.
|
||||
require
|
||||
{
|
||||
item = <integer>; // Item that is required to show this option.
|
||||
amount = <integer>; // Minimum amount of the item needed.
|
||||
}
|
||||
|
||||
// The undesired amount of an item. This option will become available
|
||||
// if you have less than the specified amount. You can have as many
|
||||
// as needed. All exclude blocks must be satisfied to show this option.
|
||||
// Note: if both require and exclude are defined then all require
|
||||
// and all exclude blocks must be satisfied to show this option.
|
||||
exclude
|
||||
{
|
||||
item = <integer>; // Item that is unwanted to show this option.
|
||||
amount = <integer>; // Unwanted minimum amount of the item.
|
||||
}
|
||||
|
||||
displaycost = <bool>; // Whether the cost should be
|
||||
// displayed with the option.
|
||||
// If no cost is specified this should
|
||||
|
|
|
@ -50,6 +50,16 @@ conversation
|
|||
item = <string>;
|
||||
}
|
||||
|
||||
require
|
||||
{
|
||||
item = <string>;
|
||||
}
|
||||
|
||||
exclude
|
||||
{
|
||||
item = <string>;
|
||||
}
|
||||
|
||||
giveitem = <string>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue