Angband
Data Fields
object Struct Reference

#include <object.h>

Data Fields

struct object_kindkind
struct ego_itemego
struct artifactartifact
struct objectprev
struct objectnext
byte iy
byte ix
byte tval
byte sval
s16b pval
s16b weight
bitflag flags [OF_SIZE]
 Flags.
bitflag known_flags [OF_SIZE]
 Player-known flags.
bitflag id_flags [ID_SIZE]
 Object property ID flags.
s16b modifiers [OBJ_MOD_MAX]
struct element_info el_info [ELEM_MAX]
struct brandbrands
struct slayslays
s16b ac
s16b to_a
s16b to_h
s16b to_d
byte dd
byte ds
struct effecteffect
 Effect this item produces (effects.c)
char * effect_msg
struct activationactivation
 Artifact activation, if applicable.
random_value time
 Recharge time (rods/activation)
s16b timeout
byte number
byte marked
byte ignore
s16b held_m_idx
s16b mimicking_m_idx
byte origin
byte origin_depth
u16b origin_xtra
quark_t note

Field Documentation

s16b ac

Artifact activation, if applicable.

Referenced by activation_message(), copy_artifact_data(), rd_item(), and wr_item().

struct artifact* artifact
struct brand* brands
byte dd
byte ds
struct effect* effect
char* effect_msg
struct ego_item* ego
struct element_info el_info[ELEM_MAX]
bitflag flags[OF_SIZE]
s16b held_m_idx
bitflag id_flags[ID_SIZE]
byte ignore
byte ix
byte iy
struct object_kind* kind

Referenced by activation_message(), ammo_damage_power(), apply_autoinscription(), apply_magic(), black_market_ok(), brand_object(), breakage_chance(), calc_bonuses(), calc_mana(), chest_death(), combine_pack(), compare_items(), death_info(), describe_flavor_text(), do_cmd_buy(), do_cmd_equip(), do_cmd_inven(), earlier_object(), easy_know(), effect_handler_RECHARGE(), effects_power(), ego_find_random(), find_inven(), get_known_flags(), get_tag(), get_use_device_chance(), ignore_drop(), ignore_level_of(), ignore_type_of(), is_object_good(), make_artifact(), make_object(), map_info(), melee_effect_handler_DRAIN_CHARGES(), o_xattr(), o_xchar(), obj_can_browse(), obj_desc_combat(), obj_desc_get_basename(), obj_desc_name(), obj_known_blows(), obj_known_damage(), object_attr(), object_char(), object_desc(), object_effect_is_known(), object_flags_known(), object_flavor_aware(), object_flavor_is_aware(), object_flavor_tried(), object_flavor_was_tried(), object_ignore_flavor_of(), object_info_ego(), object_is_ignored(), object_list_entry_line_attribute(), object_list_format_name(), object_list_format_section(), object_list_should_ignore_object(), object_notice_attack_plusses(), object_notice_defence_plusses(), object_notice_on_wield(), object_prep(), object_pseudo(), object_stackable(), object_this_mod_is_visible(), object_value_base(), object_value_real(), player_pickup_aux(), rd_item(), rd_stores_aux(), recharge_objects(), show_obj_list(), store_carry(), store_display_entry(), store_find_kind(), store_maint(), store_will_buy_tester(), textui_browse_object_knowledge(), textui_cmd_ignore_menu(), track_object_kind(), use_aux(), wiz_dark(), wiz_display_item(), wiz_light(), wiz_reroll_item(), wiz_test_kind(), and wr_gear_aux().

bitflag known_flags[OF_SIZE]
byte marked
s16b mimicking_m_idx
s16b modifiers[OBJ_MOD_MAX]
struct object* next
quark_t note
byte number
byte origin
byte origin_depth
u16b origin_xtra
struct object* prev
s16b pval
struct slay* slays
byte sval
s16b timeout
s16b to_a
s16b to_d
s16b to_h
byte tval
s16b weight

The documentation for this struct was generated from the following file: