Post by morgana1 on Aug 13, 2020 14:18:36 GMT -5
I have a problem with an aspiration. I'm creating an aspiration with 2 objectives, the first objective need some interaction to complete and the second objective need complete some situation. On both objectives I have a trait restriction to target. I only want the objectives to be completed if the objective has a certain trait, but in the case of the situation all sims complete the objective. I need help.
Code of the first case (this case works well):
Code of the second case (this code don't work well, the additional_tests were ignored):
Code of the first case (this case works well):
<T n="relative_to_unlock_moment">True</T>
<T n="display_text">0x95BD898C</T>
<T n="satisfaction_points">250</T>
<V n="objective_test" t="ran_interaction_test">
<U n="ran_interaction_test">
<L n="affordances">
<T>26177</T>
<T>26178</T>
<T>26181</T>
<T>26182</T>
<T>26180</T>
</L>
<V n="interaction_outcome" t="enabled">
<E n="enabled">SUCCESS</E>
</V>
</U>
</V>
<V n="objective_completion_type" t="iterations">
<U n="iterations">
<T n="iterations_required_to_pass">3</T>
</U>
</V>
<L n="additional_tests">
<L>
<V t="trait">
<U n="trait">
<L n="whitelist_traits">
<T>13314008132737731295</T>
</L>
<E n="subject">TargetSim</E>
</U>
</V>
</L>
</L>
Code of the second case (this code don't work well, the additional_tests were ignored):
<T n="relative_to_unlock_moment">True</T>
<T n="display_text">0xF92816AD</T>
<T n="satisfaction_points">650</T>
<V n="objective_test" t="situation_running_test">
<U n="situation_running_test">
<T n="check_for_initiating_sim">True</T>
<V n="participant" t="enabled" />
<V n="situation_whitelist" t="enabled">
<L n="enabled">
<T>16193</T>
<T>76577</T>
<T>201483</T>
</L>
</V>
</U>
</V>
<V n="objective_completion_type" t="iterations">
<U n="iterations">
<T n="iterations_required_to_pass">1</T>
</U>
</V>
<L n="additional_tests">
<L>
<V t="trait">
<U n="trait">
<L n="whitelist_traits">
<T>13314008132737731295</T>
</L>
<E n="subject">TargetSim</E>
</U>
</V>
</L>
</L>