Angband
Data Fields
ego_item Struct Reference

Information about ego-items. More...

#include <object.h>

Data Fields

struct ego_itemnext
char * name
char * text
u32b eidx
int cost
bitflag flags [OF_SIZE]
 Flags.
bitflag kind_flags [KF_SIZE]
 Kind flags.
random_value modifiers [OBJ_MOD_MAX]
int min_modifiers [OBJ_MOD_MAX]
struct element_info el_info [ELEM_MAX]
struct brandbrands
struct slayslays
int level
int rarity
int rating
int alloc_prob
int alloc_min
 Chance of being generated (i.e.
int alloc_max
 Minimum depth (can appear earlier)
struct ego_poss_itemposs_items
 Maximum depth (will NEVER appear deeper)
random_value to_h
random_value to_d
random_value to_a
int min_to_h
int min_to_d
int min_to_a
struct effecteffect
 Effect this item produces (effects.c)
char * effect_msg
random_value time
 Recharge time (rods/activation)
bool everseen

Detailed Description

Information about ego-items.

Field Documentation

int alloc_max

Minimum depth (can appear earlier)

Referenced by ego_find_random(), and parse_ego_alloc().

int alloc_min

Chance of being generated (i.e.

rarity)

Referenced by ego_find_random(), and parse_ego_alloc().

int alloc_prob

Referenced by parse_ego_alloc().

struct brand* brands
int cost

Referenced by parse_ego_info(), and test_info0().

struct effect* effect

Effect this item produces (effects.c)

Referenced by ego_apply_magic(), parse_ego_dice(), parse_ego_effect(), and rd_item().

char* effect_msg
u32b eidx
struct element_info el_info[ELEM_MAX]
bool everseen
bitflag flags[OF_SIZE]
bitflag kind_flags[KF_SIZE]
int level
int min_modifiers[OBJ_MOD_MAX]
int min_to_a
int min_to_d
int min_to_h
char* name
struct ego_item* next

Referenced by finish_parse_ego(), and parse_ego_name().

struct ego_poss_item* poss_items
int rarity
int rating

Referenced by parse_ego_info(), and test_info0().

struct slay* slays
char* text

Recharge time (rods/activation)

Referenced by ego_apply_magic(), and parse_ego_time().


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