One of the weapons I have in my mod makes it so that you are unable to unequip it, you must always hold it. On top of this, you will be unable to sleep, your rest will be interrupted. The only way to remove this is to do a quest, upon which the sword turns back to normal, but I've already got that figured.
Anyways, the theory I've had is that it detects if you've got it equipped or not, then if you don't, it removes the copy of the sword you currently have, then adds a new one, and re-equips it. This way the player HAS to hold it even when it breaks.
Problem is I have no idea how this is done. Anyone willing to help?