Commit graph

16 commits

Author SHA1 Message Date
mattsc
cf3be040ca Schema validation: add missing AI aspect 2018-12-03 18:19:44 -08:00
mattsc
dca3fe71bb Schema validation: add new AI keys 2018-12-03 18:19:37 -08:00
mattsc
f53e3b9565 Schema validation: remove attack_depth aspect
It's been removed from the AI.
2018-11-16 06:45:40 -08:00
Celtic Minstrel
52c4dc0e3d Add a validator subclass specialized for validating WML schemas against the WML schema schema 2018-11-03 17:09:25 -04:00
Celtic Minstrel
4674e97eb6 Schema: Add a macro for links (and make use of it) 2018-10-23 22:49:53 -04:00
Celtic Minstrel
d70fee5afc Schema: Fix issue with matching [modify_ai] for attacks aspect 2018-10-23 22:49:32 -04:00
Celtic Minstrel
67c6de0a4e Schema: Accept variable substitution in most aspect values 2018-10-23 22:39:53 -04:00
Celtic Minstrel
9b9fdf2c52 Schema: Simplify the simple non-scalar aspect definitions 2018-10-23 22:39:52 -04:00
Celtic Minstrel
151a1fb66c Schema: Forgot id key in [leader_goal] 2018-10-23 22:39:51 -04:00
Celtic Minstrel
17b1127175 Schema: Fixup [goal] definition 2018-10-23 22:39:48 -04:00
Celtic Minstrel
9a966a46f5 Schema: Support omitting the final index in [modify_ai] paths
Also mark the subtags in [modify_ai] as required
2018-10-23 22:39:47 -04:00
Celtic Minstrel
da7fcaa5e1 Schema: Definition of [modify_ai] tag
Also reorder some things in [aspect] for better matching
2018-10-23 22:37:42 -04:00
Celtic Minstrel
644ff73c92 Schema: Add feature to [switch] to allow a [case] to match the absence of the key
Use this to support the default [goal] name
2018-10-23 22:37:38 -04:00
Celtic Minstrel
6d4b789e5b Schema: Use the new globbing feature to improve [aspect] definition
Also fix [engine] switch
2018-10-23 22:37:37 -04:00
Celtic Minstrel
c2716728e5 A few more missing pieces to the AI schema 2018-10-23 22:37:36 -04:00
Celtic Minstrel
faa8decdc8 WIP Schema for the AI WML
Pretty much all working, except for the [aspect] tag
Also, [modify_ai] is not yet specified (needs new schema features)
2018-10-23 22:37:33 -04:00