User Tools

Site Tools


arch:arch_attributes:i

Arch Object attributes I

Object attributes beginning with the letter i .

Partly taken from the (unsorted) wholepage Object Fields .

List of attributes

identified_face

Type:

Meaning:

identified_name

Type:

Meaning:

identified_name_pl

Type:

Meaning:

Int

Type: sint8

Meaning:

invisible

Type: sint16

Comment: How much longer the object will be invis

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

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

Type: sint8

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

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 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.
  • for living things and containers, what this holds.
    • FIXME flags for that

Other items are available through below chaining.

arch/arch_attributes/i.txt · Last modified: 2018/04/12 15:43 by karl