Scriptname __LALLLoliMasturbate extends ObjectReference
{Place on a triggerbox. When NPC enters area, will masturbate. For use with Feria only}


Actor Property ExpectedActor Auto
SexLabFramework Property mySexLab Auto
GlobalVariable Property DailyCooldownVar Auto


string Function GetTag()
int rand = Utility.RandomInt(0,3)
if rand == 0
return "F"
elseif rand == 1
return "Boobs"
elseif rand == 2
return "Vaginal"
elseif rand == 3
return "Hands"
endif
EndFunction


Event OnTriggerEnter(ObjectReference akActionRef)
float isAllowed = DailyCooldownVar.GetValue()
if akActionRef == ExpectedActor && isAllowed != 1
mySexLab.QuickStart(ExpectedActor,none,none,none,none,none,GetTag())
debug.notification("Loli Masturbating")
RegisterForSingleUpdateGameTime(12.0)
DailyCooldownVar.SetValue(1)
endif
EndEvent

Event OnUpdate()
DailyCooldownVar.SetValue(0)
EndEvent