4
Fork 0

Send SKSE events on spectralization

master
Eddoursul 2 years ago
parent fb436ea1e5
commit 28ff084978
  1. BIN
      scripts/_00e_phasmalist_workbench.pex
  2. 4
      source/scripts/_00e_phasmalist_workbench.psc

@ -205,6 +205,7 @@ Bool Function _ShowMainMenu()
Else ; Quit Else ; Quit
ReleaseApparition() ReleaseApparition()
self.SendModEvent("Enderal_FinishSpectralizing")
GoToState("") GoToState("")
EndIf EndIf
@ -245,6 +246,7 @@ Bool Function ShowEquipApparitionMenu()
Int iChoice = UIExtensions.OpenMenu("UIWheelMenu") Int iChoice = UIExtensions.OpenMenu("UIWheelMenu")
If iChoice == 0 If iChoice == 0
self.SendModEvent("Enderal_StartSpectralizing")
GoToState("Spectralize") GoToState("Spectralize")
Return False Return False
ElseIf iChoice == 1 ElseIf iChoice == 1
@ -280,7 +282,7 @@ State Spectralize
phasmalistControlQuest.OnPlayerItemSpectralized() phasmalistControlQuest.OnPlayerItemSpectralized()
EndIf EndIf
phasmalistControlQuest.spectralizeContainer.clear() phasmalistControlQuest.spectralizeContainer.clear()
self.SendModEvent("Enderal_FinishSpectralizing")
GoToState("Waiting") GoToState("Waiting")
ShowMainMenu() ShowMainMenu()
EndEvent EndEvent

Loading…
Cancel
Save