Ludeon Forums

RimWorld => Mods => Help => Topic started by: dekeceh on July 21, 2021, 08:31:46 PM

Title: [1.3]AccumulateStoryEvent - what replaced it?
Post by: dekeceh on July 21, 2021, 08:31:46 PM
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?
Title: Re: [1.3]AccumulateStoryEvent - what replaced it?
Post by: RawCode on July 21, 2021, 09:29:43 PM
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