Scripted Effect
donate_gold_to_international_organization
- IfIs leader of international organizationThenEvery 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)
$international_organization$IfInternational Organization Type:
Holy Roman EmpireThen- Every country with special status of type
- Type: elector
- add_organization_donation_opinion_bonus: Target: Root country · value · International Organization: international organizationAdd opinion: Modifier: Donated Gold to our Organization (25) · Target: Root countryScale↗
- Value: value
- Divide
- If
$international_organization$Ducats > 0ThenValue:$international_organization$DucatsOtherwiseValue: 1 - Min: 1
- Every country with special status of type
- Type:
archbishop_elector - add_organization_donation_opinion_bonus: Target: Root country · value · International Organization: international organizationAdd opinion: Modifier: Donated Gold to our Organization (25) · Target: Root countryScale↗
- Value: value
- Divide
- If
$international_organization$Ducats > 0ThenValue:$international_organization$DucatsOtherwiseValue: 1 - Min: 1
- Type:
OtherwiseEvery international organization memberadd_organization_donation_opinion_bonus: Target: Root country · value · International Organization: international organizationAdd opinion: Modifier: Donated Gold to our Organization (25) · Target: Root countryScale↗- Value: value
- Divide
- If
$international_organization$Ducats > 0ThenValue:$international_organization$DucatsOtherwiseValue: 1 - Min: 1
Otherwise$international_organization$Leader countryadd_organization_donation_opinion_bonus: Target: Root country · value · International Organization: international organizationAdd opinion: Modifier: Donated Gold to our Organization (25) · Target: Root countryScale↗- Value: value
- Divide
- If
$international_organization$Ducats > 0ThenValue:$international_organization$DucatsOtherwiseValue: 1 - Min: 1
- Every country with special status of type
- Lose value Ducats
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$international_organization$$value$
Requires 1
Used by 1
Contribute to Organization Treasuryinternational_organization = scope:recipient · value = scope:target_valueEffect
Scripting 1
Uses 1
- add_organization_donation_opinion_bonusinternational_organization = $international_organization$ · target = scope:root_country · value = $value$Else, If
save_temporary_scope_as = root_country