Skip to content

Commit

Permalink
Schema: Update filters with undocumented or poorly-documented features
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent 2746f5c commit 66a33b2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
2 changes: 1 addition & 1 deletion data/schema/filters/location.cfg
Expand Up @@ -2,7 +2,7 @@
[tag]
name="$filter_location"
max=0
{SIMPLE_KEY time_of_day string}
{SIMPLE_KEY time_of_day string}
{SIMPLE_KEY time_of_day_id string}
{SIMPLE_KEY terrain terrain_list}
{SIMPLE_KEY x s_coordinates}
Expand Down
30 changes: 18 additions & 12 deletions data/schema/filters/unit.cfg
Expand Up @@ -2,29 +2,35 @@
[tag]
name="$filter_unit"
max=0
{SIMPLE_KEY id string}
{SIMPLE_KEY speaker string}
{SIMPLE_KEY type string}
{SIMPLE_KEY type_adv_tree string}
{SIMPLE_KEY race string}
{SIMPLE_KEY ability_type string}
{SIMPLE_KEY ability_type_active string}
{SIMPLE_KEY ability string}
{SIMPLE_KEY trait string}
{SIMPLE_KEY status string}
{SIMPLE_KEY name t_string}
{SIMPLE_KEY id string_list}
{SIMPLE_KEY type string_list}
{SIMPLE_KEY type_adv_tree string_list}
{SIMPLE_KEY variation string_list}
{SIMPLE_KEY has_variation string_list}
{SIMPLE_KEY race string_list}
{SIMPLE_KEY ability_type string_list}
{SIMPLE_KEY ability_type_active string_list}
{SIMPLE_KEY ability string_list}
{SIMPLE_KEY trait string_list}
{SIMPLE_KEY status string_list}
{SIMPLE_KEY side s_range_list}
{DEPRECATED_KEY has_weapon string}
{SIMPLE_KEY canrecruit s_bool}
{SIMPLE_KEY gender gender}
{SIMPLE_KEY role string}
{SIMPLE_KEY level s_range_list}
{SIMPLE_KEY defense s_int}
{SIMPLE_KEY movement_cost s_int}
{SIMPLE_KEY defense s_range_list}
{SIMPLE_KEY movement_cost s_range_list}
{SIMPLE_KEY vision_cost s_range_list}
{SIMPLE_KEY jamming_cost s_range_list}
{SIMPLE_KEY x s_coordinates}
{SIMPLE_KEY y s_coordinates}
{SIMPLE_KEY find_in string}
{SIMPLE_KEY formula formula}
{SIMPLE_KEY lua_function string}
{SIMPLE_KEY ai_special string}
{SIMPLE_KEY recall_cost s_range_list}

[tag]
name="filter_wml"
Expand Down
16 changes: 8 additions & 8 deletions data/schema/filters/weapon.cfg
Expand Up @@ -2,16 +2,16 @@
[tag]
name="$filter_weapon"
max=0
{SIMPLE_KEY range string}
{SIMPLE_KEY name string}
{SIMPLE_KEY type string}
{SIMPLE_KEY range string_list}
{SIMPLE_KEY name string_list}
{SIMPLE_KEY type string_list}
{SIMPLE_KEY special string}
{SIMPLE_KEY special_active string}
{SIMPLE_KEY formula formula}
{SIMPLE_KEY damage s_int}
{SIMPLE_KEY number s_int}
{SIMPLE_KEY parry s_int}
{SIMPLE_KEY accuracy s_int}
{SIMPLE_KEY movement_used s_int}
{SIMPLE_KEY damage s_range_list}
{SIMPLE_KEY number s_range_list}
{SIMPLE_KEY parry s_range_list}
{SIMPLE_KEY accuracy s_range_list}
{SIMPLE_KEY movement_used s_range_list}
{FILTER_BOOLEAN_OPS weapon}
[/tag]

0 comments on commit 66a33b2

Please sign in to comment.