OBJECT VARIABLES: Difference between revisions

From AddictHelp
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
For details on how to use variables, please see the schelp for VARIABLES.
For details on how to use variables, please see [[VARIABLES]].


Object variables are as follows:
Object variables are as follows:
Line 7: Line 7:
     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 ohelp item_types)
     type      The object's type (see [[ITEM_TYPES]])
     val0      The object's values (see ohelp item_types)
     val0      The object's values (see [[ITEM_TYPES]])
     val1      ""    ""      ""                ""
     val1      ""    ""      ""                ""
     val2      ""    ""      ""                ""
     val2      ""    ""      ""                ""

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