What exactly are you trying to do? I'll put it on my to-do list to make a function for you 😀
Cool! Thanks Galv! It'll refine the cursed shard feature too!
🙂
I tried to make the Magic Chisel for kicks and giggles and I tried using a common event for it but the ID of the cursed slot is not fixed because the players can insert the cursed shards in many slots.
This means that you can't reliably use a fixed plugin command using the Actor ID and Slot ID to release specific slots because you don't know which slots the players have locked up. So the only reliable method to use is the all-unlock command.
We basically should allow the players to select which actor and slot to unlock if we want to allow one slot to be cleansed at a time. So I suggest a plugin command that opens up the orb screen and allows you to select which slots to unlock; like the Magic Chisel item I had in mind.
The screen will allow as many unlocks as the quantity of the item which called the screen (and you may want to take into account the success rate of the item too). If the quantity hits zero then an error SE (new plugin parameter?) will play if you try to unlock something, cursed or not. You can have a similar code for NPCs but I can't write about that in this post as it's already too long! xD
That was long-winded but I tried to be as clear as possible!
🙂