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

Both sides previous revision Previous revision
Next revision
Previous revision
arch:arch_attributes:a [2018/04/12 07:11]
karl Cleanup, split Arch and object.h variales
arch:arch_attributes:a [2018/04/12 16:34] (current)
karl Add more attributes found in archetype.arc files
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 of attributes == ===== List of attributes ==
Line 8: Line 8:
 ==== ac ==== ==== ac ====
 Type: sint8 Type: sint8
 +
 +Comment:
  
 Meaning: Meaning:
 +
 +==== activate_on_push ====
 +
 +==== activate_on_release ====
 +
 +
 +==== alive ====
 +
 +==== animation ==
 +FIXME
 +
 +==== anim ==
 +FIXME
 +
 +See also [[m#mina]] .
 +
 +==== anim_full ====
 +Type:
 +
 +Comment:
 +
 +Meaning: For TRANSPORT, face to use when it's full.
  
 ==== anim_speed ==== ==== anim_speed ====
 Type: uint8 Type: uint8
 +
 +Comment: Ticks between animation-frames
  
 Meaning: Meaning:
Line 18: 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:+CommentPointer to archetype
  
-See also [[o#other_arch]]+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]]
  
 ==== attack_movement ==== ==== attack_movement ====
 Type: uint16 Type: uint16
 +
 +Comment: What kind of attack movement
  
 Meaning: Meaning:
Line 34: Line 78:
 ==== attacktype ==== ==== attacktype ====
 Type: uint32 Type: uint32
 +
 +Comment: Bitmask of attacks this object does
  
 Meaning: Meaning:
 +
 +==== auto_apply ====
  
  
Line 47: Line 95:
 Type: obj * Type: obj *
  
-Meaning: +CommentPointer ​to the object stacked above this one. 
-  * pointer ​to the object stacked above this one.  Will link items on a same spot, or in the same container.+   
 +Meaning: ​ Will link items on a same spot, or in the same container.
  
 See also [[b#below]] See also [[b#below]]
Line 55: Line 104:
 Type: obj * Type: obj *
  
-Meaning: +CommentNext object in the '​active'​ list. This is used in process_events() so that the entire object list does not need to be gone through. ​ 
-  * 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. +   
 +Meaning: ​Should not be used much.
  
 ==== active_prev ==== ==== active_prev ====
 Type: obj * Type: obj *
  
-Meaning: +CommentPrevious ​object in the '​active list This is used in process_events so that the entire object list does not need to be gone through. ​ 
-  * 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. +   
 +Meaning: ​Should not be used much.
  
 ==== animation_id ==== ==== animation_id ====
 Type: uint16 Type: uint16
 +
 +Comment: An index into the animation array
  
 Meaning: Meaning:
 +
 +==== artifact ====
 +Type: sstring
 +
 +Comment: If set, the item is the artifact with this name and the matching type.
 +
 +Meaning: NEW introduced since ?
  
 ==== attacked_by ==== ==== attacked_by ====
 Type: obj * Type: obj *
 +
 +Comment: This object start to attack us! only player & monster
  
 Meaning: Meaning:
- 
  
 ==== attacked_by_count ==== ==== attacked_by_count ====
 Type: tag_t Type: tag_t
  
-Meaning:+CommentThe tag of attacker, so we can be sure
  
 +Meaning:
arch/arch_attributes/a.1523535074.txt.gz · Last modified: 2018/04/12 07:11 by karl