User Tools

Site Tools


arch:arch_attributes:h

Differences

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

Link to this comparison view

Next revision
Previous revision
arch:arch_attributes:h [2018/04/11 14:02]
karl created
arch:arch_attributes:h [2018/04/12 11:38] (current)
karl Add all the "enhancements" from recent object_types page
Line 2: Line 2:
 Object attributes beginning with the letter **h** . Object attributes beginning with the letter **h** .
  
-Taken from the (unsorted) wholepage [[:​dev:​Object Fields]] .+Partly taken from the (unsorted) wholepage [[:​dev:​Object Fields]] .
  
-===== List == +===== List of attributes ​==
- +
- +
- +
- +
-==== head ==== +
-Type: obj * +
- +
-Meaning: Points to the main object of a large body+
  
 ==== hide ==== ==== hide ====
 Type: uint32 Type: uint32
  
-Meaning:+CommentThe object is hidden, __not__ invisible
  
 +Meaning: The object blinks. Traps are set in general '​invisible'​ with a special [[f#face]] and [[a#anim]] or [[a#​animation]] . 
  
 +See also [[i#​invisible]]
  
 ==== hp ==== ==== hp ====
Line 27: Line 21:
   * for living things, hitpoints (<0 => dead).   * for living things, hitpoints (<0 => dead).
   * for exits, x coordinates of destination.   * for exits, x coordinates of destination.
-  * for ROD or HORNs, ​spellpoints ​the item has to cast the spell.+  * for ROD or HORNs, ​the current [[:​characters:​sp]]ellpoints ​the item has left to cast the spell. 
 + 
 + 
 +---- 
 + 
 +====== Server struct obj {} object == 
 +These are not archetype attributes, but server internal variables. \\ 
 +Read more on the [[:​dev:​object_fields]] page. 
 + 
 + 
 +==== head ==== 
 +Type: obj * 
 + 
 +Comment: Points to the main object of a large body
  
 +Meaning: Large bodies are archetypes that occupy more than one tile on a map ( monsters, buildings ) .
  
arch/arch_attributes/h.1523473334.txt.gz · Last modified: 2018/04/11 14:02 by karl