|
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: |
|