diff --git a/README.md b/README.md index 3be95b9..33d4850 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ More information can be found at [Nexus Mods mod page](https://www.nexusmods.com ## Requirements * [SKSE](https://skse.silverlock.org) +* [powerofthree's Papyrus Extender](https://www.nexusmods.com/skyrimspecialedition/mods/22854) ## License diff --git a/src/AutoUseSpellTomes.esp b/src/AutoUseSpellTomes.esp index de3de18..22d9d57 100644 Binary files a/src/AutoUseSpellTomes.esp and b/src/AutoUseSpellTomes.esp differ diff --git a/src/Scripts/MiAutoUseSpellTomeScript.pex b/src/Scripts/MiAutoUseSpellTomeScript.pex index e0e694e..3c578fd 100644 Binary files a/src/Scripts/MiAutoUseSpellTomeScript.pex and b/src/Scripts/MiAutoUseSpellTomeScript.pex differ diff --git a/src/Scripts/Source/MiAutoUseSpellTomeScript.psc b/src/Scripts/Source/MiAutoUseSpellTomeScript.psc index be8628b..580ef74 100644 --- a/src/Scripts/Source/MiAutoUseSpellTomeScript.psc +++ b/src/Scripts/Source/MiAutoUseSpellTomeScript.psc @@ -1,5 +1,7 @@ ScriptName MiAutoUseSpellTomeScript Extends ReferenceAlias +Import PO3_SKSEFunctions + Event OnInit() RegisterForSingleUpdate(1) EndEvent @@ -25,6 +27,7 @@ State Ready actorRef.RemoveItem(akBaseItem, 1, true) UISpellLearnedSound.Play(actorRef) Debug.Notification("New Spell Learned: " + bookSpell.GetName()) + PO3_SKSEFunctions.SetReadFlag(bookRef) EndIf EndEvent EndState