Trying to update a mod, and previously it was calling; (Pawn)patient.records.AccumulateStoryEvent(StoryEventDefOf.TendedByPlayer);
Looks like that function is no longer valid, and StoryEventDefOf no longer exists. So, what's the new function?
StoryEventDefOf is not "function" it's kind of enum.
you open game's dll for 120 with dnspy and type AccumulateStoryEvent in search
mark or remember few places where this method is used
then you open game's dll for 130 and navigate to that places and check, what methods called now