Angband
Data Fields
pit_profile Struct Reference

Profile for choosing monsters for pits, nests or other themed areas. More...

#include <generate.h>

Data Fields

struct pit_profilenext
 
int pit_idx
 Index in pit_info. More...
 
const char * name
 
int room_type
 Is this a pit or a nest? More...
 
int ave
 Level where this pit is most common. More...
 
int rarity
 How unusual this pit is. More...
 
int obj_rarity
 How rare objects are in this pit. More...
 
bitflag flags [RF_SIZE]
 Required flags. More...
 
bitflag forbidden_flags [RF_SIZE]
 Forbidden flags. More...
 
bitflag spell_flags [RSF_SIZE]
 Required spell flags. More...
 
bitflag forbidden_spell_flags [RSF_SIZE]
 Forbidden spell flags. More...
 
struct pit_monster_profilebases
 List of vaild monster bases. More...
 
struct pit_color_profilecolors
 List of valid monster colors. More...
 
struct pit_forbidden_monsterforbidden_monsters
 Forbidden monsters. More...
 

Detailed Description

Profile for choosing monsters for pits, nests or other themed areas.

Field Documentation

int ave

Level where this pit is most common.

Referenced by build_nest(), build_pit(), parse_pit_alloc(), and set_pit_type().

struct pit_monster_profile* bases

List of vaild monster bases.

Referenced by cleanup_pits(), mon_pit_hook(), and parse_pit_mon_base().

struct pit_color_profile* colors

List of valid monster colors.

Referenced by cleanup_pits(), mon_pit_hook(), parse_pit_color(), and parse_pit_name().

bitflag flags[RF_SIZE]

Required flags.

Referenced by mon_pit_hook(), and parse_pit_flags_req().

bitflag forbidden_flags[RF_SIZE]

Forbidden flags.

Referenced by mon_pit_hook(), and parse_pit_flags_ban().

struct pit_forbidden_monster* forbidden_monsters

Forbidden monsters.

Referenced by cleanup_pits(), mon_pit_hook(), parse_pit_mon_ban(), and parse_pit_name().

bitflag forbidden_spell_flags[RSF_SIZE]

Forbidden spell flags.

Referenced by mon_pit_hook(), and parse_pit_spell_ban().

const char* name
struct pit_profile* next

Pointer to next pit profile

Referenced by finish_parse_pit(), lookup_pit_profile(), and parse_pit_name().

int obj_rarity

How rare objects are in this pit.

Referenced by build_nest(), build_pit(), and parse_pit_obj_rarity().

int pit_idx

Index in pit_info.

Referenced by finish_parse_pit(), and set_pit_type().

int rarity

How unusual this pit is.

Referenced by mon_restrict(), parse_pit_alloc(), and set_pit_type().

int room_type

Is this a pit or a nest?

Referenced by parse_pit_room(), and set_pit_type().

bitflag spell_flags[RSF_SIZE]

Required spell flags.

Referenced by mon_pit_hook(), and parse_pit_spell_req().


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