Check Levelsystem existence

This commit is contained in:
Eddoursul 2024-03-01 22:33:58 +01:00
parent 5810ba6d44
commit 36e724e3c9

View File

@ -44,8 +44,8 @@ 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::DebugMessageBox("OUTDATED MOD: One of your mods modifies the _00E_QuestFunctions script, no longer used in Enderal SE 2.1+");
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+");
}
CheckWorldspaces();