From the NannyMUD documentation

LAST CHANGE

2000-12-12

FUNCTION


NAME

        _signal_dropped - _signal_dropped - tell an object it was dropped

LOCATION

        Any object that might be dropped.

SYNTAX

        void _signal_dropped();

DESCRIPTION

        When a player has dropped something this function is called in
        the dropped object _after_ the item is moved to the environment
        of the player.

NOTE

        Is only called for the drop command, not when given, put in
        bags, sold etc. Use _signal_given in those cases.

EXAMPLE

        //A delicate vase that breaks if dropped.

        inherit "/std/basic_thing";
	
        void _signal_dropped()
        {
          tell_room(environment(this_object()),
            "The vase breaks as it hits the groud.\n");
          set_short("a broken vase");
          set_long("The vase is cracked and large pieces are missing.\n");
          set_value(20);
        }
	 
        void reset()
        {
          set_name("vase");
          set_short("a delicate vase");
          set_long("A most delicate vase of the finest china, you had\n"+
        	   "better not drop it!\n");
          set_value(400);
        }

SEE ALSO

        _signal_given in lfun/_signals/_signal_given