Post by jemmons on Mar 14, 2023 17:40:16 GMT -5
Hi, I have a simple mod that charges the player to go into CAS to make an outfit, but I wanted to ensure it does not charge the player if they cancel this action (i.e. hit the x button). At the moment I believe the payment is taken at the beginning of the interaction, and I have tried variants of 'timing t="at_end"' but to no real luck. Any ideas?
<L n="basic_extras">
<V t="loot">
<U n="loot">
<L n="loot_list">
<T>270411</T>
</L>
<V n="timing" t="at_beginning" />
</U>
</V>
<V t="do_command">
<U n="do_command">
<L n="arguments">
<V t="participant">
<U n="participant">
<E n="argument">Actor</E>
</U>
</V>
</L>
<T n="command">sims.modify_in_cas_with_householdId</T>
</U>
</V>
</L>
<T n="can_shoo">False</T>
<V n="content_score" t="disabled" />
<T n="display_name">0xBD61F72B<!--Shop partywear--></T>
<U n="display_name_text_tokens">
<L n="tokens">
<V t="participant_type">
<U n="participant_type">
<V n="objects" t="from_participant">
<U n="from_participant">
<E n="participant">Actor</E>
</U>
</V>
</U>
</V>
<V t="participant_type">
<U n="participant_type">
<V n="objects" t="from_participant">
<U n="from_participant">
<E n="participant">Object</E>
</U>
</V>
</U>
</V>
</L>
</U>
<L n="interaction_category_tags">
<E>Interaction_Super</E>
<E>Interaction_All</E>
</L>
<V n="outcome" t="single">
<U n="single">
<U n="actions">
<L n="basic_extras">
<V t="change_outfit">
<U n="change_outfit">
<V n="outfit_change" t="for_reason">
<U n="for_reason">
<V n="on_entry" t="enabled">
<E n="enabled">Category_Party</E>
</V>
</U>
</V>
</U>
</V>
<V t="payment">
<U n="payment">
<T n="display_only">False</T>
<V t="literal" n="payment">
<U n="literal">
<V t="amount" n="payment_cost">
<U n="amount">
<T n="amount">100</T>
</U>
</V>
</U>
</V>
</U>
</V>
<V t="loot">
<U n="loot">
<L n="loot_list">
<T>299489</T>
</L>
</U>
</V>