Okay. I'll set the stats.
Leather armor. Torso. ( Full durability ) 4 returned. ( Half durability) 2 returned. ( Nearly empty. ) 1.
Leather armor. Pants. ( Full durability ) 3 returned. ( Half ) 2 (Near empty) 1.
Leather helm. ( Full ) 2. ( Half ) 1. ( Near empty ) 1.
Leather boots. ( Full ). 2. (Half) 1. ( Near empty ) 1.
This is a good idea.. why? Because of the fact that it would be recyling and save space instead of throwing out useless crap that won't work, the leather you get back from leather armors could be used for books. Seriously, no one would use leather for anything else..unless you're playing like a.. football game with teams or something.. But yeah, theres the pattern for ya. And gold.. those don't have to return gold bars if possible, just return it in nuggets. * Shrug*
The problem with that is the amount of durability per item given back. Not only that, currently it's not possible to set crafting recipes based on durability. The way Minecraft works, their internal recipe registry doesn't even work based off durability. However, using the bukkit crafting event, it may be possible. However, there is a different reason I don't think this is worth it.
You see, let's take a leather torso for example: 4 leather returned for the torso. Figure out the range of durability for each leather returned... let's say a leather torso has 1000 durability. The first leather returned goes from 1 to 250 durability. That means 1 leather is good for an almost dead leather torso to 1/4th its total durability. That doesn't seem feasible to me. I don't know about anyone else, but they might have the same opinion.
The new doors, they give back oak planks when you craft them back, so you may need to fix that...
I guess that's what happens when you copy/paste code for recipes and don't check everything... will fix that when I get to it as well as adding uncrafting recipes for wooden/iron trapdoors.
Egg, hold off on updating this until the next IDP update, so that I can fix the recipe results and add the new crafting recipes.