Undone changes to usdf.txt, updated usdf_zdoom.txt

Undone changes to usdf.txt, updated usdf_zdoom.txt
This commit is contained in:
FishyClockwork 2016-10-29 15:54:45 +02:00 committed by Christoph Oelckers
parent c341bc0d3c
commit f450a60f66
2 changed files with 12 additions and 22 deletions

View file

@ -122,26 +122,6 @@ conversation // Starts a dialog.
amount = <integer>; // Minimum amount of the item needed. 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 displaycost = <bool>; // Whether the cost should be
// displayed with the option. // displayed with the option.
// If no cost is specified this should // If no cost is specified this should

View file

@ -50,14 +50,24 @@ conversation
item = <string>; item = <string>;
} }
// 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 require
{ {
item = <string>; item = <string>; // 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 exclude
{ {
item = <string>; item = <string>; // Item that is unwanted to show this option.
amount = <integer>; // Unwanted minimum amount of the item.
} }
giveitem = <string>; giveitem = <string>;