Page 1 of 1

[Condition] hadSex

Posted: Sun Nov 07, 2021 9:14 am
by Raddeck
Actor.hadSex()


USE:
Check if this actor has had sex with the player at any point in this playthrough


TYPE: Condition, Reference
RETURNS: bool
THEME: Sex
COMPARE: sex()


EXAMPLE:
In lpscene:

Code: Select all

If Actor.hadSex() || Random(40, 70) < Actor:perversion
    Raise = true
    Actor:: "Okay ... I could really do with the extra cash."
    Sex(Player, Actor)
    If HungerEnable > 0
        Player.modifyActorVar(rk_VB_Hunger, -1)
    EndIf
Else
    Raise = false
    Actor:: "Sorry, but I can't do that ..."
Endif

In lpaction:

Code: Select all

WHO: Actor = getTarget(); If !Actor.isCreature() && [Actor.hadSex() || Actor.isDating()]