From the NannyMUD documentation
2001-08-12
NAME
die_hook -AVAILABILITY
/obj/living_functionsDESCRIPTION
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_hookSEE ALSO
kill_hook in hooks/kill_hook kill_hook in std/line/line_control kill_hook in std/misc/loggerSEE ALSO
block_die_hook in hooks/block_die_hook