enderalse/source/scripts/PRKF__00E_CraftQuestPotionPe_0300146D.psc

22 lines
607 B
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 14
Scriptname PRKF__00E_CraftQuestPotionPe_0300146D Extends Perk Hidden
;BEGIN FRAGMENT Fragment_7
Function Fragment_7(ObjectReference akTargetRef, Actor akActor)
;BEGIN CODE
if FS_NQ05.GetCurrentStageID() >= 40
akActor.RemovePerk(Self)
else
(FS_NQ05 as _00E_FS_NQ05_Functions).AskCreatePotion()
endif
Utility.wait(0.3)
akTargetRef.Activate(akActor, false)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Quest Property FS_NQ05 Auto