A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/room2/page26


<
                               CHAPTER 3                                        

List of Room2 Standard Functions for setting and changing a room:

   set_short(str)           sets the short desc
   set_long(str)            sets the long desc
   set_day_desc(str)        sets an additional day desc
   set_night_desc(str)      sets an additional night desc
   set_exits(arr)           sets the exit rooms and directions
   set_items(arr)           sets item id's and descs
   set_day_item(arr)        same for items visible only at day
   set_night_items(arr)     same for items visible only at night
   set_prop(arr|str, int)   sets a property
   set_weather(l, w, c)     sets light, weather and climate
   add_item(id, str, t)     adds an item of type t
   change_item(id, str, t)  changes an item of type t
   remove_item(id, t)       removes an item of type t

   Changed/modified/modernised in August 2016.

See also:
>

This page was generated in LPC

Imprint / Impressum