From the NannyMUD documentation

LAST CHANGE

2001-01-06

FUNCTION


NAME

        get - define whether an object can be taken or not

LOCATION

In any object that a player can take.

SYNTAX

int get();

DESCRIPTION

	When a player tries to take an object, the function 'get' in that
	object is called by the player object.  A true value allows the
	item to be picked up.

RETURN VALUES

	A non-zero value means the object can be taken.
	A zero value, or the absense of the function means it cannot.

NOTE

	If an object is not meant to be taken, do not define this.  It is
	obviously senseless in most cases to define it in rooms.

	Many standard objects (weapon.c, treasure.c, etc.) already include
	this function, so there is no need to add it.

	id() is already checked before get() is called.

SEE ALSO

        drop in lfun/basic/drop

SEE ALSO

        query_weight in lfun/living/living_functions