obj/MouseDrag()if(istype(usr,/mob/Witch))mouse_drag_pointer=icon(src.icon,src.icon_state,src.dir)
obj/New()
..()
mouse_drag_pointer=icon(src.icon,src.icon_state,src.dir)
obj/MouseDrop(o_o,s_l,o_l) //make it so if an object has been dragged to someplace...
Problem description:
So I want to mousedrop obj and mobs but I can only do one or the other without copy&pasting the same code under mob. Is there a way to put this one code under both obj and mob? Obv I don't want to mousedrop turfs so I can't use atom. Thank you!