Currently, you can't specify what components you want to utilise with the key item. You can only use the base item.
The suggestion is:
Make an additional field for components that need to be checked.
Why is that useful?
- Right now, peope might get into a situation, when 2 different places will use the same item as a key. This can possibly solve it by utilizing some
custom_data or other components to differentiate.
- Some mods utilize components for storing data (Ex. Patbox's Brewery), as some items might have the same id, but different data (Ex. What if you wanted for a key to be purple leather tunic and not just any?)