User Tools

Site Tools


arch:arch_attributes:a

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
arch:arch_attributes:a [2018/04/11 13:34]
karl created
arch:arch_attributes:a [2018/04/12 09:56]
karl Add all the "enhancements" from recent object_types page
Line 4: Line 4:
 Taken from the (unsorted) wholepage [[:​dev:​Object Fields]] . Taken from the (unsorted) wholepage [[:​dev:​Object Fields]] .
  
-===== List == +===== List of attributes ​==
- +
-==== above ==== +
-Type: obj * +
- +
-Meaning: +
-  * pointer to the object stacked above this one.  Will link items on a same spot, or in the same container. +
- +
-See also [[b#​below]] +
  
 ==== ac ==== ==== ac ====
 Type: sint8 Type: sint8
  
-Meaning: +Comment:
- +
-==== active_next ==== +
-Type: obj *+
  
 Meaning: Meaning:
-  * next object in the '​active'​ list. This is used in process_events() so that the entire object list does not need to be gone through. Should not be used much. 
  
 +==== anim_full ====
 +Type:
  
-==== active_prev ==== +Comment:
-Typeobj *+
  
-Meaning: +Meaning: ​For TRANSPORT, face to use when it's full.
-  * previous object in the 'active list This is used in process_events so that the entire object list does not need to be gone through. Should not be used much. +
- +
-==== animation_id ==== +
-Type: uint16 +
- +
-Meaning:+
  
 ==== anim_speed ==== ==== anim_speed ====
 Type: uint8 Type: uint8
 +
 +Comment: Ticks between animation-frames
  
 Meaning: Meaning:
Line 45: Line 29:
 See also [[l#​last_anim]] See also [[l#​last_anim]]
  
 +==== anim_suffix ====
 +Type: const char
 +
 +Comment: Used to determine combined animations
 +
 +Meaning: NEW introduced since ?
  
 ==== arch ==== ==== arch ====
 Type: archt * Type: archt *
  
-Meaning:+Comment: Pointer to archetype 
 + 
 +Meaning: ​On maps the first line of an object placed onto a tile. The archetype block ends by [[e#end]] . 
 + 
 +Syntax: <​code>​ 
 +arch archetype_name 
 +x 1 
 +y 1 
 +end 
 +</​code>​
  
 See also [[o#​other_arch]] See also [[o#​other_arch]]
  
 +==== attack_movement ====
 +Type: uint16
  
-==== attacked_by ==== +CommentWhat kind of attack movement
-Typeobj *+
  
 Meaning: Meaning:
  
 +==== attacktype ====
 +Type: uint32
  
-==== attacked_by_count ==== +CommentBitmask of attacks this object does
-Typetag_t+
  
 Meaning: Meaning:
  
 +----
  
-==== attack_movement ​====+====== Server struct obj {} object == 
 +These are not archetype attributes, but server internal variables. \\ 
 +Read more on the [[:​dev:​object_fields]] page. 
 +  
 +==== above ==== 
 +Type: obj * 
 + 
 +Comment: Pointer to the object stacked above this one. 
 +   
 +Meaning: ​ Will link items on a same spot, or in the same container. 
 + 
 +See also [[b#​below]] 
 + 
 +==== active_next ==== 
 +Type: obj * 
 + 
 +Comment: Next object in the '​active'​ list. This is used in process_events() so that the entire object list does not need to be gone through.  
 +   
 +Meaning: Should not be used much. 
 + 
 +==== active_prev ==== 
 +Type: obj * 
 + 
 +Comment: Previous object in the '​active list This is used in process_events so that the entire object list does not need to be gone through.  
 +   
 +Meaning: Should not be used much. 
 + 
 +==== animation_id ​====
 Type: uint16 Type: uint16
 +
 +Comment: An index into the animation array
  
 Meaning: Meaning:
  
-==== attacktype ​==== +==== artifact ​==== 
-Type: uint32+Type: sstring 
 + 
 +Comment: If set, the item is the artifact with this name and the matching type. 
 + 
 +Meaning: NEW introduced since ? 
 + 
 +==== attacked_by ==== 
 +Type: obj * 
 + 
 +Comment: This object start to attack us! only player & monster
  
 Meaning: Meaning:
  
 +==== attacked_by_count ====
 +Type: tag_t
  
 +Comment: The tag of attacker, so we can be sure
  
 +Meaning:
arch/arch_attributes/a.txt · Last modified: 2018/04/12 16:34 by karl