Condition_IsPregnancyState
Description
Checks the current pregnancy state of the character using DA_Life PregnancyStates. Includes the state before awareness from a pregnancy test (PregnancyTest). If S1 is empty, only Equal/NotEqual are valid (checks whether pregnant at all).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character whose pregnancy state is checked (Self or Target) |
| CompareType | Equal, NotEqual, Greater, GreaterOrEqual, Less, LessOrEqual, InRange, OutRange |
| S1 | Pregnancy state ID from DA_Life PregnancyStates; if empty, checks whether pregnant at all |
| S2 | End state for range comparisons (InRange, OutRange only) |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is not pregnant | Self | IsPregnancyState | NotEqual |
| Check if Self is in early pregnancy | Self | IsPregnancyState | Equal |
| Check if Self is in mid pregnancy or later | Self | IsPregnancyState | GreaterOrEqual |
| Check if Self is between early and mid pregnancy stages | Self | IsPregnancyState | InRange |
Back to Command FinderSearch and filter all 491 Script Condition documents