I tweaked the magic electrifier in a few ways, some for the benefit of players, and some for the benefit of builders.
1) The "item destroyed" feedback message is now color-coded so players have a rough idea as to how many charges the electrifier can supply.
2) Feedback messages were added in a few cases that did not have them.
3) Feedback messages are private (no longer broadcast to nearby party members).
4) Electrifier energy is saved over server resets (if using server vault characters). More specifically, the energy goes with the electrifier item, rather than with the PC using the electrifier.
5) Items can be made harder or easier to charge than normal.
6) Electrifiers can be made more or less efficient at transforming items into charges.
7) Items can be limited to fewer than 50 charges.
8) Some items that really should not be valid targets have been blocked from destruction.
The basic use of the electrifier remains the same though. Destroy as many items as you wish. Their base values (in gold pieces) are added up then divided by X to get the number of charges that can be produced. By default, X is 1000. If the electrifier can produce more charges than the target item can accept, the excess is lost (unless the item was already fully charged).
The import version is for module builders, while the override can be used in single-player or by multiplayer hosts. In addition to the script, I've included a replacement Golden Chalice (x0_it_mthnmisc14) that is limited to 3 charges and a replacement Ring of Nine Lives (x0_it_mring012) that is limited to 9 charges and that costs 6 times normal per charge. These two item blueprints are optional, but I thought I would provide an example of something using the local variables.
The import includes the script colors_inc. If you are importing into a module that uses cep2_add_sb_v1.hak, you might as well skip (don't overwrite) that script when you are asked about it. It's the same script as in that hak pak.
Note on the required expansions: the import is flagged as requiring HotU & SoU 1.69, but the script really should work without HotU and on earlier versions of the game. Let me know if someone wants the import's flags changed.
Enjoy!
Override file list x0_it_mring012.uti -- replacement Ring of Nine Lives
x0_it_mthnmisc14.uti -- replacement Golden Chalice
x0_s3_charger.ncs -- replacement electrifier script