enderalse/scripts/source/_00e_fs_theriantrophistharvesttracksc.psc

25 lines
756 B
Plaintext

Scriptname _00E_FS_TheriantrophistHarvestTrackSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
; DISABLED UNTIL FURTHER NOTICE. SIMON'S PERK CHANGE TAKES CARE OF THAT.
; if PlayerREF.HasPerk(_00E_Class_Theriantrophist_P04a_CarefulHarvest)
; if !(akOldContainer.GetBaseObject() as Actor || akOldContainer.GetBaseObject() as Container)
; if !PlayerREF.HasSpell(_00E_FS_Theriantrophist_HarvestBlockSP)
; _00E_FS_Theriantrophist_HarvestBlockSP.Cast(PlayerREF, PlayerREF)
; endif
; endif
; endif
EndEvent
Perk Property _00E_Class_Theriantrophist_P04a_CarefulHarvest Auto
Actor Property PlayerREF Auto
Spell Property _00E_FS_Theriantrophist_HarvestBlockSP Auto