Turning items into scrap.

I am looking for a way ( either with events or script) that will allow the player to take an unwanted item, like a weak/unwanted weapon or something like that, and turn it into scrap. The scrap will then be used as a resource for skills by using yanfly's skill cost manager script http://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-cost-manager/

It would be nice if you could set how much scrap a certain item would be turned into but not required.

Grateful for all help.
Edit:  Misread your post.
I am looking for a way ( either with events or script) that will allow the player to take an unwanted item, like a weak/unwanted weapon or something like that, and turn it into scrap. The scrap will then be used as a resource for skills by using yanfly's skill cost manager script http://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-cost-manager/

It would be nice if you could set how much scrap a certain item would be turned into but not required.

Grateful for all help.
I'm not sure about the script you are using so this may not be compatible solution, but I would think you could make an event that decreases the unwanted item and then increases the scrap.

Something like this:

Condition: "Unwanted Item" In Inventory

Show Text: Turn into scrap?

Show Choices: Yes

                         No

If Yes

Change Items: Decrease "Unwanted Item"

Change Items: Increase Scrap 

If No

End Event
I'm not sure about the script you are using so this may not be compatible solution, but I would think you could make an event that decreases the unwanted item and then increases the scrap.

Something like this:

Condition: "Unwanted Item" In Inventory

Show Text: Turn into scrap?

Show Choices: Yes

                         No

If Yes

Change Items: Decrease "Unwanted Item"

Change Items: Increase Scrap 

If No

End Event
Well, that would work i guess but it would mean i would have to make an event for every item which would be pretty annoying.
I would use a modified version of this script that turns whatever item you select into scrap using a skill.
Mr bubble has script that work like that. You can turn item to parts. His script even have chance to aquire rare parts feature.

Go to his blog. And search the script.
Well, that would work i guess but it would mean i would have to make an event for every item which would be pretty annoying.
You wouldn't have to make an individual event for every item, just a conditional branch.  But depending on how many items are in your game it could add up to quite a bit of work - so if writing long events annoy you probably best to go with one of the scripts they mentioned. 

Original thread: https://forums.rpgmakerweb.com/threads/turning-items-into-scrap.16436/