Forum Discussion
I had a look at this, and I think I've worked out what's wrong with it;
There are two separate Lifeguard careers - one that Young Adults, Adults and Elders can join (career_Adult_PartTime_Lifeguard), and one that is specific to Teens (career_Teen_Lifeguard). Both of these careers have a separate interaction tuning for taking PTO; the one that is of interest here is the phone_TakePTO_PartTime_Lifeguard_Teen tuning, as the one for Adults works correctly. Specifically, it is what is in the loot_list of the outcome (see spoiler below)
<L n="loot_list"> <T>214848<!--Loot_Career_PTO_PartTime_Lifeguard--></T> # this is the problem <T>111106<!--loot_Career_PTO_Reset--></T> <T>245770<!--Loot_Lifestyles_Progress_Lock_Workaholic--></T> </L>
The 214848<!--Loot_Career_PTO_PartTime_Lifeguard--> referenced here is the problem, because this is what is used for Adults to take PTO, and as such only has the reference for its respective career - see spoiler below
<L n="loot_actions"> <V t="career_loot"> <U n="career_loot"> <V n="career" t="career_reference"> <U n="career_reference"> <T n="reference">205662<!--career_Adult_PartTime_Lifeguard--></T> </U> </V> <L n="operations"> <V t="take_day_off"> <U n="take_day_off"> <E n="reason">PTO</E> </U> </V> <V t="pto"> <U n="pto"> <T n="amount">-1</T> </U> </V> </L> </U> </V> </L>
The teen will not have the career specified in the loot, so it tries to apply PTO to a career the Sim does not have (hence the 'NoneType' object has no attribute 'request_day_off' part of the the error - the NoneType in this instance being a currently non-existant career with respect to the Sim).
The solution for this should be fairly simple, by adding a new loot with the same format as above, but referencing the Teen specific Lifeguard career instead, and then referencing that loot in the Interaction tuning mentioned above instead of the existing one.
About The Sims 4 Bug Reports - Archive
Community Highlights
Recent Discussions
- 19 hours ago
- 19 hours ago
- 20 hours ago