verb
Carpentry(var/obj/items/log/O)
set category = "Skills"
var/K = rand(1,10)
if(!usr.canmakelumber)
if(locate(O) in usr)
if(K == 1 || 2 || 3 || 4 || 5)
new /obj/items/board(usr)
new /obj/items/woodchips(usr)
usr << "You have successfully made a board!"
del O
else
usr << "You fail to make a board and your log is lost."
del O
else
usr << "You don't have a log!"
else
usr << "You don't know the recipe to make a board!"
The problem is that I can use Carpentry on ANY obj. I want it so that it only looks works on ONE log and one log only when used, if the checks go through.