
Country Interaction
Demand Silver Tribute
The Single Whip Policy policy now allows us to extract a higher toll of Silver from our various subjects.
Middle KingdomInternational Organizationpotential, select trigger
May Demand Silver TributeModifier TypepotentialDefinitionin_game/common/country_interactions/demand_silver_tribute.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5potential = {
7scope:actor = {
}
}
}
15allow = {
}
18select_trigger = {
19looking_for_a = country
20interaction_source_list = {
21scope:actor = {
22every_subject = {
23add_to_list = source
}
}
}
27target_flag = recipient
28name = "choose_country" Choose the Country:
29column = {
30data = name
}
35enabled = {
36NOT = {
37capital.market = {
38this = scope:actor.capital.market
}
}
41gold >= {
42value = monthly_income_trade_and_tax
}
44opinion = {
45target = scope:actor
46value > 0
}
48produced_in_country:silver > 0
}
}
54effect = {
55scope:recipient = {
56capital.market = {
57add_goods_supply = {
59amount = {
60subtract = {
61value = scope:recipient.produced_in_country:silver
}
63divide = {
64value = 10
}
}
}
}
}
71scope:actor = {
72capital.market = {
73add_goods_supply = {
75amount = {
76add = {
77value = scope:recipient.produced_in_country:silver
}
79divide = {
80value = 10
}
}
}
}
86add_gold = {
87value = scope:recipient.monthly_income_trade_and_tax
}
89add_inflation = {
91multiply = {
92desc = "SCOPE_RECEPIENT_SILVER_PRODUCTION"
93value = scope:recipient.produced_in_country:silver
94divide = 1000
}
}
}
}
99ai_will_do = {
100add = -10
}