25 lines
875 B
Plaintext
25 lines
875 B
Plaintext
Scriptname _00E_Theriantrophist_SummonLabSC extends activemagiceffect
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
|
|
if PlayerREF.GetRace() == _00E_Theriantrophist_PlayerWerewolfRace
|
|
_00E_Theriantrophist_CantCraftMSG.Show()
|
|
else
|
|
(FS_NQ05 as _00E_FS_NQ05_Functions).AskCreatePotion()
|
|
(FS_NQ07 as _00E_FS_NQ07_Functions).AskCreatePotion()
|
|
Utility.Wait(0.7)
|
|
_00E_Theriantrophist_SummonPortableLaboratory_Target.SendModEvent("Enderal_StartCrafting")
|
|
Utility.wait(0.15)
|
|
_00E_Theriantrophist_SummonPortableLaboratory_Target.activate(PlayerREF, true)
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
ObjectReference Property _00E_Theriantrophist_SummonPortableLaboratory_Target Auto
|
|
Actor Property PlayerREF Auto
|
|
Message Property _00E_Theriantrophist_CantCraftMSG Auto
|
|
Race Property _00E_Theriantrophist_PlayerWerewolfRace Auto
|
|
|
|
Quest Property FS_NQ05 Auto
|
|
Quest Property FS_NQ07 Auto
|