LoW::2: use new AI syntax for Olurf
This commit is contained in:
parent
7672a9d7ff
commit
9b43193936
1 changed files with 24 additions and 24 deletions
|
@ -80,11 +80,19 @@
|
|||
#else
|
||||
team_name=trolls
|
||||
#endif
|
||||
|
||||
{ai/aliases/stable_singleplayer.cfg} #note that this MUST be given OUTSIDE the [ai] tag
|
||||
[ai]
|
||||
caution=0.5
|
||||
[avoid]
|
||||
{NOT_OLURFS_LAND}
|
||||
[/avoid]
|
||||
{AI_ASPECT caution 0.5}
|
||||
[aspect]
|
||||
id=avoid
|
||||
[facet]
|
||||
id=stay_in_own_land
|
||||
[value]
|
||||
{NOT_OLURFS_LAND}
|
||||
[/value]
|
||||
[/facet]
|
||||
[/aspect]
|
||||
[/ai]
|
||||
[/side]
|
||||
#wmllint: validate-on
|
||||
|
@ -149,16 +157,12 @@
|
|||
[/else]
|
||||
[/if]
|
||||
|
||||
[modify_side]
|
||||
side=2
|
||||
[ai]
|
||||
caution=0.5
|
||||
[avoid]
|
||||
[not]
|
||||
[/not]
|
||||
[/avoid]
|
||||
[/ai]
|
||||
[/modify_side]
|
||||
[modify_ai]
|
||||
side=2
|
||||
action=delete
|
||||
path=aspect['avoid'].facet['stay_in_own_land']
|
||||
[/modify_ai]
|
||||
|
||||
[/event]
|
||||
|
||||
# Elves have stepped on Olurf's land.
|
||||
|
@ -200,16 +204,12 @@
|
|||
{CLEAR_VARIABLE olurf_side}
|
||||
{VARIABLE offended_by_elves yes}
|
||||
|
||||
[modify_side]
|
||||
side=2
|
||||
[ai]
|
||||
caution=0.5
|
||||
[avoid]
|
||||
[not]
|
||||
[/not]
|
||||
[/avoid]
|
||||
[/ai]
|
||||
[/modify_side]
|
||||
[modify_ai]
|
||||
side=2
|
||||
action=delete
|
||||
path=aspect['avoid'].facet['stay_in_own_land']
|
||||
[/modify_ai]
|
||||
|
||||
[/event]
|
||||
|
||||
#undef NOT_OLURFS_LAND
|
||||
|
|
Loading…
Add table
Reference in a new issue