Added SkyUI files, required for quest_journal to work, and removed SkyUI checks

This commit is contained in:
Eddoursul 2022-08-01 16:28:02 +02:00
parent 8e90f116ef
commit 3923bfcfe5
7 changed files with 11 additions and 17 deletions

BIN
interface/skyui/buttonart.swf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
interface/skyui/configpanel.swf (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +0,0 @@
Scriptname _00E_Func_CheckSkyUI Hidden
Function Run() global
; SkyUI is optional - override quest_journal.swf with the vanilla file, remove this check, and you are good to go
Quest bSkyUI = Game.GetFormFromFile(0x802, "SkyUI_SE.esp") as Quest
If bSkyUI == None
Utility.wait(2.0)
Game.QuitToMainMenu()
Debug.MessageBox("SkyUI_SE.esp is not loaded! The game will not run properly. Open Data Files and enable it.")
Return
EndIf
EndFunction

View File

@ -110,6 +110,11 @@ event OnWidgetReset()
endEvent
event OnGameReload()
If Game.GetModByName("SkyUI_SE.esp") == 255
return
endif
parent.OnGameReload()
if _currentlyDisplayedActors.length == 0

View File

@ -22,7 +22,6 @@ Event OnInit()
CheckForgottenStories()
_00E_Func_CheckSKSE.Run()
_00E_Func_CheckSkyUI.Run()
_00E_Func_CheckEnderalDLL.Run()
_00E_Func_CheckJContainers.Run()
@ -58,7 +57,6 @@ Event OnPlayerLoadGame()
CheckForgottenStories()
_00E_Func_CheckSKSE.Run()
_00E_Func_CheckSkyUI.Run()
_00E_Func_CheckEnderalDLL.Run()
_00E_Func_CheckJContainers.Run()