NAME
	set_name - set the name of an object

SYNOPSIS
	void set_name(string name)

LOCATION
	This function exists in very many of the lib objects, basically it is
	used by all objects a player will encounter.

RETURN VALUE
	None.

DESCRIPTION
	This function sets the name of the object. The object can then be
	referred to by this name by the players.

EXAMPLE
	set_name("ape");
	set_name("monkey");
	set_name("urgleflogga");

NOTE
	It is far too common that the lfun set_name() is used in the way the
	lfun set_short() should be used. Note the differemce between a name
	and a description: 'monkey' and 'erebus' are names, while 'the monkey'
	and 'a black knight' are descriptions.

SEE ALSO
	set_long(L), long(L), query_long(L), set_short(L), short(L),
	query_name(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 92 since January 2020.
This file was last modified: June 2000.