====== Arch Object attributes R == Object attributes beginning with the letter **r** . Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] . ===== List of attributes == ==== race ==== Type: const char * (shared string) Comment: Human, goblin, dragon, etc. Meaning: For "living" things. \\ For SPELL with SP_RAISE_DEAD subtype, if set, then this is the name of a treasurelist of possible races in which the character will be reincarnated into ==== randomitems ==== Type: treasureliststruct * Comment: Items to be generated Meaning: Object might provide items from a treasure list //randomitems TREASURELIST// . \\ Treasure lists are usually found in the file treasure [.trs] and sometimes in object_name.trs files in the arch package. \\ The file browser might display these **.trs** files as " Thrash " files ... ==== range ==== Type: sint8 Comment: Range of the spell Meaning: ==== range_modifier ==== Type: uint8 Comment: How going up in level effects range Meaning: ==== resist ==== Type: sint16[NROFATTACKS] Comment: Resistance adjustments for attack Meaning: See also [[a#attacktype]] === resist_acid === === resist_blind === === resist_cancellation === === resist_chaos === === resist_cold === === resist_confusion === === resist_counterspell === === resist_death === === resist_deplete === === resist_depletion === === resist_drain === === resist_electricity === === resist_fear === === resist_fire === === resist_ghosthit === === resist_godpower === === resist_holyword === === resist_magic === === resist_paralyze === === resist_physical === === resist_poison === === resist_slow === === resist_turn_undead === === resist_weaponmagic === ==== run_away ==== Type: uint16 Comment: Monster runs away if it's hp goes below this percentage. Meaning: ---- ====== Server struct obj {} object == These are not archetype attributes, but server internal variables. \\ Read more on the [[:dev:object_fields]] page. ==== resist ==== Type: sint16[NROFATTACKS] Comment: Resistance adjustments for attack Meaning: