TRIGEDIT-VARIABLES-OBJECTS OBJ-VAR SHORTDESC TRIGEDIT-OBJ-VAR VAL0 VAL1 VAL2 VAL3 OBJECT OBJVARS OBJ-VARS
TRIGEDIT-VARIABLES-OBJECTS OBJ-VAR SHORTDESC TRIGEDIT-OBJ-VAR VAL0 VAL1 VAL2 VAL3 OBJECT OBJVARS OBJ-VARS
Objects When using field - The variable returns:
carried_by - The id of the character carrying the object, or an empty return.
contents - Gives the first object in a container. {cRTSTAT 32{c0
cost - The cost (not rent cost) of the object.
cost_per_day - The rent cost of the object
id - The unique id of the object.
is_inroom - Returns true if object is in room.
name - The list of key words of the object.
next_in_list - The id of the next object in the characters inventory, or an
empty return
room - Returns the room id the object is in.
shortdesc - The name of the object that players see.
timer - The timer of the object.
type - The type of object, such as WAND, ARMOR, or KEY.
val0 - Returns the current value 0 of the object, defined here.
val1 - Returns the current value 1 of the object, defined here.
val2 - Returns the current value 2 of the object, defined here.
val3 - Returns the current value 3 of the object, defined here.
vnum - The virtual number of the object.
weight - The weight of the object.
worn_by - The id of the character wearing the object, or an empty return
Example: {cRTSTAT 28{c0