NAME living_died - Signals that someone just died. SYNOPSIS void living_died(object corpse); LOCATION A room that needs notification when someone dies in there. DESCRIPTION When something dies, this function is called in the environment of the dying thing. The corpse is created and passed to this function, but any items are still on the dying living. The corpse is moved to the environment of the dying creature _after_ this call. NOTES The dying thing is previous_object(), NOT this_player(). Currently bugs as there is no corpse passed, a fix is on its way. /MeTa EXAMPLE (Add this in _any_ room.) void living_died(object corpse) { if (interactive(previous_object())) tell_room(this_object(), "You hear a laughter in the distance as Death "+ "takes another soul.\n"); } SEE ALSO _signal_environment_died
Help topics available:
dark | exit | living_died | party_follow_verb | query_contents |
You are guest number 67 since April 2020.
This file was last modified: June 2000.