I've created a mod that allows Sims to take out bank loans, but I'm lacking a way to make them
pay them off.
So I thought I'd use Discover University's student loan system, since the mechanics for paying off the loan never actually call them *student* loans. It's always
just "loans", as seen here:
I've tried various different loot actions to add to my Sims' debt, but it never seems to actually recognize it, and the option to pay off the debt at a mailbox never appears. I've poked around in the xml and I've found "loot_Statistic_Loans_Set10000," a debug loot action, which
should be pretty straightforward, being a debug cheat, but it doesn't appear to do anything. Here's my version:
<?xml version="1.0" encoding="utf-8"?>
<I c="LootActions" i="action" m="interactions.utils.loot" n="abutt_Statistic_Loans_Set1100" s="12738263602864831381">
<L n="loot_actions">
<V t="statistics">
<V n="statistics" t="statistic_change">
<U n="statistic_change">
<T n="amount">1100</T>
<T n="stat">223186<!--Statistic: statistic_Debt--></T>
<L n="subject">
<E>Object</E>
</L>
</U>
</V>
</V>
</L>
</I>
I've set the debt statistic to the amount I want, so what do I need to do to get the game to acknowledge the debt?
Comments
There is a loans command that you could try but it will require the AllCheats mod to use it. Its sims.take_out_loan (Sim ID) (Loan Amount) (loan_type: use 1 or LoanType.UNIVERSITY).
Also check your interaction. Sometimes it can go wrong there.
Well, the interaction itself is based on the Parenthood volunteer interactions: the Sim goes off-lot, comes back with loot.
In Parenthood the loot is character values, in mine it's Simoleons and debt. The Simoleon gain works perfectly, so I'm quite confused that the debt doesn't tbh.
This is the mod in progress: https://chii.modthesims.info/getfile.php?file=2015059
I'd also prefer not to rely on other mods to make this work. Gaining debt is a Maxis-made mechanic, so there must be a way to call it, surely? Otherwise how does Discover University do it?
Looks like I might need to abandon this idea. I've reached out to various modders directly, and been ignored every time.