OBJECT VARIABLES: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
For details on how to use variables, please see | For details on how to use variables, please see [[VARIABLES]]. | ||
Object variables are as follows: | Object variables are as follows: | ||
---- | |||
name The object's keyword list | name The object's keyword list | ||
shortdesc The object's short description | shortdesc The object's short description | ||
vnum The object's vnum (-1 if it doesn't have one) | vnum The object's vnum (-1 if it doesn't have one) | ||
type The object's type (see | type The object's type (see [[ITEM_TYPES]]) | ||
val0 The object's values (see | val0 The object's values (see [[ITEM_TYPES]]) | ||
val1 "" "" "" "" | val1 "" "" "" "" | ||
val2 "" "" "" "" | val2 "" "" "" "" | ||
| Line 16: | Line 16: | ||
seconds until the timer expires, otherwise it returns 0 | seconds until the timer expires, otherwise it returns 0 | ||
See also: [[VARIABLES]], [[ROOM VARIABLES]], [[CHARACTER VARIABLES]], | See also: [[VARIABLES]], [[ROOM VARIABLES]], [[CHARACTER VARIABLES]], [[SPECIAL VARIABLES]] | ||
[[CATEGORY:Scripts]] | [[CATEGORY:Scripts]] | ||
Latest revision as of 02:10, 7 December 2009
For details on how to use variables, please see VARIABLES.
Object variables are as follows:
name The object's keyword list shortdesc The object's short description vnum The object's vnum (-1 if it doesn't have one) type The object's type (see ITEM_TYPES) val0 The object's values (see ITEM_TYPES) val1 "" "" "" "" val2 "" "" "" "" val3 "" "" "" "" min_level The object's min level timer If the obj has a timer, it will return the number of seconds until the timer expires, otherwise it returns 0
See also: VARIABLES, ROOM VARIABLES, CHARACTER VARIABLES, SPECIAL VARIABLES