Scriptname PchsCutieSlavesReleasing Extends TopicInfo Hidden
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 2

;BEGIN FRAGMENT Fragment_1
Function Fragment_1(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
SexLab.ActorLib.StripActor(akSpeaker, DoAnimate= true)
akSpeaker.removeallitems()
akSpeaker.removeFromFaction(SlavesFaction)
akSpeaker.removeFromFaction(BanditFriendFaction)
akSpeaker.addToFaction(SlavesReleasedFaction)

;Debug.notification(ActorUtil.CountPackageOverride(akSpeaker) + " old packages")


ActorUtil.ClearPackageOverride(akSpeaker)
;Debug.notification("Packages removed")
akSpeaker.playIdle(slaveidle)

ActorUtil.AddPackageOverride(akSpeaker, gohome,100)
akSpeaker.evaluatePackage()
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

Faction Property SlavesFaction Auto  
Faction Property SlavesReleasedFaction Auto
Faction Property BanditFriendFaction Auto
SexLabFramework Property SexLab  Auto  

Package Property gohome Auto
Idle Property SlaveIdle Auto

ReferenceAlias Property QuestSlaveAlias Auto