protected override bool PrivateUpdate(ScenarioFrame frame) { if (mHousehold != null) { SimDescription head = SimTypes.HeadOfFamily(mHousehold); if (head != null) { Add(frame, new GotPaidScenario(Sim, head, mRepaired), ScenarioResult.Start); return(false); } } int basePay = GotPaidScenario.GetBasePay(Sim.OccupationAsSkillBasedCareer); int funds = RandomUtil.GetInt(basePay / 2, basePay); Money.AdjustFunds(Sim, "Repaired", funds); GotPaidScenario.UpdateExperience(Sim, funds); return(true); }