A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/room/set_long
Name: set_long - set the long description in a room
Syntax:
#include <room2.h>
set_long(string long_desc)
Description:
The set_long call sets the long description in a room. The long desc-
ription is displayed whenever a player enters a room or types 'look'.
At the moment, the long description is not displayed if it is dark in
the room (eg. when it is night) , but therefore there is support for
different day and night descriptions, and later players won't get a
line like "It is too dark.".
The long description itself normally cosists of several lines, each
line terminated with a linefeed ('\n'). The lines can be added together
with the '+' operator.
The long description affects the long function in the room and can be
overriden using query_long or EXTRA_LONG with extd_room.
Return value: none
Examples:
set_long( "You are in a green and lushy meadow.\n"+
"You see an apple tree nearby.\n");
See also:
This page was generated in LPC
Imprint / Impressum