Remove [goal]name=protect and add [goal]name=target_unit
- name=protect was a synonym for protect_location, which I consider confusing when name=target refers to a unit - name=target_unit is of course a synonym for target, added for greater consistency of syntax
This commit is contained in:
parent
b0b02d61c6
commit
28937124f3
2 changed files with 5 additions and 5 deletions
|
@ -493,7 +493,7 @@
|
|||
{MODIFY_AI_ADD_GOAL $ally_side (
|
||||
[goal]
|
||||
id=set_by_ai_controller
|
||||
name=protect
|
||||
name=protect_location
|
||||
value=20
|
||||
[criteria]
|
||||
x,y=$x1,$y1
|
||||
|
|
|
@ -218,14 +218,14 @@ static register_goal_factory<target_unit_goal>
|
|||
goal_factory_target("target");
|
||||
|
||||
|
||||
static register_goal_factory<target_unit_goal>
|
||||
goal_factory_target_unit("target_unit");
|
||||
|
||||
|
||||
static register_goal_factory<target_location_goal>
|
||||
goal_factory_target_location("target_location");
|
||||
|
||||
|
||||
static register_goal_factory<protect_location_goal>
|
||||
goal_factory_protect("protect");
|
||||
|
||||
|
||||
static register_goal_factory<protect_location_goal>
|
||||
goal_factory_protect_location("protect_location");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue