ANL: disable diplomacy actions towards yourself

This commit is contained in:
Severin Glöckner 2019-06-12 16:52:37 +02:00
parent 3925acd82f
commit bdbb9664fc

View file

@ -36,6 +36,11 @@
side={TARGET_SIDE}
canrecruit=yes
[/have_unit]
[variable]
name=side_number
numerical_not_equals={TARGET_SIDE}
[/variable]
[/show_if]
[command]
[set_variable]
@ -83,6 +88,11 @@
side={TARGET_SIDE}
canrecruit=yes
[/have_unit]
[variable]
name=side_number
numerical_not_equals={TARGET_SIDE}
[/variable]
[/show_if]
[command]
[set_variable]
@ -122,6 +132,11 @@
side={TARGET_SIDE}
canrecruit=yes
[/have_unit]
[variable]
name=side_number
numerical_not_equals={TARGET_SIDE}
[/variable]
[/show_if]
[command]
[set_variable]
@ -157,17 +172,20 @@
greater_than=$player_{TARGET_SIDE}.warfare.target
[/variable]
[and]
[variable]
name=player_{TARGET_SIDE}.troops
less_than=7
[/variable]
[/and]
[variable]
name=player_{TARGET_SIDE}.troops
less_than=7
[/variable]
[have_unit]
side={TARGET_SIDE}
canrecruit=yes
[/have_unit]
[variable]
name=side_number
numerical_not_equals={TARGET_SIDE}
[/variable]
[/show_if]
[command]
[set_variable]