Skip to main content

Execute_Pregnancy

Description

Executes pregnancy-related functionality based on the instruction type in S1. Prepare: stores the father's genetics; the female between Self/Target receives them automatically. Start: begins pregnancy using last prepared genetics; the first state is PregnancyTest. Proceed: advances to the next pregnancy state; at ImminentBirth, triggers DA_Life FinishPregnancyLifeTriggerId. Cancel: cancels the pregnancy.

Parameters

ParameterDescription
BaseObjectPregnant character target (Self or Target); Prepare auto-selects the pregnant target
S1Instruction type: Prepare, Start, Proceed, or Cancel

Examples

DescriptionBaseObjectCommand
Prepare pregnancy (store father's genetics)SelfPregnancy
Start pregnancy after the attemptSelfPregnancy
Advance to the next pregnancy stateSelfPregnancy
Cancel the pregnancySelfPregnancy