Ill write you a pickup script for 20 euros
I'll even make it compatible with libcod.
If you want I can even livestream the entire coding process so you can see that I'm not re-using any old code.
Payment up front is required though.
You'll have to call the script from wherever you see fit, I will not adjust the pickup script to fit your mod.