A simple mod that allows NPCs to use filled soul gems in their inventory to recharge their enchanted weapons. In built efficiency system to keep charge wastage to a minimum.
NPCs with the soul squeezer perk are even more efficient at recharges. SKSE implementation.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.2
Maxsu's BDI mod is now recommended.
A new variable is used to check whether an NPC is currently recharging their weapon.
This is to prevent parrell functions that can lead to gem wastage.
Version 1.1
Great polish to code and increased precision of recharges.
Fixing cases where recharge didn't work or gems were being consumed inappropriately.
The NPCSoulGemrecharge log (found in this path on your PC "Documents\My Games\Skyrim Special Edition\SKSE") now shows info on the recharge process.
If a filled soul gem (a suitable one according to efficiency) is found in the NPC's inventory, and their EQUIPPED enchanted weapon isn't fully charged, it logs the following
The weapon name; the NPC it belongs to; it's current charge; amount recharged; and soul gem used.
If there are any problems, please let me know. It's been working well according to my testing.
Version 1.0
Initial Release
Donations
No donations accepted
Breakdown:
A simple mod that allows NPCs to use filled soul gems in their inventory to recharge their enchanted weapons. In-built efficiency system to keep charge wastage to a minimum.
So they'll use up smaller soul sizes (e.g., gems with petty or lesser souls) first. Grand souls, for instance, are unlikely to be used unless the weapon has a hugecharge-store (e.g., Dawnbreaker) and has a very low current charge.
NPCs with the soul squeezer perk are even more efficient at recharges.