From the NannyMUD documentation

LAST CHANGE

2001-08-12

FUNCTION


NAME

        die_hook - 

AVAILABILITY

	/obj/living_functions

DESCRIPTION

	This function is called when the hooked living is about to
	die.

	ARGUMENTS

	die_hook(
          ({ The living doing the damage,
	     The object doing the damage,
             The corpse.
	  }),
          The living dying.
	)

NOTE

        Note that 'the living doing the damage' can be zero.

NOTE

        Note that 'the object doing the damage' can be zero.

NOTE

        Note that 'the corpse' can be zero. It should be in the
        environment and contain all objects from the dying monster,
        but it might be elsewhere and might not contain all
        objects.

NOTE

        Anyone might have done anything to the corpse, so make sure
        to check everything carefully.

SEE ALSO

        attack_hook in hooks/attack_hook

SEE ALSO

        kill_hook in hooks/kill_hook
        kill_hook in std/line/line_control
        kill_hook in std/misc/logger

SEE ALSO

        block_die_hook in hooks/block_die_hook