After looking into how we could implement this, I came to the realization that KoLmafia currently has no properties for items which have "cannot be discarded" in their description or items which have "Quest Item" in their description.
In order to implement a discard command properly, I think there first needs to be a discardable property in the database.
I can't actually think of use case for a "questitem" property (most of them are untradeable and not discardable already). I am proposing it for both future-proofing purposes and for KoLmafia data to be analogous with KoL data. If I were implementing this, I'd rather do them both at the same time than one now and one later when a use case might come up.
I'd be happy to take a crack at this myself, but I'd like some feedback from the community/devs first.
In order to implement a discard command properly, I think there first needs to be a discardable property in the database.
I can't actually think of use case for a "questitem" property (most of them are untradeable and not discardable already). I am proposing it for both future-proofing purposes and for KoLmafia data to be analogous with KoL data. If I were implementing this, I'd rather do them both at the same time than one now and one later when a use case might come up.
I'd be happy to take a crack at this myself, but I'd like some feedback from the community/devs first.