Posts: 410
Thanks: 5982 in 22 Posts
13 Achievements
It depends on how detailed you want it to be, and if traveling interactions work like any other interaction (which from memory I'm pretty sure they are). If you just want a set payment, you can edit the Travel interactions to require a payment before leaving the lot and it's fairly easy to do, no scripting required unless you want to avoid overriding. I'm not sure if you can set it to be a random amount or not, and checking the TDESC I'm not seeing anything so I'd say it's a soft "no" but I recommend checking yourself to be sure. If you want the payment to be based on the location, then that will probably require scripting because tests are only for the current lot, not the lot you are going to. I'm not experienced enough to list how to do it in script, but from what I've seen with other mods that touch basic_extras it doesn't seem difficult.
For tuning it would look like this:
Code:
<V t="payment">
<U n="payment">
<T n="display_only">True</T>
<V n="payment" t="literal">
<U n="literal">
<V n="payment_cost" t="amount">
<U n="amount">
<T n="amount">110</T>
</U>
</V>
</U>
</V>
</U>
</V>
And for injecting to basic_extras someone posted a helpful snippet using script here that you can take a look at to give you an idea:
https://modthesims.info/showthread....400#post5663400
Creator Musings is a Sims 4 modder, poser/animator, and CC creator hangout server (though everyone is allowed) with a tutorial/resource directory, help channels, and mod/cc/sims 4 news channels!
My Discord |
Twitter |
Tumblr |
Patreon