Scripted Effect

tally_cost_of_loans

  • Set local variable
    • Name: loan_tally
    • Value: 0
  • Every loanwhere
    OwnerIs in list: banking_country_list
    Previous
    Change local variable
    • Name: loan_tally
    • Add: PreviousLoan amount
Exact script

Used by 1

set_local_variable = {
name = loan_tally
value = 0
}
every_loan = {
limit = {
owner ?= {
is_in_list = banking_country_list
}
}
PREV = {
change_local_variable = {
name = loan_tally
add = prev.loan_amount
}
}
}

© 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice