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 6, 2018
1 parent 0c914db commit 908f8e9
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 21 deletions.
Expand Up @@ -432,7 +432,7 @@
array=tents
[do]
{RANDOM 0..100}
{VARIABLE_OP random sub this_item.y}
{VARIABLE_OP random sub $this_item.y}
[if]
[variable]
name=random
Expand Down
Expand Up @@ -270,17 +270,19 @@
[ai]
aggression=0.90
caution=0.10
[/ai]

#causes assassin to attack Kaleh more than other units
#ifdef WIP
#causes assassin to attack Kaleh more than other units

[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,16 @@
[ai]
aggression=0.90
caution=0.10
#ifdef WIP
[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 @@ -376,7 +376,7 @@
[if]
[variable]
name=ally_name
value=Rogrimir
equals=Rogrimir
[/variable]

[then]
Expand Down Expand Up @@ -424,7 +424,7 @@
[if]
[variable]
name=ally_name
value=Rogrimir
equals=Rogrimir
[/variable]

[then]
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 908f8e9

Please sign in to comment.