enderalse/source/scripts/pf__15e_flusshaim_huntertizi_00147e84.psc

42 lines
1.1 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 3
Scriptname PF__15E_Flusshaim_HunterTizi_00147E84 Extends Package Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(Actor akActor)
;BEGIN CODE
;_00E_QuestFunctions.PrintDebugMessage("Smoking package started.")
;akActor.AddSpell(_00E_Smoking_abSmoking)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_1
Function Fragment_1(Actor akActor)
;BEGIN CODE
;_00E_QuestFunctions.PrintDebugMessage("Smoking package completed.")
akActor.RemoveSpell(_00E_Smoking_abSmoking)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_2
Function Fragment_2(Actor akActor)
;BEGIN CODE
;Debug.Messagebox("Stop smoking.")
if akActor.HasSpell(_00E_Smoking_abSmoking)
akActor.RemoveSpell(_00E_Smoking_abSmoking)
endif
if akActor.HasSpell(_00E_Smoking_abSmokingSitting)
akActor.RemoveSpell(_00E_Smoking_abSmokingSitting)
endif
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Spell Property _00E_Smoking_abSmoking Auto
Spell Property _00E_Smoking_abSmokingSitting Auto