
Country InteractionChanged this version
Siphon Income
We will take part of their income directly to our coffers.
AppanageSubject Typeselect trigger
State BankSubject TypeeffectDefinitionin_game/common/country_interactions/siphon_income.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5potential = {
}
8allow = {
}
11select_trigger = {
12looking_for_a = country
13interaction_source_list = {
14scope:actor = {
15every_subject = {
16add_to_list = source
}
}
}
20target_flag = recipient
21name = "choose_country" Choose the Country:
22column = {
23data = name
}
25visible = {
27OR = {
28country_type = location
29country_type = army
30country_type = building
}
}
33enabled = {
37monthly_income_trade_and_tax >= 0
38gold >= 0
39gold >= {
40value = monthly_income_trade_and_tax
41multiply = 4
}
}
}
46effect = {
47if = {
51scope:actor = {
52add_gold = {
53value = scope:recipient.gold
54multiply = 0.1
}
}
57scope:recipient = {
58add_gold = {
59value = scope:recipient.gold
60multiply = -0.1
}
}
}
66else = {
67scope:recipient = {
68add_gold = {
69value = scope:recipient.monthly_income_trade_and_tax
70multiply = -3
}
}
74scope:actor = {
75add_gold = {
76value = scope:recipient.monthly_income_trade_and_tax
77multiply = 3
}
}
}
}