Scripted Effect
donate_gold_to_international_organization
Holy Roman EmpireInternational OrganizationifDefinitionin_game/common/scripted_effects/country_effects.txt:2594
2595save_temporary_scope_as = root_country
2596if = {
2597limit = {
2597is_leader_of_international_organization = $international_organization$
}
2598custom_tooltip = {
2599text = donate_gold_to_international_organization_tt Every relevant member of Recipient will improve their Opinion of Actor scaling with the amount of Ducats donated compared to the current value of the treasury (scales up to 100)
2600$international_organization$ = {
2601if = {
2603every_country_with_special_status_of_type = {
2604type = elector
2606target = scope:root_country
2607value = $value$
2608international_organization = $international_organization$
}
}
2611every_country_with_special_status_of_type = {
2612type = archbishop_elector
2614target = scope:root_country
2615value = $value$
2616international_organization = $international_organization$
}
}
}
2620else = {
2621every_international_organization_member = {
2623target = scope:root_country
2624value = $value$
2625international_organization = $international_organization$
}
}
}
}
}
}
2632else = {
2633$international_organization$ = {
2634leader_country ?= {
2636target = scope:root_country
2637value = $value$
2638international_organization = $international_organization$
}
}
}
}
2643add_gold = {
2644value = $value$
2645multiply = -1
}