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
| Parameter | Description |
|---|---|
| BaseObject | The character to ask about (Self or Target) |
| S1 | InCustody / PretrialDetention / Sentenced / CustodyOngoing, or an EB1PrisonState name except None |
| CompareType | Equal (the answer is yes) / NotEqual (no) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Self is a convict (prisoner clothing, notice) | Self | PrisonState | Equal | Sentenced |
| Self is held anywhere in prison | Self | PrisonState | Equal | InCustody |
| Self has been taken in but not yet tried | Self | PrisonState | Equal | PretrialDetention |
| Self is not serving time right now | Self | PrisonState | NotEqual | CustodyOngoing |
| Self is waiting for a trial today | Self | PrisonState | Equal | AwaitingTrial |