Post by kisakiren on Feb 17, 2020 6:17:59 GMT -5
Greetings,
I would like to create a working trait for my career and for now, I have some questions to ask.
Well, I have the trait which looks like this:
and the buff trait looks like this:
and the loot looks like this:
So buff is supposed to loop each time it expires.
My other issue is how to make that if the sims leave the career, they lose the trait.
I don't know if it is possible to do so.
My idea is that when you join the career, you are awarded the trait, when you quit, you lose it.
I also don't know how to make that the sims earn the trait. I made that once they join they are rewarded it but I don't know how to make them wear it.
This is what the loot upon quitting career looks like though:
Question is, is it possible to have this kind of trait, if yes, how to?
I would like to create a working trait for my career and for now, I have some questions to ask.
Well, I have the trait which looks like this:
<?xml version="1.0" encoding="utf-8"?>
[i]
<L n="ages">
<E>ADULT</E>
<E>ELDER</E>
<E>YOUNGADULT</E>
</L>
<L n="buffs">
[u]
<T n="buff_type">13071315470374131447<!--Erisaren_buff_Trait_EmployedIBC--></T>
[/u]
</L>
<T n="buffs_add_on_spawn_only">False</T>
<T n="display_name">0xBC07EF71<!--IBC Worker--></T>
<T n="display_name_gender_neutral">0xBC07EF71<!--IBC Worker--></T>
<T n="icon" p="Generated">2f7d0004:00000000:A37643E966DB7C70</T>
<L n="species">
<E />
</L>
<T n="trait_description">0xCC1E63C8<!--Blah blah blah.--></T>
<T n="trait_origin_description">0x2DEB238B<!--(From Being in Contract Killer career)--></T>
<E n="trait_type">GAMEPLAY</E>
<V n="whim_set" t="enabled">
<T n="enabled">11509945894915476957<!--whimset_Career_ContractKiller--></T>
</V>
[/i]
and the buff trait looks like this:
<?xml version="1.0" encoding="utf-8"?>
[i]
<L n="_loot_on_removal">
<T>13019386787890028597<!--Erisaren_loot_ContractKiller_EmployedIBC--></T>
</L>
<V n="_temporary_commodity_info" t="enabled">
[u]
<L n="categories">
<E>Energized_Buffs</E>
</L>
[/u]
</V>
<T n="audio_sting_on_add" p="InGame\Audio\Stings\sting_buff_gain.propx">39b2aa4a:00000000:8af8b916cf64c646</T>
<T n="audio_sting_on_remove" p="InGame\Audio\Stings\sting_buff_loss.propx">39b2aa4a:00000000:3bf33216a25546ea</T>
<T n="buff_description">0x33ECCD18<!--You are a proud worker of IBC.--></T>
<T n="buff_name">0xE498CA97<!--Employed!--></T>
<T n="icon" p="InGame\UI\Icons\Buffs\Buffs_Energized.png">2f7d0004:00000000:7662f28605db26ed</T>
<T n="mood_type">14636<!--Mood_Energized--></T>
<T n="mood_weight">1</T>
[/i]
and the loot looks like this:
<?xml version="1.0" encoding="utf-8"?>
[i]
<L n="loot_actions">
<V t="buff">
[u]
[u]
<V n="buff_reason" t="enabled">
<T n="enabled">0x856B008E<!--(From Being a Happy employee)--></T>
</V>
<T n="buff_type">13071315470374131447<!--Erisaren_buff_Trait_EmployedIBC--></T>
[/u]
[/u]
</V>
</L>
[/i]
So buff is supposed to loop each time it expires.
My other issue is how to make that if the sims leave the career, they lose the trait.
I don't know if it is possible to do so.
My idea is that when you join the career, you are awarded the trait, when you quit, you lose it.
I also don't know how to make that the sims earn the trait. I made that once they join they are rewarded it but I don't know how to make them wear it.
This is what the loot upon quitting career looks like though:
<?xml version="1.0" encoding="utf-8"?>
[i]
<L n="loot_actions">
<V t="trait_remove">
[u]
<V n="trait" t="specific_trait">
[u]
<T n="specific_trait">15585875874248939727<!--Erisaren_trait_ContractKiller--></T>
[/u]
</V>
[/u]
</V>
</L>
[/i]
Question is, is it possible to have this kind of trait, if yes, how to?