enderalse/source/scripts/pf__00e_capitalcity_merrolbu_00147ea9.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__00E_CapitalCity_MerrolBu_00147EA9 Extends Package Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(Actor akActor)
;BEGIN CODE
;_00E_Debug.PrintMessage("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_Debug.PrintMessage("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