Post by sinfulsimming on Dec 23, 2017 19:30:46 GMT -5
I'm adding some new volunteer positions to the game (things like volunteering at the zoo), along with chance cards etc, but I've hit a snag.
The place where the position is added so it can be selected and attended is in the BuffPicker_VolunteerEvents XML, along with all the others.
I can make everything else work in theory (I know what I'm doing, at least), but this one bit is causing me hassles.
Can anyone give me a rundown of how to append my position into the file?
The xml is this:
and I'd want to add my own to it, so something like this:
I found some posts but they were kinda old and I'm not sure if there are better ways of doing it now <3
The place where the position is added so it can be selected and attended is in the BuffPicker_VolunteerEvents XML, along with all the others.
I can make everything else work in theory (I know what I'm doing, at least), but this one bit is causing me hassles.
Can anyone give me a rundown of how to append my position into the file?
The xml is this:
<?xml version="1.0" encoding="utf-8"?>
<I c="BuffPickerSuperInteraction" i="interaction" m="objects.components.buff_component" n="BuffPicker_VolunteerEvents" s="161446">
<V n="_saveable" t="disabled" />
<T n="automation">True</T>
<L n="buffs">
<U>
<T n="buff">160579<!--buff_VolunteerEvents_BakeSale--></T>
<T n="buff_description">0x74DE505B<!--Try your hand at volunteering at a bake sale. Don't forget to bring the cookies!--></T>
<T n="buff_icon" p="InGame\UI\Icons\Headlines\Final\headline_chefhat.png">2f7d0004:00000000:41b5c8b9a16c95bb</T>
<T n="buff_name">0x6CCD3A3A<!--Volunteer at a Bake Sale--></T>
</U>
<U>
<T n="buff">160575<!--buff_VolunteerEvents_Beach--></T>
<T n="buff_description">0x8773F333<!--Go and clean up your local beach! Then when you go there later on, it won't be so messy!--></T>
<T n="buff_icon" p="InGame\UI\Icons\Headlines\Final\headline_palmtree.png">2f7d0004:00000000:83962331fa265480</T>
<T n="buff_name">0x4FE2262<!--Volunteer at a Beach Cleanup--></T>
</U>
<U>
<T n="buff">160577<!--buff_VolunteerEvents_NursingHome--></T>
<T n="buff_description">0x66DE86A1<!--Go to your local nursing home spend some time brightening an elderly Sim's day!--></T>
<T n="buff_icon" p="InGame\UI\Icons\Headlines\Final\headline_Sincere.png">2f7d0004:00000000:44f501e9b48944d5</T>
<T n="buff_name">0xDDCDC754<!--Volunteer at a Nursing Home--></T>
</U>
<U>
<T n="buff">160578<!--buff_VolunteerEvents_SoupKitchen--></T>
<T n="buff_description">0x2D458C61<!--The hungry masses are lined up and ready to eat. Lend a hand, grab a ladle, and help dish it out!--></T>
<T n="buff_icon" p="InGame\UI\Icons\Headlines\Final\icon_headline_bowlnspoon.png">2f7d0004:00000000:6b25c8a078479fed</T>
<T n="buff_name">0xA7649F14<!--Volunteer at a Soup Kitchen--></T>
</U>
<U>
<T n="buff">160576<!--buff_VolunteerEvents_Walk--></T>
<T n="buff_description">0x8D5C4391<!--Go on a Walk to Fight Disease which raises funds for medical research to find a cure.--></T>
<T n="buff_icon" p="InGame\UI\Icons\Headlines\Final\headline_convivial.png">2f7d0004:00000000:e5c5b8e3365490af</T>
<T n="buff_name">0xB6A935E4<!--Walk to Fight Disease--></T>
</U>
</L>
<T n="category">15488<!--cheat_siminfo--></T>
<V n="content_score" t="disabled" />
<L n="continuations">
<L>
<U>
<T n="affordance">160733<!--VolunteerEvents_Prep--></T>
<E n="target">Actor</E>
</U>
</L>
</L>
<T n="debug">True</T>
<T n="display_name">0xA83924CA<!--Volunteer Activities--></T>
<U n="display_name_text_tokens">
<L n="tokens">
<V t="participant_type">
<U n="participant_type">
<E n="participant">Actor</E>
</U>
</V>
<V t="participant_type">
<U n="participant_type">
<E n="participant">Object</E>
</U>
</V>
</L>
</U>
<L n="handle_existing">
<E>SELECT</E>
</L>
<L n="interaction_category_tags">
<E>INVALID</E>
</L>
<V n="picker_dialog" t="item_picker">
<U n="item_picker">
<V n="icon" t="enabled">
<V n="enabled" t="resource_key">
<U n="resource_key">
<T n="key" p="InGame\UI\Icons\Headlines\Final\headline_baseball.png">2f7d0004:00000000:6ed9e964de77f364</T>
</U>
</V>
</V>
<V n="max_selectable" t="static_count">
<U n="static_count">
<T n="exclude_previously_selected">False</T>
<T n="number_selectable">1</T>
</U>
</V>
<T n="min_selectable">1</T>
</U>
</V>
<U n="progress_bar_enabled">
<T n="bar_enabled">False</T>
</U>
<L n="subject">
<E>PickedSim</E>
</L>
<E n="target_type">OBJECT</E>
<L n="test_globals">
<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>
<E>CHILD</E>
<E>TODDLER</E>
<E>BABY</E>
</L>
</V>
<V n="species" t="unspecified" />
<E n="who">Actor</E>
</U>
</V>
</L>
</I>
and I'd want to add my own to it, so something like this:
<U>
<T n="buff">MYNUMBER<!--buff_VolunteerEvents_sinfulsimming_zoo--></T>
<T n="buff_description">MYSTRING<!--Try your hand at volunteering at a zoo. Don't get bitten!--></T>
<T n="buff_icon" p="InGame\UI\Icons\Headlines\Final\headline_chefhat.png">2f7d0004:00000000:41b5c8b9a16c95bb</T>
<T n="buff_name">MYSTRING<!--Volunteer at the Zoo--></T>
</U>
I found some posts but they were kinda old and I'm not sure if there are better ways of doing it now <3