User Tools

Site Tools


arch:arch_attributes:i

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arch:arch_attributes:i [2018/04/11 16:45] – Add identyfied_* attributes karlarch:arch_attributes:i [2025/04/18 13:08] (current) – external edit 127.0.0.1
Line 2: Line 2:
 Object attributes beginning with the letter **i** . Object attributes beginning with the letter **i** .
  
-Taken from the (unsorted) wholepage [[:dev:Object Fields]] .+Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] .
  
-===== List ==+===== List of attributes ==
  
 ====identified_face==== ====identified_face====
Line 25: Line 25:
  
 Meaning: Meaning:
- 
-==== inv ==== 
-Type: object * pointing to the first item in inventory. Other items are available through ''below'' chaining. 
- 
-Meaning: 
-  * for spellbooks, rods, wands, horns, this is the spell that the object teaches/fires. 
-  * for generators with the FLAG_CONTENT_ON_GEN flag it is the item generated. 
-  * for living things and containers {FIXME flags for that}, what this holds. 
  
  
 ==== invisible ==== ==== invisible ====
 Type: sint16 Type: sint16
 +
 +Comment: How much longer the object will be invis
  
 Meaning: Meaning:
  
 +==== is_* ====
 +
 +=== is_animated ===
 +
 +=== is_blind ===
 +
 +=== is_cauldron ===
 +
 +=== is_floor ===
 +
 +=== is_hilly ===
 +
 +=== is_lightable ===
 +
 +=== is_thrown ===
 +
 +=== is_turnable ===
 +
 +=== is_turning ===
 +
 +=== is_used_up ===
 +
 +=== is_water ===
 +
 +=== is_wooded ===
  
 ==== item_owner ==== ==== item_owner ====
 Player owning the item, so other players can't bless it. If set, the item can't be applied by another player unless he has enough experience (see item_willpower). Player owning the item, so other players can't bless it. If set, the item can't be applied by another player unless he has enough experience (see item_willpower).
- 
  
 ==== item_power ==== ==== item_power ====
 Type: sint8 Type: sint8
  
-Meaning:+Comment: Power rating of the object 
 + 
 +Meaning: The character has a limited item power maximum to be able to apply magical items. \\ 
 +If the sum of the item_power of all applied items reaches the allowed maximum, \\ 
 +no more magical item with //item_power > 0// can be wielded / worn.
  
 ==== item_willpower ==== ==== item_willpower ====
-If set incombination with item_owner, an item will refuse to be applied by another player who doesn't have at least that much experience.+If set in combination with item_owner, an item will refuse to be applied by another player who doesn't have at least that much experience. 
 + 
 + 
 +---- 
 + 
 +====== Server struct obj {} object == 
 +These are not archetype attributes, but server internal variables. \\ 
 +Read more on the [[:dev:object_fields]] page. 
 +  
 + 
 +==== inv ==== 
 +Type: obj *  
 + 
 +Comment: Pointing to the first item in inventory.  
 + 
 +Meaning: 
 +  * for spellbooks, rods, wands, horns, this is the spell that the object teaches / fires. 
 +  * for generators with the FLAG_CONTENT_ON_GEN flag it is the item generated. 
 +    * see also [[g#generator_name]] 
 +  * for living things and containers, what this holds. 
 +    * FIXME flags for that
  
 +Other items are available through [[b#below]] chaining.
  
arch/arch_attributes/i.1523483146.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki