ID:163041
 
How do i tell it to delete an obj (logs) after new/turf/WoodenWall(usr.loc)

mob/human/verb
Build(item in build_items)
switch(item)
if("Wooden Wall")
if (usr.Log==1)
new/turf/WoodenWall(usr.loc)
else
return
Ummm.I'm guessing its in the inventory. Try:
usr.contents -= /obj/log

I'm not sure exactly.