10 Commits

Author SHA1 Message Date
newfrenchy83
a87be48307 WML: Add separate special_id and special_type checks to weapon filtering
PR #4424, fixes #3915.
2019-10-16 02:55:13 +00:00
Celtic Minstrel
bfc997c91e Add various new features to the schema
Addresses #3730

This is everything I could find by perusing the commit log.
I may have missed something, however.
2019-03-03 11:56:34 -05:00
pentarctagon
7034c8f97b Run WML schema validation in travis. Fixes #3709
This adds running the WML schema validation in travis.  It also updates the schema itself and fixes a few WML errors so that core and all campaigns under all difficulties pass the schema validation.
2018-11-24 10:35:22 -06:00
Celtic Minstrel
d080c69356 Schema: Fix a few more cases of keys and tags not accepting variable substitution 2018-10-23 22:41:57 -04:00
Celtic Minstrel
4ba0c2b8fd Schema: Fix a few incorrect types 2018-10-23 22:41:50 -04:00
Celtic Minstrel
72d8d30009 Schema: Update weapon filter to note that lists are allowed here 2018-10-23 22:40:05 -04:00
Celtic Minstrel
66a33b2b3d Schema: Update filters with undocumented or poorly-documented features 2018-10-23 22:40:04 -04:00
Celtic Minstrel
902a104268 Schema: Fix several more cases of keys failing to accept variable substitutions 2018-10-23 22:39:37 -04:00
Celtic Minstrel
a1ecf1a559 First batch of schema fixes
- Allow for variable substitution in filter tags (mostly)
- Fix real not matching numbers like .5
- Support x,y=recall,recall

After this commit, there are no schema errors in the tutorial.
2018-10-23 22:38:20 -04:00
Celtic Minstrel
3a65a14bcb Implement validation of the core game config WML
Currently this is disabled by default
Use --validate command-line argument to enable

The following new features were added in the schema format:
* Union, intersection, and list types
* Keys can specify a union of known types on-the-fly
* Key and tag names can include wildcards (* and ?, glob-style)
* Tags support any_key=yes, which means unrecognized subtags will be ignored
* Tags and keys support deprecated=yes (unimplemented)
* Specify max=infinite instead of max=-1
2018-10-23 22:36:40 -04:00