This shows you the differences between two versions of the page.
arch:arch_attributes:l [2018/04/11 14:16] karl created |
arch:arch_attributes:l [2018/04/12 11:54] (current) karl Add all the "enhancements" from recent object_types page |
||
---|---|---|---|
Line 2: | Line 2: | ||
Object attributes beginning with the letter **l** . | Object attributes beginning with the letter **l** . | ||
- | Taken from the (unsorted) wholepage [[:dev:Object Fields]] . | + | Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] . |
- | ===== List == | + | ===== List of attributes == |
==== last_anim ==== | ==== last_anim ==== | ||
Type: uint8 | Type: uint8 | ||
+ | |||
+ | Comment: Last sequence used to draw face | ||
Meaning: | Meaning: | ||
+ | |||
+ | See also [[a#anim]] , [[a#animation]] | ||
==== last_eat ==== | ==== last_eat ==== | ||
Type: sint16 | Type: sint16 | ||
+ | |||
+ | Comment: How long since we last ate | ||
Meaning: | Meaning: | ||
+ | See also [[f#food]] | ||
==== last_grace ==== | ==== last_grace ==== | ||
Type: sint16 | Type: sint16 | ||
+ | |||
+ | Comment: As [[#last_sp]] , except for grace | ||
Meaning: | Meaning: | ||
+ | See also [[g#grace]] , skill [[:skills:praying]] | ||
==== last_heal ==== | ==== last_heal ==== | ||
Type: sint32 | Type: sint32 | ||
+ | |||
+ | Comment: Last healed. Depends on constitution | ||
Meaning: | Meaning: | ||
- | * for DISEASE, if 1 then this disease won't grant immunity when cured naturally | + | * for DISEASE, if '1' then this disease won't grant immunity when cured naturally. |
- | * for SPELL of type SP_RAISE_DEAD, if set then the spell can resurrect without a body. If 0 the body is required | + | * for SPELL of type SP_RAISE_DEAD, if set then the spell can resurrect without a body. If 0 the body is required. |
==== last_sp ==== | ==== last_sp ==== | ||
Type: sint32 | Type: sint32 | ||
+ | |||
+ | Comment: As [[#last_heal]] , but for spell points | ||
Meaning: | Meaning: | ||
Line 40: | Line 55: | ||
* 3: make all monsters fall asleep | * 3: make all monsters fall asleep | ||
* 4: charm all monsters | * 4: charm all monsters | ||
- | * new sp for praying skill when changing god? FIXME check what it means when praying | + | * for CHECK_INV, 0 means player must have object, else player must not have object. |
- | * for CHECK_INV, 0 means player must have object, else player must not have object | + | * for TRIGGER_ALTAR ?? |
- | * for healing, how many sp to regenerate | + | * FIXME |
- | * for TRIGGER_ALTAR ?? FIXME | + | * for DISEASEs, the SYMPTOM's last_sp |
- | * for DISEASEs, the SYMPTOM's last_sp FIXME | + | * FIXME |
- | * for objects being thrown, the max number of moves to exist | + | * for objects being thrown, the max number of moves to exist. |
- | * for monsters, regenerate sp | + | * for monsters, [[:characters:sp_regen|regenerate sp]] . |
+ | * for healing, how many sp to regenerate. | ||
+ | * new sp for [[:skills:praying]] skill when changing god? | ||
+ | * FIXME check what it means when praying | ||
Line 52: | Line 70: | ||
Type: sint16 | Type: sint16 | ||
- | Meaning: | + | Comment: Level of creature or object |
+ | |||
+ | Meaning: Mainly the skill level which a character has to have to successfully cast magic upon monster-with-level . | ||
==== lore ==== | ==== lore ==== | ||
Type: const char * (shared string) | Type: const char * (shared string) | ||
- | Meaning: Obscure information about this object, to get put into books and the like. | + | Comment: Obscure information about this object, to get put into books and the like. |
+ | Meaning: | ||
==== luck ==== | ==== luck ==== | ||
Line 64: | Line 85: | ||
Meaning: | Meaning: | ||
+ | |||
+ | See also [[:characters:luck]] | ||