A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/room/add_item
Name: add_item/change_item/remove_item - manipulations on room items
Synopsis:
#include <room2.h>
status add_item(id, desc, type);
status change_item(id, desc, type);
status remove_item(id, type);
Description:
Adding/changing/removing a room item.
Note:
Some information about these functions can be found on page 17 in
the tutorial of advanced room coding ('goto /guild/adv/inner3') or
via https://nemesis.de/lpc/doc/room2/page17 . I (Kiri) don't like
this possibility to alter room items, so I don't recommend them.
The "@@func@@" feature works much better, also described on page 17
(upper part) of the tutorial and in 'man room/set_items'.
See also:
This page was generated in LPC
Imprint / Impressum