Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Test Subject
Original Poster
#1 Old 12th Aug 2019 at 5:01 PM
Default [Help] Add price to object/ interaction
Hi, everyone.

How can I add a price to an object/ interaction?

Here's the code I'm trying to write. The interactions works, but it's free/ costs nothing on my Sims. What can I change or add here?



Thank you
Advertisement
Lab Assistant
#2 Old 18th Aug 2019 at 7:50 AM
Some of the game interactions specify payments in the "basic_extras" section like this:

Code:
  <L n="basic_extras">
    <V t="payment">
      <U n="payment">
        <V n="payment" t="literal">
          <U n="literal">
            <V n="payment_cost" t="amount">
              <U n="amount">
                <T n="amount">500</T>
              </U>
            </V>
          </U>
        </V>
      </U>
    </V>
  </L>


You can try adding those lines to your XML.
Back to top