Skip to main content

B1PendingImprisonment

An imprisonment that has been decided but cannot be carried out yet, kept until it becomes possible.
A Zoi caught while traveling is one case: the jail transfer interaction is blocked in the travel city,
so the imprisonment waits here until the Zoi is back in the home city.
PlayReason and ApplyScriptId drive execution. CrimeCityName and DeferredTicks are recorded for tracking and
must not be used to decide whether the imprisonment can run - that decision belongs to B2CrimeHelper.

PropertyTypeDescriptionMetadata
PlayReasonEB1InteractionPlayReasonPlay reason to use when the deferred imprisonment is finally queued. Invalid means nothing is pending.
ApplyScriptIdFNameScript run when the deferred imprisonment is finally queued - the sentence buff, prisoner outfit and such.
None means there is nothing to apply, which is also what a save written before this field existed loads as;
in that case the script already ran at the moment of the crime, so skipping it is correct.
CrimeCityNameFNameCity the crime happened in. Recorded for tracking; execution always uses the currently loaded city.
DeferredTicksint64Game ticks at which the imprisonment was deferred. Recorded for tracking.