Creating A Buyer Profile Snippet For Sim Snatcher
Preface
The following tutorial will go through the process of creating a Buyer Profile snippet for use with Sim Snatcher. We will start with a complete snippet first and break it down along the way.
Directory
References
Tutorial
Here we have a complete snippet and what we should end up with in the end.
Full Example
<?xml version="1.0" encoding="UTF-8"?> <I c="SSBuyerProfileCollection" i="snippet" m="simsnatcher.buyer_profiles.buyer_profile_tuning" n="SimSnatcher_Slavery_Auction_Example_Buyer_Profiles" s="9508034893247531249"> <T n="has_sim_snatcher_buyer_profiles">True</T> <L n="buyer_profiles"> <U> <T n="profile_display_name">0x333FAC75</T> <T n="profile_raw_display_name">Lazy Lazy Chef</T> <T n="profile_author">SimSnatcher</T> <U n="buyer_preference_detail"> <L n="skill_preferences"> <U> <E n="skill_type">ADULT_MAJOR_HOME_STYLE_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_GOURMET_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_BAKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> </L> <L n="desirable_trait_preferences"> <U> <E n="trait_type">SURVIVALIST</E> </U> </L> <L n="undesirable_trait_preferences"> <U> <E n="trait_type">CLUMSY</E> </U> </L> </U> <E n="available_for_sim_type">ADULT_HUMAN</E> </U> <U> <T n="profile_display_name">0xEFEB277C</T> <T n="profile_raw_display_name">Art Fanatic Fanatic</T> <T n="profile_author">SimSnatcher</T> <U n="buyer_preference_detail"> <L n="skill_preferences"> <U> <E n="skill_type">ADULT_MAJOR_PAINTING</E> <E n="minimum_level">MED</E> <E n="maximum_level">HIGH</E> </U> <U> <E n="skill_type">ADULT_MAJOR_WRITING</E> <E n="minimum_level">LOW</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_PHOTOGRAPHY</E> <E n="minimum_level">LOW</E> <E n="maximum_level">MED</E> </U> </L> <L n="undesirable_trait_preferences"> <U> <E n="trait_type">CLUMSY</E> </U> </L> </U> <E n="available_for_sim_type">ADULT_HUMAN</E> </U> </L> </I>
The above, is a simple snippet containing two Buyer Profiles. Lets break it down.
Buyer Profile
Starting with the Buyer Profile Properties.
<L n="buyer_profiles"> <U> <T n="profile_display_name">0x333FAC75</T> <T n="profile_raw_display_name">Lazy Lazy Chef</T> <T n="profile_author">SimSnatcher</T> <U n="buyer_preference_detail"> <L n="skill_preferences"> <U> <E n="skill_type">ADULT_MAJOR_HOME_STYLE_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_GOURMET_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_BAKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> </L> <L n="desirable_trait_preferences"> <U> <E n="trait_type">SURVIVALIST</E> </U> </L> <L n="undesirable_trait_preferences"> <U> <E n="trait_type">CLUMSY</E> </U> </L> </U> <E n="available_for_sim_type">ADULT_HUMAN</E> </U> <U> <T n="profile_raw_display_name">Art Fanatic Fanatic</T> ... </U> </L>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
profile_display_name | The FNV32 hexidecimal identifier of a string in your String Table. This will be displayed when showing the profile name. | An FNV32 Hexidecimal Identifier |
profile_raw_display_name | The Raw display name of the Buyer Profile, this is used for sorting the Buyer Profile appropriately within the UI. It is recommend you match this text with text in your string table! | A string/text of whatever you want it to be. |
profile_author | The name of the Author of the Buyer Profile. Most likely your name. | A string/text of the name of an Author, it can be whatever you want it to be. |
buyer_preference_detail | This contains the details and criteria the buyer is looking for in a Slave. | This is covered further below. |
available_for_sim_type | This is the type of Sim this Buyer Profile is available for. It specifies the Age, Species, and Occult Type that is allowed to be assigned this Buyer Profile. Please note that Non-Occult Sim Types will be available for Occult Sim Types. i.e. ADULT_HUMAN will be available for ADULT_HUMAN_VAMPIRE, but ADULT_HUMAN_VAMPIRE will not be available for ADULT_HUMAN. | For a full list of Sim Types check out Common Sim Types |
Buyer Preference Details
<U n="buyer_preference_detail"> <L n="skill_preferences"> <U> <E n="skill_type">ADULT_MAJOR_HOME_STYLE_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_GOURMET_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_BAKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> </L> <L n="desirable_trait_preferences"> <U> <E n="trait_type">SURVIVALIST</E> </U> </L> <L n="undesirable_trait_preferences"> <U> <E n="trait_type">CLUMSY</E> </U> </L> </U>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
skill_preferences | A collection of skills and skill levels the Buyer will prefer a Slave to meet. | See below for further info. |
desirable_trait_preferences | A collection of traits the Buyer finds to be desirable in a Slave. If a slave has any of these traits, the buyer is more likely to buy them and will pay more for them. | See below for further info. |
undesirable_trait_preferences | A collection of traits the Buyer finds to be undesirable in a Slave. If a slave has any of these traits, the buyer is less likely to buy them and will pay less for them. | See below for further info. |
Skill Preferences
<L n="skill_preferences"> <U> <E n="skill_type">ADULT_MAJOR_HOME_STYLE_COOKING</E> <E n="minimum_level">MED</E> <E n="maximum_level">MED</E> </U> <U> <E n="skill_type">ADULT_MAJOR_GOURMET_COOKING</E> ... </U> ... </L>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
skill_type | The name or identifier of the Skill the Buyer will look for. | Either the name of the skill or its identifier (For a full list of Skills check out Common Skills) |
minimum_level | The minimum level the Buyer will prefer for the Skill of a Slave to be at. If a Slave is at this level for the skill (and they are below or at the Maximum level), the Buyer will be at 100%. If a Slave is below this skill level, the Buyer will have a lower chance to buy them and will pay a lower price. | A number without decimal points. Default is 0. |
maximum_level | The maximum level the Buyer will prefer for the Skill of a Slave to be at. If a Slave is at this level for the skill (and above the Minimum level), the Buyer will be at 100%. If the slave is above this level, the Buyer will have a higher chance to buy them and will pay a higher price. | A number without decimal points. Default is the maximum level of the skill. |
Trait Preferences
<L n="desirable_trait_preferences"> <U> <E n="trait_type">SURVIVALIST</E> </U> </L> <L n="undesirable_trait_preferences"> <U> <E n="trait_type">CLUMSY</E> </U> </L>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
trait_type | The name or identifier of the Trait the Buyer wants (or if undesirable, what they don't want). | Either the name of the trait or its identifier (For a full list of Traits check out Common Traits) |