arch:arch_attributes:m
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arch:arch_attributes:m [2018/04/11 14:25] – created karl | arch:arch_attributes:m [2025/04/18 13:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
Object attributes beginning with the letter **m** . | Object attributes beginning with the letter **m** . | ||
- | Taken from the (unsorted) wholepage [[: | + | Partly taken from the (unsorted) wholepage [[: |
- | ===== List == | + | ===== List of attributes |
==== magic ==== | ==== magic ==== | ||
Type: sint8 | Type: sint8 | ||
+ | |||
+ | Comment: Any magical bonuses to this item | ||
Meaning: | Meaning: | ||
- | ==== material | + | |
- | Type: uint16 | + | ==== map ==== |
+ | Type: mapdef * | ||
+ | |||
+ | Comment: Pointer to the map in which this object is present | ||
Meaning: | Meaning: | ||
- | ==== materialname | + | |
- | Type: const char * (shared string) | + | ==== map_layer |
+ | Type: uint8 | ||
+ | |||
+ | Comment: What level to draw this on the map | ||
Meaning: | Meaning: | ||
+ | ==== material ==== | ||
+ | Type: uint16 | ||
- | ==== map ==== | + | Comment: What materials this object consist of |
- | Type: mapdef * | + | |
- | Meaning: | + | Meaning: |
- | ==== map_layer | + | ==== materialname |
- | Type: uint8 | + | Type: const char * (shared string) |
+ | |||
+ | Coment: Specific material name | ||
Meaning: | Meaning: | ||
Line 50: | Line 61: | ||
==== more ==== | ==== more ==== | ||
- | Type: obj * | + | Found in treasure lists, to provide more chances for treasures listed in that list, when that item got not selected |
- | + | ||
- | Meaning: Pointer to the rest of a large body of objects | + | |
- | + | ||
- | Found in treasure lists, to provide more chances for treasures listed in that list, when that item got not selected. | + | |
==== move_allow ==== | ==== move_allow ==== | ||
Type: MoveType | Type: MoveType | ||
+ | |||
+ | Comment: What movement types explicitly allowed | ||
Meaning: | Meaning: | ||
Line 65: | Line 73: | ||
Type: MoveType | Type: MoveType | ||
- | Meaning: | + | Comment: What movement types this blocks |
- | * Each part of a multi-tile object may have a unique setting, unlike many other modifiers that are omitted or ignored in non-head parts. | + | Meaning: |
+ | 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 [[: | See also [[: | ||
- | + | ==== move_off | |
- | ==== move_on | + | |
Type: MoveType | Type: MoveType | ||
+ | |||
+ | Comment: Move types affected moving off this space | ||
Meaning: | Meaning: | ||
- | ==== move_off | + | ==== move_on |
Type: MoveType | Type: MoveType | ||
+ | |||
+ | Comment: Move types affected moving on to this space | ||
Meaning: | Meaning: | ||
Line 84: | Line 97: | ||
==== move_slow ==== | ==== move_slow ==== | ||
Type: MoveType | Type: MoveType | ||
+ | |||
+ | Comment: Movement types this slows down | ||
Meaning: | Meaning: | ||
Line 89: | Line 104: | ||
==== move_slow_penalty ==== | ==== move_slow_penalty ==== | ||
Type: float | Type: float | ||
+ | |||
+ | Comment: How much this slows down the object | ||
Meaning: | Meaning: | ||
Line 94: | Line 111: | ||
==== move_status ==== | ==== move_status ==== | ||
Type: sint32 | Type: sint32 | ||
+ | |||
+ | Comment: What stage in attack mode | ||
Meaning: | Meaning: | ||
+ | |||
==== move_type ==== | ==== move_type ==== | ||
Type: MoveType | Type: MoveType | ||
+ | |||
+ | Comment: Type of movement this object uses | ||
Meaning: | Meaning: | ||
- | |||
==== msg ==== | ==== msg ==== | ||
Type: const char * (shared string) | Type: const char * (shared string) | ||
+ | |||
+ | Comment: If this is a book / sign / magic_mouth / etc | ||
Meaning: | Meaning: | ||
Line 110: | Line 133: | ||
* for EXITs pointing to random maps, map parameters. | * for EXITs pointing to random maps, map parameters. | ||
* for races players can select, description of the race | * for races players can select, description of the race | ||
+ | | ||
FIXME check other uses. | FIXME check other uses. | ||
+ | ---- | ||
+ | |||
+ | ====== Server struct obj {} object == | ||
+ | These are not archetype attributes, but server internal variables. \\ | ||
+ | Read more on the [[: | ||
+ | |||
+ | |||
+ | ==== more ==== | ||
+ | Type: obj * | ||
+ | |||
+ | Comment: Pointer to the rest of a large body of objects | ||
+ | |||
+ | Meaning: | ||
arch/arch_attributes/m.1523474730.txt.gz · Last modified: (external edit)