This structure can be used to hold file paths. It has two forms: a key-value string map and a scalar string.
Required. An exact (ie. not regex) file path or name.
A CommonMark string, to be displayed instead of the file path in any generated messages, eg. the name of the mod the file belongs to.
localised content list
if this file causes an error message to be displayed (e.g. because it’s a missing requirement), this detail message content will be appended to that error message. If a string is provided, it will be interpreted as CommonMark. If a localised content list is provided, one of the structures must be for English. If undefined, defaults to an empty string.
A condition string that is evaluated to determine whether this file data should be used: if it evaluates to true, the data is used, otherwise it is ignored. See Condition Strings for details.
The scalar form is simply the value of the map form’s
name key. Using the scalar form is equivalent to using the map form with undefined
Two file data structures are equal if all their fields are equal.
equality is case-insensitive, the other fields use case-sensitive equality.
name: '../obse_loader.exe' condition: 'version("../obse_loader.exe", "0.0.18.0", >=)' display: 'OBSE v18+'