rock
icon_state = "3"
MouseDrag()
MouseDrop(obj/branch)
var/X = new/obj/hammer
usr.contents.Add(X)
del(branch)
del(src)
mouse_drag_pointer = "3"
Problem description: I got the main objective to work, it deletes the two objects and creates the new one in my inventory. However, it works on any object; Ex1: Rock+Branch = Hammer (This is what I want); Ex2: Rock+Herb = Hammer (It does this too, and I don't want it to) Every item works for the combo, how do I get it to work only when you drop a rock on a branch and not anything else? I've checked all the nice little demos (theres only 1 btw) and experimented with several different formats to try and filter only the two objects but nothing works, what am I doing wrong?