Peace treaty

Cancel Debt

Our debts shall be wiped clean, freeing us from the burdens of interest and financial servitude.

Conditions

  • the winner:
    • Any loan:
      • Owner is the loser
      • Is worth more than 0

Effects

  • the winner:
    • Every loan:
      • Where:
        • Owner is the loser
        • Is worth more than 0
      • Change loan amount: Loan amount, × −1
Technical details
Game id
peace:cancel_debt
Defined in
in_game/common/peace_treaties/cancel_debt.txt:1

Formulas

  • (+ Debts: If the winner's Monthly Trade & Tax Income is not 0: ÷ Monthly Income)
  • at most 100
  • at least 1

Ai

Ai desire
Add
Desc
Loans
Scope:winner
Every loan
Limit
Owner
…
Add
remaining debt
If
Limit
Scope:winner.monthly income trade and tax
!=
0
Divide
scope:winner.monthly_income_trade_and_tax