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
arch:arch_attributes:a [2018/04/11 13:34] – created karlarch:arch_attributes:a [2025/04/18 13:08] (current) – external edit 127.0.0.1
Line 2: Line 2:
 Object attributes beginning with the letter **a** . Object attributes beginning with the letter **a** .
  
-Taken from the (unsorted) wholepage [[:dev:Object Fields]] .+Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] .
  
-===== List ==+===== List of attributes ==
  
-==== above ==== +==== ac ==== 
-Type: obj *+Type: sint8 
 + 
 +Comment:
  
 Meaning: 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]]+==== activate_on_push ====
  
 +==== activate_on_release ====
  
-==== ac ==== 
-Type: sint8 
  
-Meaning:+==== alive ====
  
-==== active_next ==== +==== animation == 
-Type: obj *+FIXME
  
-Meaning: +==== anim == 
-  * 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.+FIXME
  
 +See also [[m#mina]] .
  
-==== active_prev ==== +==== anim_full ==== 
-Type: obj *+Type:
  
-Meaning: +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. Should not be used much.+
  
-==== animation_id ==== +Meaning: For TRANSPORT, face to use when it's full.
-Type: uint16 +
- +
-Meaning:+
  
 ==== anim_speed ==== ==== anim_speed ====
 Type: uint8 Type: uint8
 +
 +Comment: Ticks between animation-frames
  
 Meaning: Meaning:
Line 45: Line 44:
 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 ?
 +
 +==== applied ====
  
 ==== 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:
  
 +==== auto_apply ====
  
-==== 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.1523471655.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki