From the NannyMUD documentation
2001-01-06
NAME
is_weapon - is the object a weapon?LOCATION
/std/simple_weapon, /obj/weaponSYNTAX
int is_weapon();DESCRIPTION
This function returns 1, and thus mark the object as a weapon. It should be defined by objects that are true weapons, i.e. that will handle all things a weapon should. This means basically weapon objects in the lib.RETURN VALUES
1 - marks the object as a weapon