1
Fork 0

Tweaked a few more misc keywords, removed ETR_ExcludeMiscForms

ae-1.6.629
Eddoursul 2 years ago
parent 9ddc6a8c3a
commit 0e2a31fbb1
  1. BIN
      Artifact Tracker.esp
  2. BIN
      SKSE/Plugins/ArtifactTrackerFunctions.dll
  3. 3
      Source/ArtifactTrackerDLL/src/MiscCheck.cpp

Binary file not shown.

@ -12,11 +12,10 @@ namespace MiscCheck
return;
}
RE::BGSListForm* excludeForms = dataHandler->LookupForm<RE::BGSListForm>(0x809, "Artifact Tracker.esp"); // ETR_ExcludeMiscForms
RE::BGSListForm* excludeKeywords = dataHandler->LookupForm<RE::BGSListForm>(0x808, "Artifact Tracker.esp"); // ETR_ExcludeMiscKeywords
for (const auto& form : dataHandler->GetFormArray<RE::TESObjectMISC>()) {
if (form->GetPlayable() && !excludeForms->HasForm(form) && !form->HasKeywordInList(excludeKeywords, false)) {
if (form->GetPlayable() && !form->IsGold() && !form->IsLockpick() && !form->HasKeywordInList(excludeKeywords, false)) {
validMisc[form->formID] = form;
}
}

Loading…
Cancel
Save