Lock.code duplication when using "cupboard auto-lock"Solved
Cupboard Auto-Lock adds a lock to the tc when it is deployed by a player. when removertool is used with this item, it refunds the lock and the tc. I updated the removertool config to

cupboard gives you 1k wood, but the lock still refunded to the player
Updated lock.code to give 0 and turn of the flag for the item. the lock code still refunded.... 

Nothing I can do at this point to prevent this from duplicating :(
   "Refund Items In Entity Slot": false, //Set to false


Merged post

Also, you can reduce cupboard refunds
Thank you very much for that Arainrr! This was the missing piece of my puzzle! 
Locked automatically