This is a continuation from my post here. Maybe this is the more appropriate thread.
It always bugged me that, when you want to remove devices in your script, you need to know the keyword and the rendered device besides the inventory device. This makes it difficult to work with devices from other mods as it requires you to have a list of known devices and it does not work with unknown devices.
So I came up with a method that allows to remove arbitray devices the player is wearing without further information, I'd like to share (and get some feedback if there are any disadvantages/drawbacks/whatever):
The question is, should this be integrated (and expanded to e.g. also check for the correct key) into Devious Device - Integration together with some keywords, so that other quests can mark quest related devices and devices that are deemed to be unremovable for some reason.
I think this could greatly enhance interoperability and compatibility for mods using devious devices.
What do you think?