This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arch:arch_attributes:d [2018/04/11 13:50] karl created |
arch:arch_attributes:d [2018/04/18 08:38] (current) karl Add darkness |
||
---|---|---|---|
Line 2: | Line 2: | ||
Object attributes beginning with the letter **d** . | Object attributes beginning with the letter **d** . | ||
- | Taken from the (unsorted) wholepage [[:dev:Object Fields]] . | + | Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] . |
- | ===== List == | + | ===== List of attributes == |
Line 11: | Line 11: | ||
Meaning: | Meaning: | ||
- | |||
==== dam_modifier ==== | ==== dam_modifier ==== | ||
Type: uint8 | Type: uint8 | ||
+ | |||
+ | Comment: How going up in level effects damage | ||
Meaning: | Meaning: | ||
+ | |||
+ | ==== darkness == | ||
+ | Type:#define MAX_DARKNESS 5 | ||
+ | |||
+ | Comment: /* maximum map darkness, there is no practical reason to exceed this */ | ||
+ | |||
+ | Meaning: Maps have darkness set. | ||
+ | |||
+ | See also [[c#can_see_in_dark]] . | ||
==== Dex ==== | ==== Dex ==== | ||
Line 23: | Line 33: | ||
Meaning: | Meaning: | ||
- | ==== direction ==== | + | |
- | Type: sint8 | + | |
+ | ==== duration ==== | ||
+ | Type: sint16 | ||
+ | |||
+ | Comment: How long the spell lasts | ||
Meaning: | Meaning: | ||
+ | |||
+ | ==== duration_modifier ==== | ||
+ | Type: uint8 | ||
+ | |||
+ | Comment: how level modifies duration | ||
+ | |||
+ | Meaning: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Server struct obj {} object == | ||
+ | These are not archetype attributes, but server internal variables. \\ | ||
+ | Read more on the [[:dev:object_fields]] page. | ||
+ | |||
+ | ==== dialog_information ==== | ||
+ | Type: struct_dialog_information * | ||
+ | |||
+ | Comment: Parsed dialog information for this object. Valid if FLAG_DIALOG_PARSED is set (but can be NULL). | ||
+ | |||
+ | Meaning: NEW introduced since ? | ||
==== divine_giver_name ==== | ==== divine_giver_name ==== | ||
Line 34: | Line 68: | ||
Specified god has blessed the item. Used to avoid accumulating blessings. | Specified god has blessed the item. Used to avoid accumulating blessings. | ||
+ | ==== direction ==== | ||
+ | Type: sint8 | ||
- | ==== duration ==== | + | Comment: Means the object is moving that way. |
- | Type: sint16 | + | |
Meaning: | Meaning: | ||
- | ==== duration_modifier ==== | ||
- | Type: uint8 | ||
- | |||
- | Meaning: | ||