Moved the _00E_Game_SkillmenuSC check to DLL

This commit is contained in:
Eddoursul 2024-03-02 11:45:21 +01:00
parent 0b425653f9
commit eaf0ed5be4
4 changed files with 3 additions and 12 deletions

Binary file not shown.

View File

@ -4552,7 +4552,6 @@ scripts\_00e_gypsyluteplayeraliasscript.pex
scripts\_00e_greetingtriggerscript.pex
scripts\_00e_genericdialogue_functions.pex
scripts\_00e_game_synchanimationsc.pex
scripts\_00e_game_skillmenusc.pex
scripts\_00e_game_movenpctoeditorsc.pex
scripts\_00e_game_calculateclasssc.pex
scripts\_00e_gambling_chairsc.pex

View File

@ -44,8 +44,9 @@ inline void CheckIncompatibleMods()
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors");
}
if (RE::BSResourceNiBinaryStream("scripts/_00e_questfunctions.pex").good() || RE::TESDataHandler::GetSingleton()->LookupForm<RE::TESQuest>(0x10AA2, "Skyrim.esm")) {
RE::DebugMessageBox("OUTDATED MOD: One of your mods modifies the Levelsystem quest or its script _00E_QuestFunctions, no longer used in Enderal SE 2.1+");
if (RE::BSResourceNiBinaryStream("scripts/_00e_questfunctions.pex").good() || RE::BSResourceNiBinaryStream("scripts/_00e_game_skillmenusc.pex").good() || RE::TESDataHandler::GetSingleton()->LookupForm<RE::TESQuest>(0x10AA2, "Skyrim.esm"))
{
RE::DebugMessageBox("OUTDATED MOD: One of your mods modifies the Levelsystem quest or its scripts (_00E_QuestFunctions or _00E_Game_SkillmenuSC), no longer used in Enderal SE 2.1+");
}
CheckWorldspaces();

View File

@ -1,9 +0,0 @@
Scriptname _00E_Game_SkillmenuSC extends ReferenceAlias
Event OnInit()
Debug.MessageBox("OUTDATED MOD: One of your mods modifies the Levelsystem quest, no longer functional in the current version of Enderal SE.")
EndEvent
Event OnPlayerLoadGame()
Debug.MessageBox("OUTDATED MOD: One of your mods modifies the Levelsystem quest, no longer functional in the current version of Enderal SE.")
EndEvent