UtBS: Fix a few more issues found by the schema validator

With this, UtBS is as clean of schema errors as it'll get
(There are still two spurious errors remaining)
This commit is contained in:
Celtic Minstrel 2018-04-05 23:30:16 -04:00
parent 2e8261086c
commit 9c1e04706b
4 changed files with 28 additions and 19 deletions

View file

@ -270,17 +270,20 @@
[ai]
aggression=0.90
caution=0.10
#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]
#endif
[/ai]
#causes assassin to attack Kaleh more than other units
[goal]
name=target
[criteria]
id=Kaleh
[/criteria]
value=20
[/goal]
[/side]
# Prestart functions:

View file

@ -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)

View file

@ -3871,7 +3871,9 @@
ai_type=messenger_escort
action=add
id=messenger
[filter]
id=messenger
[/filter]
waypoint_x,waypoint_y=42,1
[/micro_ai]
[/then]

View file

@ -2770,7 +2770,7 @@
# Removes the ^Wyc overlay from any location which has it
[terrain]
terrain="^ "
terrain=^
layer=overlay
[and]
terrain=*^Wyc