====== Arch Object attributes L == Object attributes beginning with the letter **l** . Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] . ===== List of attributes == ==== last_anim ==== Type: uint8 Comment: Last sequence used to draw face Meaning: See also [[a#anim]] , [[a#animation]] ==== last_eat ==== Type: sint16 Comment: How long since we last ate Meaning: See also [[f#food]] ==== last_grace ==== Type: sint16 Comment: As [[#last_sp]] , except for grace Meaning: See also [[g#grace]] , skill [[:skills:praying]] ==== last_heal ==== Type: sint32 Comment: Last healed. Depends on constitution Meaning: * 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. ==== last_sp ==== Type: sint32 Comment: As [[#last_heal]] , but for spell points Meaning: * for MOOD_FLOOR, how to change the mood of a monster on it: * 0: furious--make all monsters mad * 1: angry -- get neutral monsters mad * 2: calm -- pacify unfriendly monsters * 3: make all monsters fall asleep * 4: charm all monsters * for CHECK_INV, 0 means player must have object, else player must not have object. * for TRIGGER_ALTAR ?? * FIXME * for DISEASEs, the SYMPTOM's last_sp * FIXME * for objects being thrown, the max number of moves to exist. * 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 ==== level ==== Type: sint16 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 ==== Type: const char * (shared string) Comment: Obscure information about this object, to get put into books and the like. Meaning: ==== luck ==== Type: sint8 Meaning: See also [[:characters:luck]]