|
|
|
@ -31,7 +31,9 @@ namespace { |
|
|
|
|
if (message->type == MessagingInterface::kPostLoad) { |
|
|
|
|
SKSE::GetModCallbackEventSource()->AddEventSink(EventListener::GetSingleton()); // runs, if KID is installed
|
|
|
|
|
} else if (message->type == MessagingInterface::kDataLoaded) { |
|
|
|
|
if (const auto pluginInfo = ArtifactTracker::g_loadInterface->GetPluginInfo("po3_KeywordItemDistributor"); !pluginInfo) { |
|
|
|
|
const auto kidSE = ArtifactTracker::g_loadInterface->GetPluginInfo("po3_KeywordItemDistributor"); |
|
|
|
|
const auto kidAE = ArtifactTracker::g_loadInterface->GetPluginInfo("Keyword Item Distributor"); // KID 2.0 for AE has a different internal name
|
|
|
|
|
if (!kidSE && !kidAE) { |
|
|
|
|
ArtifactTracker::Init(); // if KID is not installed
|
|
|
|
|
} |
|
|
|
|
} else if (message->type == MessagingInterface::kPreLoadGame) { |
|
|
|
|