Skip to content

Commit

Permalink
UtBS: Fix a few more issues found by the schema validator
Browse files Browse the repository at this point in the history
With this, UtBS is as clean of schema errors as it'll get
(There are still two spurious errors remaining)
  • Loading branch information
CelticMinstrel committed Apr 12, 2018
1 parent 942440e commit 06044c1
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 18 deletions.
Expand Up @@ -270,17 +270,20 @@
[ai]
aggression=0.90
caution=0.10
[/ai]

#causes assassin to attack Kaleh more than other units
#ifdef WIP
# TODO: make assassin attack Kaleh more than other units
# This goal doesn't have that effect

[goal]
name=target
[criteria]
id=Kaleh
[/criteria]
value=20
[/goal]
[goal]
name=target
[criteria]
id=Kaleh
[/criteria]
value=20
[/goal]
#endif
[/ai]
[/side]

# Prestart functions:
Expand Down
Expand Up @@ -139,14 +139,18 @@
[ai]
aggression=0.90
caution=0.10
#ifdef WIP
# TODO: Make them attack Kaleh more
# This goal doesn't have that effec
[goal]
name=target
[criteria]
id=Kaleh
[/criteria]
value=20
[/goal]
#endif
[/ai]
[goal]
name=target
[criteria]
id=Kaleh
[/criteria]
value=20
[/goal]
[/side]

#Side=6 dwarf 2 (main base guards)
Expand Down
Expand Up @@ -3867,7 +3867,9 @@
ai_type=messenger_escort
action=add

id=messenger
[filter]
id=messenger
[/filter]
waypoint_x,waypoint_y=42,1
[/micro_ai]
[/then]
Expand Down
Expand Up @@ -2763,7 +2763,7 @@

# Removes the ^Wyc overlay from any location which has it
[terrain]
terrain="^ "
terrain=^
layer=overlay
[and]
terrain=*^Wyc
Expand Down

0 comments on commit 06044c1

Please sign in to comment.