Talk:Trait (The Sims 4): Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
Line 8: Line 8:
== Codenames for traits ==
== Codenames for traits ==


It might be good to have the code names for each trait. Or at least the ones which aren't obvious. Normally, the code names are just written without spaces e.g. if you want to add the Gym Rat trait you'd type in the console: traits.equip_trait gymrat
It might be good to have the code names for each trait. Or at least the ones which aren't obvious. Normally, the code names are easy to work out - you just have to remove any space in the middle e.g. if you want to add the Gym Rat trait you'd type in the console: traits.equip_trait gymrat


However, some of them do not follow this logical 'no space' rule. This can make using the console arduous. For example Angler's Tranquility = AnglersTranquility so if someone types in: traits.equip_trait Angler'sTranquility (NB apostrophe in the middle) it won't work and it may well be difficult to understand *why* it didn't work. (This is very typical in computer programming - programming can be a massive pain in the *** to do because 1 character out of place can break your programme and the computer won't say why it's broken.)
I wiped out all my Sims' traits by mistake *Very* easily by using the CAS editor and then had to add them back manually. Sadly, the game devs didn't think to apply the 'no space' rule consistently making the process difficult for myself and others.

I wiped out all my Sims' traits by mistake *Very* easily by using the CAS editor, which forced me to add them back manually but it was difficult because the trait code names aren't obvious. I think other people will have this problem - I saw one other person had posted in a forum about it:

http://simsvip.com/2014/09/07/the-sims-4-skill-cheats-relationship-cheats-and-more/comment-page-2/#comment-533573

Therefore, I'm going to search for all the difficult code names. Here are the non-obvious ones I've found so far.
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 500px;"
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 500px;"
|-
|-
Line 71: Line 77:
|}
|}


IMO, randomly inserting underscores into the middle of code names is a hateful thing that programmers sometimes do to trip novice programmers up. Angler's Tranquility = AnglersTranquility so if someone types in: traits.equip_trait Angler'sTranquility (NB apostrophe in the middle) it won't work and it may well be difficult to understand *why* it didn't work. (This is very typical in computer programming - programming can be a massive pain in the *** to do because 1 character out of place can break your programme and the computer won't say why it's broken.) [[Special:Contributions/80.229.165.251|80.229.165.251]] ([[User talk:80.229.165.251|talk]]) 19:29, November 9, 2014 (UTC)
IMO, randomly inserting underscores into the middle of code names is a hateful thing that programmers sometimes do to trip novice programmers up. Anyway, below is a fuller list. To make it I got a list of code names that some kind player had posted on the internet and applied each one to my sim (on my PC). I guess he or she compiled the list from looking in a game file because otherwise how would she know that for example "invested" was a code name when the game never mentions the word? This means that further exploration may be possible by examining the game files somehow.
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 500px;"
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 500px;"
|-
|-
Line 136: Line 142:
|cheerful
|cheerful
|Cheerful
|Cheerful
|Personality
|-
|childish
|Childish
|Personality
|Personality
|-
|-
Line 141: Line 151:
|Professorial
|Professorial
|Renaissance Sim Aspiration
|Renaissance Sim Aspiration
|-
|clumsy
|Clumsy
|Personality
|-
|-
|collector
|collector
Line 200: Line 214:
|fertile
|fertile
|Fertile
|Fertile
|Rewards Store
|
|-
|-
|foodie
|foodie
|Foodie
|Foodie
|Personality
|
|-
|-
|freeServices
|freeServices
|Free Services
|Free Services
|Rewards Store
|
|-
|-
|freshChef
|freshChef
|Fresh Chef
|Fresh Chef
|Master Chef Aspiration
|
|-
|-
|frugal
|frugal
|Frugal
|Frugal
|Rewards Store
|
|-
|-
|geek
|geek
|Geek
|Geek
|Personality
|
|-
|-
|genius
|genius
|Genius
|Genius
|Personality
|
|-
|-
|gloomy
|gloomy
|Gloomy
|Gloomy
|Personality
|
|-
|-
|glutton
|glutton
|Glutton
|Glutton
|Personality
|
|-
|-
|good
|good
|Good
|Good
|Personality
|
|-
|-
|goofball
|goofball
|Goofball
|Goofball
|Personality
|
|-
|-
|greatKisser
|greatKisser
|Great Kisser
|Great Kisser
|Rewards Store
|
|-
|-
|gregarious
|gregarious
|Gregarious
|Gregarious
|Choosing a Popularity Aspiration
|
|-
|-
|gymRat
|gymRat