/
goal.cfg
53 lines (51 loc) · 1.01 KB
/
goal.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tag]
name="goal"
super="$component"
{SIMPLE_KEY value real}
[if]
engine=lua
[else]
[switch]
key=name
# TODO: The default is target_unit
[case]
value=target,target_unit
{FILTER_TAG criteria unit ()}
[/case]
[case]
value=target_location
{FILTER_TAG criteria location ()}
[/case]
[case]
value=protect_unit,protect_my_unit
{FILTER_TAG criteria unit ()}
{SIMPLE_KEY protect_radius int}
[/case]
[case]
value=protect_location
{FILTER_TAG criteria location ()}
{SIMPLE_KEY protect_radius int}
[/case]
[/switch]
[/else]
[/if]
[/tag]
# Deprecated versions
{FILTER_TAG target unit (
deprecated=yes
{SIMPLE_KEY value real}
)}
{FILTER_TAG target_location location (
deprecated=yes
{SIMPLE_KEY value real}
)}
{FILTER_TAG protect_unit unit (
deprecated=yes
{SIMPLE_KEY value real}
{SIMPLE_KEY protect_radius int}
)}
{FILTER_TAG protect_location location (
deprecated=yes
{SIMPLE_KEY value real}
{SIMPLE_KEY protect_radius int}
)}