2021-10-05 22:15:58 +00:00
|
|
|
;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
|
2024-01-09 22:00:18 +00:00
|
|
|
;_00E_Debug.PrintMessage("Smoking package started.")
|
2021-10-05 22:15:58 +00:00
|
|
|
;akActor.AddSpell(_00E_Smoking_abSmoking)
|
|
|
|
;END CODE
|
|
|
|
EndFunction
|
|
|
|
;END FRAGMENT
|
|
|
|
|
|
|
|
;BEGIN FRAGMENT Fragment_1
|
|
|
|
Function Fragment_1(Actor akActor)
|
|
|
|
;BEGIN CODE
|
2024-01-09 22:00:18 +00:00
|
|
|
;_00E_Debug.PrintMessage("Smoking package completed.")
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|