wesnoth/data/schema/editor/groups.cfg
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

22 lines
350 B
INI

[tag]
name="editor_group"
max=unlimited
{REQUIRED_KEY id string}
{SIMPLE_KEY name t_string}
{SIMPLE_KEY icon t_string}
{SIMPLE_KEY core bool}
[/tag]
[tag]
name="item_group"
max=unlimited
super="editor_group"
[tag]
name="item"
max=unlimited
super="scenario/item"
{REQUIRED_KEY id string}
{SIMPLE_KEY name t_string}
[/tag]
[/tag]