Add condition to phone interaction
Hi!
I'm trying to create a mod with new skills.
In a certain level of the skill, I'd like to unlock an interaction on the phone to attend to a class in a rabbit hole.
Skill works great and so do the rabbit hole.
I've tried many things to lock the interaction with a skill test but it still appear even if my sim doesn't have the required skill.
I've taken the phoneFame_CelebrityCleanse interaction tuning to do so and made my changes.
Could someone tell me what I am doing wrong please?
I'm french by the way, I apologize for my non perfect english
Code:
<L n="test_autonomous">
<L>
<V t="location">
<U n="location">
<U n="location_tests">
<V n="is_venue_type" t="enabled">
<U n="enabled">
<T n="negate">True</T>
<T n="venue_type">111611<!--venue_HiddenAlienWorld--></T>
</U>
</V>
</U>
</U>
</V>
</L>
</L>
<L n="test_globals">
<V t="test_set_reference">
<T n="test_set_reference">237832<!--testSet_PhoneInteractions_CanUsePhone--></T>
</V>
<V t="sim_info">
<U n="sim_info">
<V n="ages" t="specified">
<L n="specified">
<E>TEEN</E>
<E>YOUNGADULT</E>
<E>ADULT</E>
<E>ELDER</E>
</L>
</V>
<V n="species" t="specified">
<U n="specified">
<L n="species">
<E />
</L>
</U>
</V>
<E n="who">Actor</E>
</U>
</V>
</L>
<L n="tests">
<L>
<V t="skill_test">
<U n="skill_test">
<T n="skill">17695853974315205662<!--Competence_Technique--></T>
<V n="skill_range" t="interval">
<U n="interval">
<U n="skill_interval">
<T n="lower_bound">1</T>
<T n="upper_bound">5</T>
</U>
</U>
</V>
<V n="tooltip" t="enabled">
<T n="enabled">0x0FEE98FE<!--La compĂ©tence doit ĂȘtre acquise!--></T>
</V>
</U>
</V>
</L>
</L>