Skip to main content

B1PrisonAdmission

One stay in prison. Stored on the crime component and serialized, so it survives a save, a load and a jump in time.
The term is kept as an absolute end tick rather than an amount of time left, because an amount of time left has to
be rewritten every time the clock moves and is wrong for as long as it has not been.

PropertyTypeDescriptionMetadata
StateEB1PrisonStateHow far this stay has progressed. None means there is no stay.
AdmissionIdFB1PrisonAdmissionIdIdentifies this stay. Invalid while State is None.
StateEnterTicksint64Game tick the current State was entered at.
DetainedTicksint64Game tick the Zoi was picked up at.
SentenceConfirmedTicksint64Game tick the trial handed the term down at. Zero until a term is handed down.
SentenceEndTicksint64* Game tick the term runs out at. Zero means no end has been set yet, which counts as not run out, the same way
* an endless buff never expires. It stays zero for pre-sentence states such as Detained or AwaitingTrial.