|
Post by Kawaiistacie on Mar 9, 2018 23:59:30 GMT -5
I need help making an custom object go into sims inventory after getting a promotion.
I tried using:
<V t="object_rewards">
<U n="object_rewards">
<T n="force_family_inventory">True</T>
<V n="object_rewards" t="rewardsdata_tuning">
<U n="rewardsdata_tuning">
<T n="quantity">1</T>
<L n="reward_objects">
<U>
<L n="reward"> <T>2449835738945<!--BlahBlahBlah--></T>
I also tried using this one:
<V t="random_reward">
<L n="random_reward">
<U>
<V n="reward" t="build_buy_object">
<U n="build_buy_object">
<T n="object_definition">80707</T>
</U>
</V>
</U>
</L>
</V>
<V t="specific_reward">
<V n="specific_reward" t="display_text">
<U n="display_text">
<V n="text" t="override">
<T n="override">0x7830D654<!--Cautionary Tale Door--></T>
</V>
</U>
</V>
</V>
|
|
|
Post by SACRIFICIAL on Mar 10, 2018 6:19:06 GMT -5
Hello, I'm not sure if career rewards can go into the "Sim" inventory, I think it's always set to be sent to the household inventory. I'm going to put the code used for the camera on tripod reward so You can try it out, maybe it will work.
<L n="rewards"> <V t="object_definition"> <U n="object_definition"> <T n="definition">15878951410511418186<!--Camera Tripod/DG:_photoStudio_EP01GEN_201708261505352464_set1--></T> </U> </V> </L>
Also You need to make the "reward object" valid to be put in a sim's inventory. to do that go to the object tuning and paste this under the components.
<V n="inventory_item" t="enabled"> <U n="enabled"> <T n="skip_carry_pose">True</T> <L n="valid_inventory_types"> <E>SIM</E> </L> </U> </V>
Good luck!
|
|
|
Post by Kawaiistacie on Mar 10, 2018 10:50:42 GMT -5
I figured it out! Thank you for your help!
|
|