User Tools

Site Tools


arch:arch_attributes:m

Arch Object attributes M

Object attributes beginning with the letter m .

Partly taken from the (unsorted) wholepage Object Fields .

List of attributes

magic

Type: sint8

Comment: Any magical bonuses to this item

Meaning:

map

Type: mapdef *

Comment: Pointer to the map in which this object is present

Meaning:

map_layer

Type: uint8

Comment: What level to draw this on the map

Meaning:

material

Type: uint16

Comment: What materials this object consist of

Meaning:

materialname

Type: const char * (shared string)

Coment: Specific material name

Meaning:

maxgrace

Type: sint16

Meaning:

maxhp

Type: sint16

Meaning:

maxsp

Type: sint16

Meaning:

more

Found in treasure lists, to provide more chances for treasures listed in that list, when that item got not selected as treasure.

move_allow

Type: MoveType

Comment: What movement types explicitly allowed

Meaning:

move_block

Type: MoveType

Comment: What movement types this blocks

Meaning: Prevents a character or monster from moving onto a tile occupied by the object.
Each part of a multi-tile object may have an unique setting, unlike many other modifiers
that are omitted or ignored in non-head parts.

See also move_block on the objects page.

move_off

Type: MoveType

Comment: Move types affected moving off this space

Meaning:

move_on

Type: MoveType

Comment: Move types affected moving on to this space

Meaning:

move_slow

Type: MoveType

Comment: Movement types this slows down

Meaning:

move_slow_penalty

Type: float

Comment: How much this slows down the object

Meaning:

move_status

Type: sint32

Comment: What stage in attack mode

Meaning:

move_type

Type: MoveType

Comment: Type of movement this object uses

Meaning:

msg

Type: const char * (shared string)

Comment: If this is a book / sign / magic_mouth / etc

Meaning:

  • for BOOK/SIGN/MAGICMOUTH/etc. what is displayed when activated.
  • for EXITs pointing to random maps, map parameters.
  • for races players can select, description of the race

FIXME check other uses.


Server struct obj {} object

These are not archetype attributes, but server internal variables.
Read more on the object_fields page.

more

Type: obj *

Comment: Pointer to the rest of a large body of objects

Meaning:

arch/arch_attributes/m.txt · Last modified: 2018/04/13 02:24 by karl