Skip to content

Commit

Permalink
Fixed issues reported by mattsc.
Browse files Browse the repository at this point in the history
  • Loading branch information
ln-zookeeper committed Feb 1, 2014
1 parent 70c4632 commit a2e1c2c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions data/core/macros/ai_controller.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@
variable=side_i_leader
[/store_unit]

{VARIABLE this_enemy_txt_img_description "&$side_i_leader.image~TC($temp_i|,$side_i_leader.flag_rgb|)=$side_i_leader.name|="+_"(side $temp_i|)"}
{VARIABLE this_enemy_txt_img_description "&$side_i_leader.image~TC($temp_i|,$side_i_leader.flag_rgb|)="+_"Side $temp_i"+"=($side_i_leader.name|)"}
[/then]

[else]
{VARIABLE this_enemy_txt_img_description "&misc/blank-hex.png= ="+_"(side $temp_i|)"}
{VARIABLE this_enemy_txt_img_description "&misc/blank-hex.png="+_"Side $temp_i"+"= ="}
{VARIABLE ai_controller.side_$ally_side|_current_settings.focus_on_enemy.side_description _"side $temp_i"}
[/else]
[/if]
Expand All @@ -259,7 +259,7 @@

[command]
{VARIABLE ai_controller.side_$ally_side|_current_settings.focus_on_enemy.side $temp_i}
{VARIABLE ai_controller.side_$ally_side|_current_settings.focus_on_enemy.side_description _"$side_i_leader.name (side $temp_i|)"}
{VARIABLE ai_controller.side_$ally_side|_current_settings.focus_on_enemy.side_description _"side $temp_i ($side_i_leader.name|)"}

{MODIFY_AI_ADD_GOAL $ally_side (
[goal]
Expand Down Expand Up @@ -376,11 +376,11 @@
variable=side_i_leader
[/store_unit]

{VARIABLE this_ally_txt_img_description "&$side_i_leader.image~TC($temp_i|,$side_i_leader.flag_rgb|)=$side_i_leader.name|="+_"(side $temp_i|)"}
{VARIABLE this_ally_txt_img_description "&$side_i_leader.image~TC($temp_i|,$side_i_leader.flag_rgb|)="+_"Side $temp_i"+"=($side_i_leader.name|)"}
[/then]

[else]
{VARIABLE this_ally_txt_img_description "&misc/blank-hex.png= ="+_"(side $temp_i|)"}
{VARIABLE this_ally_txt_img_description "&misc/blank-hex.png="+_"Side $temp_i"+"= ="}
{VARIABLE ai_controller.side_$ally_side|_current_settings.protect.side_description _"side $temp_i"}
[/else]
[/if]
Expand All @@ -394,7 +394,7 @@

[command]
{VARIABLE ai_controller.side_$ally_side|_current_settings.protect.side $temp_i}
{VARIABLE ai_controller.side_$ally_side|_current_settings.protect.side_description _"$side_i_leader.name (side $temp_i|)"}
{VARIABLE ai_controller.side_$ally_side|_current_settings.protect.side_description _"side $temp_i ($side_i_leader.name|)"}

{MODIFY_AI_ADD_GOAL $ally_side (
[goal]
Expand Down Expand Up @@ -554,6 +554,7 @@

[revoke_objective_orders]
option_description= _ "Clear objective orders"
currently_doing_description= _"none set."

[actions_when_applied]
{MODIFY_AI_DELETE_GOAL $ally_side set_by_ai_controller}
Expand All @@ -566,6 +567,7 @@

[revoke_behavior_orders]
option_description= _ "Clear behavior orders"
currently_doing_description= _"none set."

[actions_when_applied]
{MODIFY_AI_DELETE_ASPECT $ally_side aggression set_by_ai_controller}
Expand Down

0 comments on commit a2e1c2c

Please sign in to comment.