I recently submitted an edit to this page in which I said that Rimworld "Peace Talk" quests will expire after 12-28 days. I based this on my reading of the Rimworld XML defs and decompiled source code. I just want to check in here and see if anyone more knowledgeable of Rimworld's internals knows something I don't. I 'grok-ed' the source code and defs but I'm not a modder. So if anyone here knows more about this than me then please correct me.
I based my "12-28 days" number on the following sources:
This file has a reference (on line 88) to the IncidentWorker_QuestPeaceTalks class. I found this class in the decompiled source here:
Under the TryExecuteWorker method, on line 33, the number of days before expiration of the quest is set to "SiteTuning.QuestSiteTimeoutDaysRange.RandomInRange".
If we go to the SiteTuning class (https://github.com/josh-m/RW-Decompile/blob/master/RimWorld.Planet/SiteTuning.cs) and look at line 8, QuestSiteTimeoutDaysRange is set to a random integer between 12 and 28. So that is where I got this date range.
I'm like 99% sure that my reading of the source code/xml is correct, but if not I just wanted to add a space on the talk page to clear up any misunderstandings I have.