Skip to main content

Condition_PrisonState

Description

Asks the BaseObject character's prison state.

The state is stored on the character and is what imprisonment is judged by. A prison buff tag is display that the state keeps refreshed, so it can be missing while the Zoi is still inside - it does not answer this question.

S1 picks the question. The state predicates cover what data actually asks; the exact state names are there for the rare branch that needs one step of the pipeline. FB1PrisonAdmission::TryEvaluateStatePredicate holds the predicate names. None is not one of them - an FName cannot tell it from a field left empty, so data validation rejects both. Ask InCustody with NotEqual for a Zoi who is not in prison at all.

Parameters

ParameterDescription
BaseObjectThe character to ask about (Self or Target)
S1InCustody / PretrialDetention / Sentenced / CustodyOngoing, or an EB1PrisonState name except None
CompareTypeEqual (the answer is yes) / NotEqual (no)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Self is a convict (prisoner clothing, notice)SelfPrisonStateEqualSentenced
Self is held anywhere in prisonSelfPrisonStateEqualInCustody
Self has been taken in but not yet triedSelfPrisonStateEqualPretrialDetention
Self is not serving time right nowSelfPrisonStateNotEqualCustodyOngoing
Self is waiting for a trial todaySelfPrisonStateEqualAwaitingTrial