EXTRA_LOOK(L)

NAME
	extra_look - Give a description for a player carrying an object

SYNOPSIS
	string extra_look();

LOCATION
	Possible in any object a player might carry.

DESCRIPTION
	The local function extra_look is used in objects carried by
	players to give them an extra description above their 
	inventory listing when they are examined or looked at.

NOTES
	A ".\n" is automatically appended to the return value.

	Remember that this_player() will return the person doing
	the examining, and environment() will return the person
	who is being examined (or looked at).

	Can be used for guild descriptions, diseases and curses,
	and simple "description" makers.

	The descriptions are only added to players, not npc's.

EXAMPLES
	string extra_look() {
	   return environment()->query_name() + 
             " is a member of the Guild of Platypuses";
        }
			or, my favorite for making players paranoid,
	string extra_look() {
	   return environment()->query_name() +
	     " is watching " + this_player()->query_name() + " carefully";
        }
        
SEE ALSO
	query_auto_load(L), short(L), long(L)

Help topics available:
add_hook add_weight can_put_and_get clean_up drop
extra_look get heart_beat id init
init_arg is_armour is_money is_weapon long
query_auto_load query_hook query_long query_name query_prevent_move_from_statue
remove_hook reset set_long set_name set_short
short

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 70 since January 2020.
This file was last modified: June 2000.