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

Jump to navigation Jump to search
Line 10:
It might be good to have the codenames for each trait. Or at least the non-obvious ones. The general rule is that the codenames are written in what's known as CamelCode e.g. if you want to add the Gym Rat trait you'd type: GymRat e.g. traits.equip_trait GymRat
 
But this rule wasn't applied consistently and uniformly. For example some of the traits randomly have underscores in the middle (which is a hateful thing that programmers sometimes do to trip novice programmers up) Business_Savvy High_metabolism Quick_Learner web_Master
 
Moreover if you type in: traits.equip_trait Poetic it won't do anything because the codename is actually POET. Long Lived is actually LONGEVITY. 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 my traits by mistake (and very easily) simply by modifying traits quickly using the CAS editor and then had to add them back manually. It was hard to get Poetic back. [[Special:Contributions/80.229.165.251|80.229.165.251]] ([[User talk:80.229.165.251|talk]]) 19:29, November 9, 2014 (UTC)
 
I still can't get: Shrewd, Professorial, Handy, or Naturalist back. I'll try to work them out.
 
[[Special:Contributions/80.229.165.251|80.229.165.251]] ([[User talk:80.229.165.251|talk]]) 19:29, November 9, 2014 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu