A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/room/set_day_items
Name: set_day_items - set day item IDs and descriptions in a room
Syntax:
#include <room2.h>
void set_day_items(string *items_arr)
Description:
The set_day_items call sets the day item identifiers and descriptions
in a room.
The arguments are exactly the same as for the normal items. For more
detailed information see 'man room/set_items'. Set_day_items also
supports all features of of set_items and behaves like set_items.
Probably day and night items are not often used, but make sure that,
if you have different day and night descriptions, the player should
be able to look at the things mentioned in the description.
Of course in most cases all day (& night) stuff is only sensible for
outside rooms. In a dungeon or cave room in most cases it does not
make sense to care about them. But you should keep them in mind as
they raise the athmosphere strongly.
Return value: none
Examples:
set_day_items( ({
"tree#apple tree", "The tree is full of apples"
}) );
See also:
This page was generated in LPC
Imprint / Impressum