mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 07:23:45 +00:00
disabled the ai_controller popup.
This commit is contained in:
parent
9e5d15e4b3
commit
81c372a7be
@ -55,33 +55,35 @@
|
||||
[/command]
|
||||
[/set_menu_item]
|
||||
|
||||
[set_menu_item]
|
||||
id=ai_controller_enable
|
||||
description= "enable ai_controller" # wmllint: ignore no spellcheck
|
||||
[show_if]
|
||||
[variable]
|
||||
name=ai_controller.in_command
|
||||
boolean_equals=false
|
||||
[/variable]
|
||||
[/show_if]
|
||||
[command]
|
||||
{VARIABLE ai_controller.in_command true}
|
||||
[/command]
|
||||
[/set_menu_item]
|
||||
# [set_menu_item]
|
||||
# id=ai_controller_enable
|
||||
# description= "enable ai_controller" # wmllint: ignore no spellcheck
|
||||
# [show_if]
|
||||
# [not]
|
||||
# [variable]
|
||||
# name=ai_controller.in_command
|
||||
# boolean_equals=true
|
||||
# [/variable]
|
||||
# [/not]
|
||||
# [/show_if]
|
||||
# [command]
|
||||
# {VARIABLE ai_controller.in_command true}
|
||||
# [/command]
|
||||
# [/set_menu_item]
|
||||
|
||||
[set_menu_item]
|
||||
id=ai_controller_disable
|
||||
description= "disable ai_controller" # wmllint: ignore no spellcheck
|
||||
[show_if]
|
||||
[variable]
|
||||
name=ai_controller.in_command
|
||||
boolean_equals=true
|
||||
[/variable]
|
||||
[/show_if]
|
||||
[command]
|
||||
{VARIABLE ai_controller.in_command false}
|
||||
[/command]
|
||||
[/set_menu_item]
|
||||
# [set_menu_item]
|
||||
# id=ai_controller_disable
|
||||
# description= "disable ai_controller" # wmllint: ignore no spellcheck
|
||||
# [show_if]
|
||||
# [variable]
|
||||
# name=ai_controller.in_command
|
||||
# boolean_equals=true
|
||||
# [/variable]
|
||||
# [/show_if]
|
||||
# [command]
|
||||
# {VARIABLE ai_controller.in_command false}
|
||||
# [/command]
|
||||
# [/set_menu_item]
|
||||
|
||||
[set_menu_item]
|
||||
id=ai_controller_orders
|
||||
@ -337,6 +339,7 @@
|
||||
[option]
|
||||
id=command_clear
|
||||
message= "#I revoke all your commands!" # wmllint: ignore
|
||||
|
||||
[command]
|
||||
{MODIFY_UNIT side=$ai_controller.ai_side goto_x "-999"}
|
||||
{MODIFY_UNIT side=$ai_controller.ai_side goto_y "-999"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user