A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/die
Name: die - let a living die
Syntax:
static die();
Description:
The die function lets a living die. It cannot be called externally, but
it can be overriden in monsters.
This function normally gives the killer of the living the killer gift
and clones a corpse for the living moving its inventory and money
into the corpse.
Return value: none
Examples:
A monster that cannot die:
static die() {
tell_room(environment(),
"The monster says: Nobody can kill me!\n");
heal_self(1000);
}
See also:
This page was generated in LPC
Imprint / Impressum