forked from hadorganization/geheimnisnacht
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trade_post_decisions.txt
40 lines (39 loc) · 1.17 KB
/
trade_post_decisions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Trade post decisions are possible vs _all_ trade posts and are shown in the Settlement Diplomacy View, not the Intrigue View. The taker is in the FROM scope.
#
# filter = [capital/owned/vassal_owned/sub_realm_owned/realm_owned/dynasty_owned]
# ai_target_filter = [capital/owned/vassal_owned/sub_realm_owned/realm_owned/dynasty_owned] (which trade posts for which the AI evaluates the decision.)
# owned: all trade posts owned by the AI
# vassal_owned: all trade posts owned by direct vassal rulers of the AI's employer
# sub_realm_owned: all trade posts below the AI's employer
# realm_owned: all trade posts in the same top realm as the AI
# dynasty_owned: all trade posts owned by members of the same dynasty
#
trade_post_decisions = {
abandon_trade_post = {
only_playable = yes
filter = sub_realm_owned
ai_target_filter = sub_realm_owned
from_potential = {
}
potential = {
trade_post_owner = {
character = FROM
}
}
allow = {
trade_post_owner = {
war = no
}
}
effect = {
log = "work decision abandon_trade_post for [Root.GetBestName]"
destroy_tradepost = THIS
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 0
}
}
}