Loans.data

From Big Pharma Wiki
Jump to: navigation, search

Back to modding

Loans.data[edit | edit source]

The loans.data file contains an array of 'Loan' objects which define possible bank and loan parameters randomly chosen for scenarios that have loans.

Example Loan[edit | edit source]

{
  "id":"loansrus",
  "sprite":"bank_loans_r_us",
  "cash":[1,2],
  "term":[1,2],
  "maximumRevenue":500000
}

Loan Keys[edit | edit source]

  • id - the unique id for this Lending Institution/Bank. This is used to look up the display text associated with this effect in strings-xx.data.
  • sprite - the image to be used
  • cash - array of the possible loan amount ("cash")
  • term - array of the possible loan duration ("term")
  • maximumRevenue or minimumRevenue - ???