Removed the More Affinities check, it is now redundant
This commit is contained in:
parent
7b24aa0767
commit
9bdf9a2640
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
@ -10,27 +10,6 @@ inline bool DataFileExists(std::string filename, int maxSize = 1000000)
|
|||||||
return std::filesystem::exists(path) && std::filesystem::file_size(path) > maxSize;
|
return std::filesystem::exists(path) && std::filesystem::file_size(path) > maxSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void CheckBlacklist()
|
|
||||||
{
|
|
||||||
const auto dataHandler = RE::TESDataHandler::GetSingleton();
|
|
||||||
|
|
||||||
if (!dataHandler) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string filenames[1] = {
|
|
||||||
"Enderal_FS_More_Affinities.esp",
|
|
||||||
};
|
|
||||||
|
|
||||||
for (short i = 0; i < 1; i++) {
|
|
||||||
if (dataHandler->LookupLoadedModByName(filenames[i])) {
|
|
||||||
aModNames.insert(filenames[i]);
|
|
||||||
RE::DebugMessageBox(std::format("{} is incompatible with Enderal SE.\nCheck console for the list of flagged mods.", filenames[i]).c_str());
|
|
||||||
RE::ConsoleLog::GetSingleton()->Print(std::format("{} is incompatible", filenames[i]).c_str());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void NotifyInvalidForm(const RE::TESForm* form)
|
inline void NotifyInvalidForm(const RE::TESForm* form)
|
||||||
{
|
{
|
||||||
if (!form) {
|
if (!form) {
|
||||||
|
@ -54,7 +54,6 @@ inline void CheckIncompatibleMods()
|
|||||||
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors");
|
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors");
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBlacklist();
|
|
||||||
CheckWorldspaces();
|
CheckWorldspaces();
|
||||||
CheckUnconvertedMap();
|
CheckUnconvertedMap();
|
||||||
CheckSkyrimCells();
|
CheckSkyrimCells();
|
||||||
@ -67,8 +66,6 @@ inline void CheckIncompatibleMods()
|
|||||||
|
|
||||||
inline bool PapyrusGlobalFunctionExists(const char* scriptName, const char* funcName)
|
inline bool PapyrusGlobalFunctionExists(const char* scriptName, const char* funcName)
|
||||||
{
|
{
|
||||||
logger::info("Real - GetGlobalFunctionNames of {}", scriptName);
|
|
||||||
std::vector<std::string> functionNames;
|
|
||||||
RE::BSTSmartPointer<RE::BSScript::ObjectTypeInfo> typeInfoPtr;
|
RE::BSTSmartPointer<RE::BSScript::ObjectTypeInfo> typeInfoPtr;
|
||||||
RE::BSScript::Internal::VirtualMachine::GetSingleton()->GetScriptObjectType(RE::BSFixedString(scriptName), typeInfoPtr);
|
RE::BSScript::Internal::VirtualMachine::GetSingleton()->GetScriptObjectType(RE::BSFixedString(scriptName), typeInfoPtr);
|
||||||
auto functionCount = typeInfoPtr->GetNumGlobalFuncs();
|
auto functionCount = typeInfoPtr->GetNumGlobalFuncs();
|
||||||
|
@ -45,11 +45,6 @@ Event OnInit()
|
|||||||
kQuest.Start()
|
kQuest.Start()
|
||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
If Game.GetModByName("Enderal_FS_More_Affinities.esp") != 255
|
|
||||||
Game.QuitToMainMenu()
|
|
||||||
Debug.MessageBox("Enderal_FS_More_Affinities.esp is outdated and does not work with Enderal SE. Please, uninstall or update the mod.")
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Event OnPlayerLoadGame()
|
Event OnPlayerLoadGame()
|
||||||
|
Loading…
Reference in New Issue
Block a user