A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/object/extra_look
Lfun: extra_look - define an extra look for the player
Synopsis:
string extra_look()
Description:
Whenever a player looks at another player, each item in the other
player's inventory gets this function called. If it returns a
string, this string is given out after the character data, but before
the inventory of the player.
This can be used to implement curses that give some visual result.
Return value:
If you want to display an extra look string, return it, else
return 0.
Examples:
extra_look() {
return "The player has a sore throat"; /* shout curse */
}
See also:
This page was generated in LPC
Imprint / Impressum