Forum Discussion
Hadron1776
9 years agoNot applicable
It's tied to the Vampire occult type. It's not necessarily hard-coded, but I'm not sure how to link a trait to an occult. Here's the relevant code (from SimInfoSummaryPanel.gfx; instance DA7597EAEB9BA388):
var _loc3_:uint = GameplayStateData.SimAge.age;
var _loc4_:Boolean = GameplayStateData.SimOccultType.Type == OccultTypes.OCCULT_VAMPIRE && SimAgeTypes.IsYoungAdultOrOlder(_loc3_);
if(SimAgeTypes.IsElder(_loc3_) || _loc4_)
{
_loc2_ = KeysGP.SUMMARY_PANEL_DAYS_LIVED.Clone();
}
else
{
_loc2_ = KeysGP.SUMMARY_PANEL_DAYS_LEFT.Clone();
}