mob
Bump(obj/O)
if(isobj(O))
if(ispath(/obj/Weapons/))//if it is a object located within Weapons if(length(src.contents))
for(var/obj/O2 in src.contents)//for every object inthe inventory, delete them
del(O2)
src.contents += O
src.weapon = O
src << "New weapon!"
if(ispath(/obj/Items/))
src.items += O
Problem description: What I'm tyring to do is make the bump work different depending on what type of object it is. In the code above, only the first part of the bump works, ignoring the 2nd part.
Lummox JR