This is an old revision of the document!
Table of Contents
Arch Object attributes C
Object attributes beginning with the letter c .
Partly taken from the (unsorted) wholepage Object Fields .
List of attributes
can_cast_*
can_cast_spell
can_use_*
can_use_armour
can_use_bow
can_use_scroll
can_use_shield
can_use_skill
can_use_range
can_use_ring
can_use_weapon
carrying
Type: sint32
Meaning:
casting_time
Cha
Type: sint8
Meaning:
chosen_skill
Type: obj *
Meaning:
client_type
Con
Type: sint8
Meaning:
current_weapon
current_weapon_script
Type: const char * (shared string)
Meaning:
custom_name
Type: const char * (shared string)
Meaning: The player command rename sets it.
Syntax: rename <name> to <new name>
- the carets are mandatory in this case, spaces allowed
Example: rename <hide> to <polar bear's hide> would then print for the DM command dump for the several *name* attributes
- arch hide_white
- name hide
- name_pl hide
- custom_name polar bear's hide
Server struct obj {} object
These are not archetype attributes, but server internal variables.
Read more on the object_fields page.
container
Type: obj *
Meaning: Current container being used. I think this is only used by the player right now.
contr
Type: pl *
Meaning:
- pointer to the player which control this object. Will only be set for the player's object itself, and not items in inventory.
count
Type: tag_t
Meaning: Unique object number for this object