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:
parent
c530761863
commit
42f8ce442d
6 changed files with 31 additions and 22 deletions
|
@ -448,7 +448,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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -376,7 +376,7 @@
|
|||
[if]
|
||||
[variable]
|
||||
name=ally_name
|
||||
value=Rogrimir
|
||||
equals=Rogrimir
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
|
@ -424,7 +424,7 @@
|
|||
[if]
|
||||
[variable]
|
||||
name=ally_name
|
||||
value=Rogrimir
|
||||
equals=Rogrimir
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
|
|
|
@ -3873,7 +3873,9 @@
|
|||
ai_type=messenger_escort
|
||||
action=add
|
||||
|
||||
id=messenger
|
||||
[filter]
|
||||
id=messenger
|
||||
[/filter]
|
||||
waypoint_x,waypoint_y=42,1
|
||||
[/micro_ai]
|
||||
[/then]
|
||||
|
|
|
@ -2770,7 +2770,7 @@
|
|||
|
||||
# Removes the ^Wyc overlay from any location which has it
|
||||
[terrain]
|
||||
terrain="^ "
|
||||
terrain=^
|
||||
layer=overlay
|
||||
[and]
|
||||
terrain=*^Wyc
|
||||
|
|
Loading…
Add table
Reference in a new issue